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