+

Search Tips   |   Advanced Search

Parameter reference for the tag and rating widgets


Configure parameters for the tag and rating widgets

Set global tag and rating widget parameters in the CP configuration service. Instance settings become effective for the affected widget instance, and override the settings in the CP configuration service for the individual widget.

Settings specified for an individual tagging or rating widget instance take highest priority. If a parameter is not set for the individual widget instance, the settings specified in the CP Configuration Service takes effect. If a parameter is not set by either of the two previous options, the default value defined in the widget class itself takes effect.

For example, if in the CP Configuration Service the attribute for private tagging is set to false:

...and the tag widget ABC instance includes the attribute...

...all tag widgets in the portal have private tagging disabled except tag widget ABC.

Most of the parameters exist as corresponding sibling parameters that we can set both globally in the CP Configuration Service and for individual widget instances and in the code. The parameter in the CP Configuration Service consists of the prefix com.ibm.wps.cp. and the related parameter for configuring widget instances. Example:

Parameter in CP Configuration Service com.ibm.wps.cp.tagging.dialog.maxPersonalTags
Parameter for individual tag widget instance tagging.dialog.maxPersonalTags

Some of the parameters have no corresponding siblings and exist only for one of the two ways of configuring them. The parameters that exist only for configuring widget instances are mandatary, as they identify the resource for which the widget is called.

The references show the parameters with their default if they have one. In these cases the parameters are shown with an equal sign between the parameter and the value. This is how we specify the setting when you include the widget declaratively. If you include the widget programmatically, use a colon instead of the equal sign.


References


Parent: Configuration reference
Related: Set service configuration properties
CP Configuration Service for tagging and rating
Configure the tag cloud
How tagging and rating works in the portal