Page History
タブ・ページ・ウェブレットを使用するには、LANSAエディターでWebroutineを開いて、以下の手順に従ってください。
- [ウェブレット テンプレート]タブをクリックし、上にあるドロップダウン・リストから[標準ウェブレット]を選択、[タブ ページ]ウェブレットを見つけてください。
- [デザイン]ビューでページ上にウェブレットをドラッグ・アンド・ドロップします。ページ上のウェブレットを選択してから、[詳細]タブをクリックするのを忘れないでください。
- tabsプロパティの横にある省略記号(...)のボタンをクリックし、タブ・アイテム・デザイナを開いてタブの定義をしてください。終了したら、OKをクリックし、タブ・アイテム・デザイナを閉じてください。
- [デザイン]ビューで最初のタブをクリックして、そのページをアクティブ化させます。
- 別の場所からコンテンツを切り取って、Webページに貼り付けたり、タブ・ページ上にフィールドやウェブレットをドラッグ・アンド・ドロップして、タブ・ページにコンテンツを追加します。複数のフィールドを追加する場合は、このフィールドを入れるテーブルを追加してから始めます。そのためにはタブページで右クリックして、[HTMLの挿入]をクリックし、表示されたポップアップ・メニューから[Table]を選択してください。
- 他のWebroutineにより提供されるコンテンツをタブ・ページに表示したい場合は、ナビゲーション・パネルを追加し、そのプロパティを設定します。これは以下の手順に従ってください。
- [ウェブレット テンプレート]タブをクリックし、上のドロップダウン・リストから[標準ウェブレット]を選択、[ナビゲーション パネル]ウェブレットを見つけてください。
- [デザイン]ビューでページ上にウェブレットをドラッグ・アンド・ドロップします。タブ・ページ上のナビゲーション・パネル・ウェブレットを選択してから、[詳細]タブをクリックするのを忘れないでください。
- nav_wamnameプロパティとnav_wrnameプロパティ(もしくはnav_urlプロパティ)を設定して、コンテンツを提供するWebroutine(もしくはURL)が識別できるようにします。wait_contentプロパティおよびこれに関連するプロパティなど、ナビゲーション・パネルのその他のプロパティを設定する必要がある場合もあるでしょう。
- [ウェブレット テンプレート]タブをクリックし、上のドロップダウン・リストから[標準ウェブレット]を選択、[ナビゲーション パネル]ウェブレットを見つけてください。
- タブ・ページ・ウェブレットに定義した各タブについて、ステップ4以降を繰り返します。
| Note |
|---|
注意:Internet Explorerの現バージョンのバグにより、空のタブのコンテンツ・エリアの周辺の枠線が表示されません。Internet Explorerでのこの動作を防ぐ為に、タブが空にならないようにしてください。 |
To use the Tab pages weblet, open your webroutine in the LANSA Editor and follow these steps:
1. Click on the Weblets tab, select Standard Weblets from the drop-down list near the top and locate the Tab pages weblet.
2. Drag and drop the weblet onto your page in the Design view Make sure the weblet on the page is selected and then click on the Details tab.
3. Click the ellipsis button next to the tabs property to open the tab items designer and define your tabs Click OK to close the tab items designer when complete.
4. In the Design view, click on your first tab to activate its page.
5. Add content to the tab page by cutting and pasting content from elsewhere on your web page or by dragging and dropping fields and/or weblets onto the tab page If you will be adding several fields you may wish to begin by adding a table to contain them – to do so, right-click in the tab page and select Insert, Table from the pop-up menu.
6. If you prefer that your tab page displays content provided by another webroutine, then you need to add a navigation panel and set its properties To do so follow these steps:
a. Click on the Weblets tab, select Standard Weblets from the drop-down list near the top and locate the Navigation panel weblet.
b. Drag and drop the weblet onto your tab page in the Design view Make sure the Navigation panel weblet on the tab page is selected and then click on the Details tab.
c. Set the nav_wamname and nav_wrname properties (or the nav_url property) to identify the webroutine (or url) that provides the content You may wish to set other properties for the Navigation panel such as the wait_content and related properties.
7. Repeat from step 4 for each tab that you have defined in your tab pages weblet.
| Note |
|---|
| Note: A bug in current versions of Internet Explorer causes the border to disappear from around the content area of empty tabs. To prevent this behaviour in Internet Explorer, make sure all your tabs contain something. |