| |||||||
FRAMES NO FRAMES |
id
attribute. Each result is a DataObject with the following variables:name
- The name of the portlet.description
- The description of the portlet.id
- The portlet ID.isonpage
- True if the portlet is on the current page.type
- The portlet type (narrow, wide, or bundle), used as the div style class suffix and passed in to the preview javascript function.previewenabled
- True if preview is enabled for this portlet.invitationid
- The ID to be used in the invitation javascript function. Invitation is disabled if this is -1.lastmodified
- The last modified date of the portlet.mandatory
- True if the portlet is mandatory for the current page.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 Name | portletdata |
Attributes | ||||
Name | Type | Required | Default Value | Description |
id | string | true | null | The 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. |
scope | string | false | portlet request | The scope used to store the data. See the Logic tag library for a list of all available scopes. |
| |||||||
FRAMES NO FRAMES |