[ https://issues.apache.org/jira/browse/WICKET-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500265 ]
Tim Schafer commented on WICKET-601: ------------------------------------ Same problem with CheckBoxMultipleChoice > RadioGroup and CheckGroup cause XHTML validation errors because of name > attribute > --------------------------------------------------------------------------------- > > Key: WICKET-601 > URL: https://issues.apache.org/jira/browse/WICKET-601 > Project: Wicket > Issue Type: Bug > Components: wicket > Reporter: Andrew Lombardi > > When using RadioGroup's or CheckGroup's, they usually are enclosed in a > <span> or similar non-block element. Ordinarily you can just render the > body, but if you're using ajax on the radio/check inside, you can't do that. > This causes an XHTML validation error since span doesn't have a name > attribute, neither does div, etc. What I've done in my code is the following: > protected void onComponentTag(final ComponentTag tag) { > super.onComponentTag(tag); > tag.remove("name"); > } > This makes the page validate now, thoughts? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.