Ensemble Tags
Tag resourcedata


This stores data for a specific Ensemble resource, if available, in memory as a data object containing information about the resource (name, description, urlprefix, secureurlprefix) accessible through the data object dot notation ($resource.name).. If the resource does not have a description, urlprefix, or secureurlprefix, the data will not be available. This can be checked using the logic.containsexpr tag.

Example:
<pt:ensemble.resourcedata pt:name="Welcome Resource" pt:key="resource"/>
<pt:logic.value pt:value="$resource.name"/>
<pt:logic.value pt:value="$resource.description"/>
<pt:logic.value pt:value="$resource.urlprefix"/>
<pt:logic.value pt:value="$resource.secureurlprefix"/>


Tag Information
Tag Nameresourcedata

Attributes
NameTypeRequiredDefault ValueDescription
namestringtruenullThe Ensemble resource name. The name is not case-sensitive.
keystringtruenullThe key used to store the resource data in memory.
scopescopefalseportlet requestThe scope used to store the resource data in memory. See the Logic Tag Library description for more details about valid scope arguments.


Copyright 2005 Plumtree Software, Inc.