<templateLibrary>要素 |
![]() |
ネームスペース: | http://xmlns.oracle.com/uix/ui |
派生元: | <ui:template>要素 |
グループ: | UIX Components |
要素の型: | Template |
構文 |
![]() |
<templateLibrary> <!-- The following child can be anything derived from the given element --> <template></template> </templateLibrary>
説明 |
![]() |
<templateLibrary>要素を使用すると、1つの<templateImport>によりテンプレートの集合全体をインポートできます。 <templateImport>要素で<templateDefinition>要素を含む .uitファイルをポイントするかわりに、<templateLibrary>要素をルートとして含む .uitファイルを使用します。 <templateLibrary>要素には、<templateImport>要素とインラインの<templateDefinition>要素の両方を含めることができます。
例 |
![]() |
<!-- File library.uit -->
<templateLibrary xmlns="http://xmlns.oracle.com/uix/ui">
<templateImport source="firstTemplate.uit"/>
<templateImport source="secondTemplate.uit"/>
<templateDefinition .../>
...
</templateDefinition
</templateLibrary>
<!-- File somePage.uix -->
<page ...>
<templates xmlns="http://xmlns.oracle.com/uix/ui">
<templateImport source="templates/library.uit"/>
</templates>
...
</page>
子要素 |
![]() |
|