AquaLogic User Interaction Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Accessing Resource Data Using Ensemble Adaptive Tags

The pt:ensemble.resourcedata tag stores data for a specific Ensemble resource, if available, in memory as a data object.

The data object contains 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.
<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"/>

  Back to Top      Previous Next