Home > Contents > 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="
conditional=expression
"/>
Parameters
name (required)
- The name of the portlet preference to be set
value (required)
- The value of the preference
condition (optional)
- String condition of the form foo=bar. 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. Sites’s base portlet class is responsible for setting portlet preferences.
Error Numbers
There are no possible
errno
for this tag.Example
This example shows how to construct a minimalist portlet URL that will set portlet preferences.
<satellite.link> <satellite.preference name="favouriteColour" value="Variables.favouriteColour" condition="IsVariable.favouriteColour!=blue"/> </satellite.link>See Also
satellite.link
satellite.parameter
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.