alloy:selectStarRating

SelectStarRating is a UISelectOne component that renders a set of stars. The user can click on a star to select a rating and click on the same star a second time to de-select a rating. Since it extends HtmlSelectOneRadio, it accepts f:selectItem or f:selectItems as child tags.

Default Value Usage

A default value can be specified using one of two ways:

3

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20