Portlet Preferences
Tag getPreferences


Description

Returns all the values of a given preference. Use this tag to get all the values of a preference, given the name of the preference. The tag may also supply a default value for the value of the tag. If the named preference does not exist, this tag returns the supplied default value.


Tag Information
Tag Classcom.bea.portlet.prefs.jsp.tags.GetPreferencesTag
TagExtraInfo Classcom.bea.portlet.prefs.jsp.tags.GetPreferencesTagExtraInfo
Body ContentJSP
Display NameGet Preferences

Attributes
NameRequiredRequest-timeDescription
nametruetrue Name of the preference.
defaultValuefalsetrue Default value of the preference. If the given preference has no value, returns the default value. If the default value is not specified, uses an empty string as the default. Multiple default preference values may be specified as values separated by the given separator. For instance, if a preference has two values "blue" and "black", this attribute may be specified as "blue,black" with the separator as ",", or "blue</td>><td>black" with the separator as "</td>><td>".
varfalsetrue Variable to assign the value to. This tag sets a java.lang.String[] value in the PageContext with the given var name. If this attribute is not set, writes the value of the preference to the underlying response with the values separated by the separator.
separatorfalsetrue If a defaultValue is specified, specify this value as the separator separating the multuple values. If the var is not specified, the separator is used to separate multiple values.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator.

Copyright © 2008 BEA Systems, Inc. All Rights Reserved.