Tapestry Integration

To use it, call the component with '< t:kawwa2.rating t:ratingCriteria="currentCriteria" t:criteriaDefinition="getCriteriaDefinitionByRatingCriteria(currentCriteria)" t:renderMode="renderMode" />'.

There is parameters to call for the displayingform:

ProductGallery parameters

Name

Required

Java Type

Default Prefix

Default Value

Description

criteriaDefinition

true

CriteriaDefinition

prop

The CriteriaDefinition that will define the criteria displayed as the RadioGroup.

ratingCriteria

true

RatingCriteria

prop

The rating you want to be displayed. In case of a form, the value will be setted by the predefined field contained in the criteriaDefinition. In case of rendering, this value will be setted according to the OptionValue field of the ratingCriteria