SelectOneRadio required attribute doesn't work if value is empty 
-----------------------------------------------------------------

                 Key: TRINIDAD-2099
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2099
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.2.13-core 
         Environment: JBoss 4.2.3, JSF-Facelets 1.1.15, jsf 1.2
            Reporter: Markus Reichert


If you mark a selectOneRadio as required and initial value is null 
(unselectedLabel should not be used)  there will be no required validation 
exception if none of the radio buttons is choosen by the user.

Example code:

<tr:selectOneRadio required="true" 
value="#{controller.valueWhichIsInitialNull}">
     <f:selectItems value="bean.listOfSelectionItems"/>
</tr:selectOneRadio>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to