myfaces 1.2 我在 myfaces2.1 中有一个数据表,如果我针对要在托管 bean 中获取行数据并想要将这些特定值传递到不同的屏幕上,谁能帮助我将特定检查的行值传递给托管 bean..?
<h:column>
<h:selectBooleanCheckbox value="#{myResourcesDetails.chkBxVal}" binding="#{myResourcesDetails.selectedValue(actionEvent)}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText id="tblHdr0" value="Employee Id" style="font-family: arial; font-size: 12px; color: blue"/>
</f:facet>
<h:commandLink id="emNo" value="#{resList.empNo}" onclick="fn_openResDetails(#{resList.empNo});" style="font-family: verdana; font-size: 12px; color: olive"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText id="tblHdr1" value="Resource Name" style="font-family: arial; font-size: 12px; color: blue"/>
</f:facet>
<h:outputText value="#{resList.resName}" style="font-family: verdana; font-size: 12px; color: olive"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText id="tblHdr3" value="Project Name" style="font-family: arial; font-size: 12px; color: blue"/>
</f:facet>
<h:outputText value="#{resList.projName}" style="font-family: verdana; font-size: 12px; color: olive"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText id="tblHdr4" value="Manager Id" style="font-family: arial; font-size: 12px; color: blue"/>
</f:facet>
<h:outputText value="#{resList.manager}" style="font-family: verdana; font-size: 12px; color: olive"/>
</h:column>
</h:dataTable>