Properties for the rating widget
View the properties for the rating widget.
Note: The parameters listed here are specific to the inline rating 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.
If you do not specify a value, the property defaults to COMMUNITY_PERSONAL_PUBLIC.
- com.ibm.wps.cp.rating.inline.customLabel
- Specify a non-localized custom label to describe the displayed ratings. This property has no default.
- com.ibm.wps.cp.rating.inline.numStars = (5)
- Specify the number of stars or asterisks of which a rating consists. Specify a positive numeric value. The default value is 5. Do not specify a value larger than the value specified for the property com.ibm.wps.cp.rating.maxratingvalue in the WP CP configuration service for tagging and rating. For more information about this property, read General properties for tagging and rating.
- com.ibm.wps.cp.rating.inline.privateRatingEnabled = (false)
- Use this parameter to enable private rating. To enable private rating, set this parameter to true. The default value is false.
- com.ibm.wps.cp.rating.inline.ratingScope = (COMMUNITY_PERSONAL_PUBLIC)
- Specify the scope of ratings that we want to show in this inline widget. Specify one of the following values:
COMMUNITY_PERSONAL_PUBLIC|PERSONAL_PUBLIC|PERSONAL_PRIVATE
com.ibm.wps.cp.rating.inline.ratingDesc
Specify the rating description that we want to show in this rating widget. By default, this property is not part of the rating widget. If you add this property to the rating widget, the default value is ALL. Specify one of the following values: Related reference
- RATING_VALUE
- With this value, the rating description includes only the numerical rating value.
- TOTAL_NO_RATING
- With this value, the rating description includes only the total number of ratings assigned.
- ALL
- With this value, the rating description includes both the numerical rating value and the total number of ratings. This is the default value if you add the com.ibm.wps.cp.rating.inline.ratingDesc property to the rating widget.
- NONE
- If we do not specify a value, the rating description is not displayed at all.
Related information