Properties for the tag widget
View the properties for the tag widget.
Note: The parameters listed here are specific to the inline tag widget that was introduced with HCL WebSphere Portal v8.5. For information about the earlier widgets and their parameters, read the appropriate topics in the HCL WebSphere Portal v8.0 product documentation.
Related reference
- com.ibm.wps.cp.tagging.inline.countsEnabled = (false)
- Specify whether the count of each community tag is displayed. The count shows how often the tag was applied by users. The default value is false. To have the count of each community tag that is displayed, specify true. The count is then displayed in parentheses.
- com.ibm.wps.cp.tagging.inline.customLabel
- Specify a non-localized custom label to describe the displayed tags. If we do not want any further labeling or if we want to keep the label short, we can specify an empty string. This property has no default value.
- com.ibm.wps.cp.tagging.inline.customMessageNoTags
- Specify a non-localized custom label that we want to be displayed if no tags are available. This case can occur when users did not assign tags to the piece of content yet. Non-localized means that the label does not change with the browser language. This property has no default value.
- com.ibm.wps.cp.tagging.inline.maxResults = (5)
- Specify the number of tags that are shown per resource. The default value is 5.
- com.ibm.wps.cp.tagging.inline.order = (DESC)
- Specify the order direction for displaying the tags. This property is related to the property com.ibm.wps.cp.tagging.dialog.orderMetric listed later. Specify one of the following values:
- DESC
- This value is the default value. It specifies descending order. For example, when the default TAG_SPACE_COUNT_REVERSE_NAME is specified for the orderMetric property, tags with the highest count and the lowest character in the alphabet are listed first.
- ASC
- This value specifies ascending order. For example, if the order metric property is specified as orderMetric = TAG_SPACE_COUNT, tags with the lowest count are listed first.
- com.ibm.wps.cp.tagging.inline.orderMetric = (TAG_SPACE_COUNT_REVERSE_NAME)
- Specify the order metric for the order by which the tags are displayed. To determine the actual order, use the property com.ibm.wps.cp.tagging.dialog.order . The default value is TAG_SPACE_COUNT_REVERSE_NAME. This default means that tags are shown first by the tag count, with resources with more tags shown before resources with fewer tags, then, if resources have the same number of tags, alphabetically. Specify one of the following values:
- TAG_SPACE_COUNT_REVERSE_NAME. This value is the default value.
- TAG_SPACE_NAME
- TAG_SPACE_COUNT
- TAG_SPACE_CREATION_DATE
- TAG_SPACE_LAST_MODIFIED_DATE
- TAG_SPACE_COUNT_NAME
For more details, read the class com.ibm.portal.cp.Constants.OrderMetric in the HCL WebSphere Portal Javadoc and to the Inline tag widget parameter reference in this documentation.
- com.ibm.wps.cp.tagging.inline.privateTaggingEnabled = (false)
- Use this parameter to enable private tagging. To do so, specify the PERSONAL_PRIVATE scope for the tags that we want to show in this inline widget. The default value is false.
- com.ibm.wps.cp.tagging.inline.showDialogLauncher = (true)
- Use this property to control whether a plus ( + ) sign for starting the corresponding dialog widget is shown. The default is true.
Note: This property applies only in case of Dojo based inline tagging widgets.
- com.ibm.wps.cp.tagging.inline.tagClickActionMode = (TAG_CENTER)
- Determine what happens when a user clicks a tag. Specify one of the following values:
- TAG_CENTER
- With this value, the widget redirects the user to the tag center. This value is the default value.
- PUBLIC_RENDER_PARAMETER
- With this value, the widget shows a public render parameter with the tag name.
Related information