| |||||||
FRAMES NO FRAMES |
id
attribute. Each result is a DataObject with the following variables:name
- The name of the community.description
- The description of the community.id
- The community ID.isalreadyjoined
- True if the user has already joined the community.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 community.mandatory
- True if the community is mandatory for the user.This simple example loops through results and shows the name for each result.
<pt:joincommunitypageeditor.communitydata pt:id="communities"/><pt:logic.foreach pt:data="communities" pt:var="community"> <pt:logic.value pt:value="community.name"/>
</pt:logic.foreach>
Tag Information | |
Tag Name | communitydata |
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 |