Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
satellite:preference
Argument tag that prefixes argument names appropriately to ensure that they are treated by the portlet as preferences that should be set.
Syntax
<satellite:preference
name="
preference name
"
value="
preference value
condition="
<%=booleanCondition%>"
/>
Parameters
name (required)
- The name of the portlet preference to be set
value (required)
- The value of the preference
condition (optional)
- Boolean condition. If the expression evaluates to true, then the preference will be set. If it evaluates to false, the preference will be ignored. The default value is true.
Description
Argument tag that prefixes argument names appropriately to ensure that they are treated by the portlet as preferences that should be set. Content Server's base portlet class is responsible for setting portlet preferences.
errno
None
Example
This example shows how to construct a minimalist portlet URL that will set portlet preferences.
<satellite:link> <satellite:preference name="favouriteColour" value='<%=ics.GetVar("favouriteColour")%>' condition="<%=!"blue".equalsIgnoreCase(ics.getVar("favouriteColour"))%>"/> </satellite:link>See Also
satellite:link
satellite:parameter
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.