Magnus K Karlsson created WICKET-4876:
-----------------------------------------
Summary: CheckBoxMultipleChoice should implement
getAdditionalAttributes as RadioChoice
Key: WICKET-4876
URL: https://issues.apache.org/jira/browse/WICKET-4876
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 6.2.0
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
Reporter: Magnus K Karlsson
Priority: Minor
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).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira