Wicket
  1. Wicket
  2. WICKET-3478

Allow for dynamic prefix and suffixes in CheckBoxMultipleChoice

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.16
    • Fix Version/s: 1.5-RC6
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      All

      Description

      Currently, CheckBoxMultipleChoice has support for a prefix and a suffix to be defined for each choice being rendered. However, there is no way to change them based on the item being rendered. A possible use case is in case some data needs to be used in either the suffix or prefix for Ajax or other javascript related use.

      Please consider adding
      getPrefix(int index, T choice), and getSuffix(int index, T choice) methods to this component and using them instead of getPrefix() and getSuffix() within the onComponentTagBody method.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Juergen Donnerstag
            Reporter:
            Rahul Pilani
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development