[richfaces-issues] [JBoss JIRA] Created: (RF-1338) h:selectOneMenu can not set value to el in rich:datatable

daniel zhang (JIRA) jira-events at lists.jboss.org
Tue Nov 13 08:24:44 EST 2007


h:selectOneMenu can not set value to el  in rich:datatable 
-----------------------------------------------------------

                 Key: RF-1338
                 URL: http://jira.jboss.com/jira/browse/RF-1338
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.1.0
         Environment: windows seam 2.0ga
            Reporter: daniel zhang


just see the code below:
<h:form>
<rich:dataTable value="#{ejbmList}" var="ejbm" >
<rich:column>
<f:facet name="header" >department</f:facet>
    #{ejbm.yjbmmc}
<f:facet name="footer">
<h:selectOneMenu value="#{tmpEjbm.yjbh}">
<f:selectItem itemValue="" itemLabel="sel" />
     <f:selectItems value="#{selBm.selItems}" />
</h:selectOneMenu>
</f:facet>
</rich:column>
<h:column>
<f:facet name="header">edit</f:facet>
<h:commandLink value="edit" action="#{ejbmBo.editEjbm(ejbm.bmbh)}"/>				
<f:facet name="footer" > 
<h:commandButton action="#{ejbmBo.confirm(ejbm.bmbh)}"  value="add item"/>
</f:facet>
</h:column>
</rich:datatable>
</h:form>

in ejbmBo.confirm(ejbm.bmbh) I get a null value;

but I use <h:datatable> it just works well!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list