includeコンポーネントを使用してUIX XMLコンテンツを挿入するには、次のようにします。
「include」ノードが、展開された親ノードに挿入され、強調表示されます。
includes/gbInclude.uix
を入力します。
注意: データ・バインディングの使用は、「コンポーネント属性のデータ・バインディング」を参照してください。
...
<pageLayout title="">
...
<globalButtons>
<include node="gbInclude.uix"/>
</globalButtons>
...
<contents>
<!-- Define the main content of the page here -->
</contents>
</pageLayout>
...
これはインクルード・ファイルgbInclude.uix
です。
<?xml version="1.0" encoding="windows-1252"?>
<globalButtonBar xmlns="http://xmlns.oracle.com/uix/ui">
<contents>
<globalButton text="Help" source="images/help.gif"/>
</contents>
</globalButtonBar>
これはデータ・バインディングをincludeコンポーネントで使用する例です。
...
<globalButtons>
<include node="${uix.data.someSource.gbInclude}"/>
</globalButtons>
...
includeについて
servletIncludeについて
urlIncludeについて
servletIncludeを使用したJSPとサーブレットの挿入
urlIncludeを使用したHTMLコンテンツの挿入
includeコンポーネントの使用
Copyright © 1997, 2004, Oracle. All rights reserved.