RatingIndicator Events

  • onRate

    Assignment of the action to be executed when the user has entered a rating.

    If this event is bound, a roundtrip is triggered automatically, which means that the value entered by the user is set, and is visualized by the icon referenced in property fullItemIconSource.

    If this event is not bound, the value is not set and the rating units are visualized only with the icon referenced in hoverItemIconSource.

    Parameter Name Type Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    VALUE

    F Value entered by the user.

    You can use this event parameter, for example, to query submitted user ratings and calculate and display the average user rating.