Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4876

CheckBoxMultipleChoice should implement getAdditionalAttributes as RadioChoice

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.2.0
    • 6.4.0
    • wicket
    • 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).

      Attachments

        Activity

          People

            svenmeier Sven Meier
            magnus.k.karlsson Magnus K Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 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