Portlet Page Editor Tags for Adaptive Layout
Tag portletdata


These tags are only available on the Portlet Selection layout, which applies to the DHTML flyout for adding portlets to a page.Generates the data required to show a list of portlets for the page editor and stores it in memory using the variable name specified by the id attribute. Each result is a DataObject with the following variables:
Use tags from the Logic library to iterate over the list and display the results.
NOTE: This tag and the sortpropertiesdata tag must be displayed before other portletpageeditor tags so the page can be initialized properly.

Example:
This simple example loops through results and shows the name for each result.

<pt:portletpageeditor.portletdata pt:id="portlets"/><pt:logic.foreach pt:data="portlets" pt:var="portlet"> <pt:logic.value pt:value="$portlet.name"/>
</pt:logic.foreach>


Tag Information
Tag Nameportletdata

Attributes
NameTypeRequiredDefault ValueDescription
idstringtruenullThe name of the variable in memory where the DO data created by this tag is stored. Specify this ID in the data attribute (most commonly the DATAVAR attribute) for any display tag consuming DO data. Multiple data tags can share the same ID, in which case they are added to a list in the order they were processed.
scopestringfalseportlet requestThe scope used to store the data. See the Logic tag library for a list of all available scopes.


Copyright 2005 Plumtree Software, Inc.