+

Search Tips   |   Advanced Search

Properties for the tag widget

View the properties for the tag widget.

The parameters listed here are specific to the inline tag widget that was introduced with IBM WebSphere Portal v8.5. For information about the earlier widgets and their parameters, read the appropriate topics in the WebSphere Portal v8.0 product documentation.

    com.ibm.wps.cp.tagging.inline.countsEnabled = (false)
    Whether the count of each community tag is displayed. The count shows how often the tag was applied by users. Default is false. To have the count of each community tag 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 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 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 the label does not change with the browser language. This property has no default value.

    com.ibm.wps.cp.tagging.inline.maxResults = (5)
    Number of tags 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
      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
      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. 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 portal Javadoc and to the Inline tag widget parameter reference in this documentation.

    com.ibm.wps.cp.tagging.inline.privateTaggingEnabled = (false)
    Enable private tagging. To do so, specify the PERSONAL_PRIVATE scope for the tags to show in this inline widget. Default is false.

    com.ibm.wps.cp.tagging.inline.showDialogLauncher = (true)
    Control whether a plus ( + ) sign for starting the corresponding dialog widget is shown. The default is true.

    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. Default value.

      PUBLIC_RENDER_PARAMETER
      With this value, the widget shows a public render parameter with the tag name.


Parent CP Configuration Service for tagging and rating

Related concepts:

The tag widget

Related reference:

Tag widget parameter reference


Related information


IBM WebSphere Portal V 8 Product Documentation