3 Replies Latest reply on Aug 3, 2010 7:47 AM by Ilya Shaikovsky

    Problem with  t:selectOneRadio in rich:dataTable - Setters Null

    phil Wilson Newbie

      Hi guys,

       

      I have a simple rich:dataTable and the selectOneRadio is not being set.

       

      <rich:dataTable
             value="#{fieldScorePostAdminScoreItem.fieldScorePostAdminScoreList}"
              var="detail" width="100%" columnClasses="center" columnsWidth="0px"
               id="scoreComparisonResults">

       

              <rich:column style="padding-right:10px">
                  <f:facet name="header">
                      <h:outputText  value="Score Name" title="Score Name"/>
                  </f:facet>
                  <h:outputText value="#{detail.scoreName}" />
                  <f:facet name="footer">Score version #:</f:facet>
              </rich:column>

       

             
              <rich:column>
                  <f:facet name="header">
                      <h:outputText value="Select Score" title="Select Score" />
                  </f:facet>
                     <t:selectOneRadio id="radioOverridePostAdmin"  value="#{detail.overridePostAdminScore}" 

                          disabled="#{detail.overridePostAdminScore == 'DIFFERENCE_RESOLVED'}"
                                      onclick="enabledSaveLink()" forceId="true">
                         <f:selectItem   itemValue="POST_ADMIN_SCORE"  itemLabel="Post-Admin Score" />
                         <f:selectItem   itemValue="FIELD_SCORE_OVERRIDE" itemLabel="Field Score"  />
                     </t:selectOneRadio>   
                         
              </rich:column>                                   
          </rich:dataTable>

       

       

      When I walk thru it with eclipse debugger the selectOneRadio is null.

       

      How do I fix this??

       

      Thanks

      Phil