Wicket
  1. Wicket
  2. WICKET-4876

CheckBoxMultipleChoice should implement getAdditionalAttributes as RadioChoice

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.2.0
    • Fix Version/s: 6.4.0
    • Component/s: wicket
    • Environment:
      Ubuntu 12.10
      Linux 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
      Firefox 16.0.2

      Description

      Today there is no way to add additional attributes to each checkbox in CheckBoxMultipleChoice, the only way is to override the entire appendOptionHtml and copy the entire original source code and in that add your additional attribute.

      A much better way is to have Wicket provide a extension hook like org.apache.wicket.markup.html.form.RadioChoice.getAdditionalAttributes(int, T).

        Activity

        Sven Meier made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Sven Meier [ svenmeier ]
        Fix Version/s 6.4.0 [ 12323450 ]
        Resolution Fixed [ 1 ]
        Magnus K Karlsson created issue -

          People

          • Assignee:
            Sven Meier
            Reporter:
            Magnus K Karlsson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 4h
              4h
              Remaining:
              Remaining Estimate - 4h
              4h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development