[
http://jira.jboss.com/jira/browse/RF-1338?page=all ]
Work on RF-1338 started by Anton Belevich.
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
Assigned To: Anton Belevich
Fix For: 3.2.0
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