Portlet Page Tags for Adaptive Layout
Tag portletpreferencesdata


Sets PTURL DO data on the scope specified with List of URLs to portlet preferences of portlet specified by datavar.

This URL contains the following standard URL components: title, url, uri, img, imgheight, imgwidth and params.
In addition, the name of each parameter in the query string of the URL in the link is also a valid component key. So param1 could be used as a key to retrieve the value of the query string parameter param1=value1. For instance, if the url is http://...server.pt?open=518&objID=58411... you can get the objid data as a name/value pair stored under objid (all lower case).


Tag Information
Tag Nameportletpreferencesdata

Attributes
NameTypeRequiredDefault ValueDescription
datavarstringtruenullThe key to the tag memory variable with portlet data to display. The data is set by portletpage.portletregiondata and other similar data tags. This tag is also able to display a single portlet in a collection of portlet data. Use the pt:colindex attribute to specify the index in the collection.
colindexintfalse0Used to get portlet data from a specific index in a collection if the pt:datavar attribute references a portlet data collection instead of a single portlet. The default value is 0 (the first entry in the collection). The value of this attribute is ignored if pt:datavar refers to a single portlet data IDataObject. Use this tag together with the logic.foreach tag to iterate over all portlets in a collection and display them all.
scopestringfalseportlet requestThe scope used to retrieve the datavar collection. See the Logic tag library for further information on scope.
storescopestringfalseportlet requestThe scope used to store the data collection. See the Logic tag library for further information on scope.
idstringtruenullName of the variable in memory where the PTURL 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 PTURL 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.


Copyright 2005 Plumtree Software, Inc.