Hi,
I am having issue passing parameters from my dataTable to Managed beans. Here is the snippet
(i is var="i" in datatable and i can see its value)
------------------------------------------------------
<h:commandLink id="editUser" value="Edit User" action="#{mybean.getDa(i.usrId)}">
<f:param name="usrId" value="#{i.usrId}" />
</h:commandLink>
or
<h:commandButton action="#{mybean.getDa()}" value="#{i.usrId}"/>
--------------------------------
My Bean (mybean)
public String getDa() throws Exception{
System.o.p("Inside");
}
public String getDa(final int usrId) throws Exception{
System.o.p("Inside"+usrId);
}
Question
1. It doesnot even call the method. Can you pls help me how to fix this?
Thanks,
User
[Message sent by forum member 'userjava1' (user.java_at_yahoo.com)]
http://forums.java.net/jive/thread.jspa?messageID=388807