resources - リソース

ページのリソースを指定します。

カテゴリ

basics

構文

<xp:this.resources>
	<xp:bundle attributes>content</xp:bundle>|
	<xp:dojoModule attributes>content</xp:dojoModule>|
	<xp:headTag attributes>content</xp:headTag>|
	<xp:linkResource attributes>content</xp:linkResource>|
	<xp:metaData attributes>content</xp:metaData>|
	<xp:script attributes>content</xp:script>|
	<xp:styleSheet attributes>content</xp:styleSheet>
	...
</xp:this.resources>

使用法

設計モードで、[プロパティ] の下の [リソース] タブをクリックするか、[すべてのプロパティ] をクリックし、[basics] の下の [resources] を探します。

リソースは、Dojo モジュール (dojoModule)、JavaScript ライブラリ (xp:script)、リンク付きリソース (xp:linkResource)、メタデータ (xp:metaData)、リソースバンドル (xp:bundle)、スタイルシート (xp:styleSheet)、属性 (headTag) のいずれかになります。