[ https://issues.apache.org/jira/browse/MYFACES-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244756#comment-16244756 ]
Thomas Andraschko commented on MYFACES-4169: -------------------------------------------- analyzed it and it think it needs a partial rewrite for the group feature a number on the id should be completely ignored actually the logic is quite simple: - check if group is defined - if yes, collect all selectOneRadio, under the parent namingcontainer, with the same group - get the selectItems - get the index for the current rendered selectOneRadio in all selectOneRadio - get the current selectItem via the index - now render the current selectOneRadio clientId = always the current selectOneRadio clientId name = namingcontainer + : + group value = clientId + : + itemValue > selectOneRadio does not work properly in JSF 2.3 > ------------------------------------------------ > > Key: MYFACES-4169 > URL: https://issues.apache.org/jira/browse/MYFACES-4169 > Project: MyFaces Core > Issue Type: Bug > Components: JSR-372 > Affects Versions: 2.3.0-beta > Reporter: Paul Nicolucci > Fix For: 2.3.0 > > Attachments: JSF23SelectOneRadioGroup.war > > > I was testing out the new group attribute on the <h:selectOneRadio/> > component and found that it does not look to work in all scenarios: > I've provided a test application to shows a working scenario and then > multiple scenarios that I think should work but don't. > The app can be deployed on tomcat. > You can drive a request to the index page which will contain the links what > doesn't work: > http://localhost:8080/JSF23SelectOneRadioGroup/index.xhtml > Or you can directly verify what does not work by sending requests to: > localhost:8080/JSF23SelectOneRadioGroup/error.xhtml > localhost:8080/JSF23SelectOneRadioGroup/error2.xhtml > localhost:8080/JSF23SelectOneRadioGroup/error3.xhtml > localhost:8080/JSF23SelectOneRadioGroup/error4.xhtml -- This message was sent by Atlassian JIRA (v6.4.14#64029)