<context-image>要素 |
![]() |
ネームスペース: | http://xmlns.oracle.com/uix/ui/laf |
構文 |
![]() |
<context-image
uri="anyURI"
[ height="positiveInteger" ]
[ rtl-uri="anyURI" ]
[ styleClass="string" ]
[ width="positiveInteger" ] > <!-- The following child can be anything derived from the given element --> <inlineStyle></inlineStyle> </context-image>
説明 |
![]() |
<context-image>要素は、コンテキスト相対URIで指定したイメージ・アイコンを登録します。 サーブレットのコンテキスト・パスが、uri属性で指定したURIに自動的に追加されます。
例 |
![]() |
次の例では、コンテキスト相対イメージ・アイコンを登録する方法を示します。
<!-- Replace the error icon with a context-relative
icon. -->
<icon name="ui:error">
<context-image uri="images/laf/custom/error.gif"/>
</icon>
属性 |
![]() |
子要素 |
![]() |
|