Alloy Showcase

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.

General Usage

There are two basic ways to bind the value attribute this component to a model bean property:

Source Code

Liferay Faces Alloy 3.0.1 + Liferay Faces Bridge Implementation 4.1.0 + Showcase Common 3.0.1 + Liferay Faces Util 3.1.0 + Mojarra 2.2.14