このトピックでは、contentContainerコンポーネントの中に項目のスタイルが設定されたリストを作成するステップについて説明します。
contentContainerを作成するには、次のようにします。
「pageLayout」ノードが表示されない場合は、「page」->「content」->「dataScope」->「document」->「body」->「form」と開きます。「end」ノードは、「pageLayout」の「pageLayout-名前付きの子」の下にあります。
構造ウィンドウで、新規の「contentContainer」ノードが挿入され、強調表示されます。プロパティ・インスペクタで、新規コンポーネントのプロパティが表示されます。
「styledList」ノードが、展開された「contentContainer」ノードに挿入されます。
「styledItem」ノードが、展開された「styledList」ノードに挿入されます。
「link」ノードが設計構造ウィンドウに挿入され、強調表示されます。プロパティ・インスペクタには、linkコンポーネントのプロパティが表示されます。
項目は水平方向に並んで表示されます。最初の項目の番号は0、2番目の項目の番号は1というように続きます。
注意: データ・バインディングを使用するには、「コンポーネント属性のデータ・バインディング」を参照してください。
...
<pageLayout>
<!-- Use end to insert content container -->
<end>
<contentContainer text="Put title here"
background="medium"
icon="images/info.gif"
width="25%">
<contents>
<styledList listStyle="circle" selectedIndex="0">
<contents>
<styledItem>
<contents>
<link text="Code Samples" destination="http://www.oracle.com"/>
</contents>
</styledItem>
<styledItem>
<contents>
<link text="Documentation" destination="http://www.oracle.com"/>
</contents>
</styledItem>
</contents>
</styledList>
</contents>
</contentContainer>
</end>
<!-- REST OF PAGE LAYOUT -->
</pageLayout>
...
contentContainerについて
pageLayoutおよび名前を付けられたその子について
styledListとstyledItemを使用した階層リストの作成
styledListとstyledItemを使用したリストの作成
pageLayoutとその名前付きの子の使用
Copyright © 1997, 2004, Oracle. All rights reserved.