This content has been marked as final.
Show 2 replies
-
1. Re: how to pass object from richface Datatable to actionlistener
newbie0014 Oct 27, 2011 12:12 PM (in response to newbie0014)1 of 1 people found this helpfulone helpful solution is from
http://stackoverflow.com/questions/7887980/how-to-pass-object-from-richface-datatable-to-actionlistener -
2. Re: how to pass object from richface Datatable to actionlistener
mcmurdosound Oct 27, 2011 2:37 PM (in response to newbie0014)1 of 1 people found this helpfulI usually make actions like this for example:
<rich:dataTable value="#{customers}" var="customer">
<rich:column>
<a4j:commandLink value="edit" action="#{myManager.editCustomer(customer)}"/>
</rich:column>
...
Manager:
public String editCustomer(Customer customer){
...
}