[ http://issues.apache.org/jira/browse/TOMAHAWK-463?page=comments#action_12414490 ]
Grant Smith commented on TOMAHAWK-463: -------------------------------------- Unfortunately HtmlResponseWriterImpl has changed quite a bit since 1.1.2. Could you have a look at the current svn head and see if it still makes sense to add the attribute from there ? I suspect HtmlRadioRendererBase is actually where we should be fixing this. > for attribute not rendered on radio buttons > ------------------------------------------- > > Key: TOMAHAWK-463 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-463 > Project: MyFaces Tomahawk > Type: Bug > Components: selectOneRadio / radio > Versions: 1.1.2 > Environment: n/a > Reporter: Russell Loewen > Assignee: Grant Smith > Priority: Minor > > SelectOneRadio doesn't render the "for" attribute on the label tag it creates > beside the radio button. The net effect is that on Internet Explorer the > user is not able to click on the label text to select the radio item. It's > arguable that this is IE's problem for not supported the parent-child > relationship between the label tag surrounding the radio button, but the for > attribute is a clearer association anyhow. > I believe that the following could fix the problem. > org.apache.myfaces.shared_impl.renderkit.html.HtmlResponseWriterImpl.class > after Line 163, insert: > _writer.writeAttribute(HTML.FOR_ATTR, > uiComponent.getClientId(facesContext), null); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
