Pathways Tags for Adaptive Layout
Tag viewsdata


Generates the data collection needed to show a list of views defined in Pathways, 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 results.

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

<pt:pathways.viewsdata pt:id="pathwaysviews"/>
<pt:logic.foreach pt:data="pathwaysviews" pt:var="view">
<pt:logic.value pt:value="$view.name"/> - <pt:logic.value pt:value="$view.viewid"/>
</pt:logic.foreach>


Tag Information
Tag Nameviewsdata

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.