==== Controller for StarRating ==== The StarRatingController is build around a specific control created for Adichatz. This is a FieldController that means that it can be linked to the databinding service. ==== Control ==== The control org.adichatz.engine.widgets.MultiChoice was developped by Adichatz based on [[https://github.com/lcaron/opal/tree/master/src/main/java/org/mihalis/opal/starRating|Laurent Caron's work]].\\ The MultiChoice class represents a selectable user interface object that combines a read-only text-field and a set of checkboxes accessible thru a popup window. * determine the number of columns in choices list. * Set tool bar. * Set popup window size. ==== Usage: ==== == Code == == Overview == {{:controllers:starrating.png |Display number value as a result of stars}}

**Explanations** |< 100% 10em - >| ^maxNumberOfStars="5":|@#eff5fb:Number of displayed star (5 means user can choose a value between 1 and 5).| ^numericPattern="#.##":|@#eff5fb:A formatted text is displayed with the specified format (numericPattern).|