Hi,
till now i used in JSF 1.2 commandLinks and the setPropertyActionListener to pass for e.g. the selectedItem of a DataTable.
<h:commandLink action="#{Result.show}" value="#{foo.name}">
<f:setPropertyActionListener value="#{foo}" target="#{Result.selectedFoo}"/>
</h:commandLink>
In an example JSF 2.0 and JPA i have seen a solution, where the selected Item is passed as parameter to a function. But if i try to execute this function on a Glassfish 2.1 Server i'am getting an Exception.
<h:commandLink action="#{Result.showFoo(foo)}" value="#{foo.name}">
</h:commandLink>
javax.faces.view.facelets.TagAttributeException: javax.el.ELException: Error Parsing: javax.servlet.ServletException:
I'm only using simple ManagedBeans, no EJB.
Thanks.