This content has been marked as final.
Show 1 reply
-
1. Re: passing arguments to backing bean method from selectItem
buttau Dec 3, 2008 5:16 AM (in response to bentfrog)you can pass the selection list with your items, like that:
<rich:dataTable id="tableItems" value="#{backingBean.items}" var="item" rowKeyVar="rkv"> <rich:column> <h:selectOneMenu id="c2" tabindex="1" value="#{item.order}" style="width:100%"> <f:selectItems value="#{item.orderList}" /> </h:selectOneMenu> </rich:column>
and in backing Bean:public List<Items> fillItems() { for (...) { Item item = new Item(); item.workOrderNo = workOrderNo; item.orderList = getTorWorkOrderListCombo(workOrderNo) }