[ 
https://issues.apache.org/jira/browse/WICKET-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alastair Maw updated WICKET-601:
--------------------------------

    Fix Version/s: 1.3.0-rc1

> 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
>             Fix For: 1.3.0-rc1
>
>
> 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.

Reply via email to