Bhaarat Sharma wrote:
Again, for reference here is the link for the sample application wiki:
http://struts.apache.org/2.0.14/docs/crud-demo-i.html
In this sample there is a page called employee.jsp where there is a link for
Edit. code is:
<s:url action="crud!input" id="url">
<s:param name="employee.employeeId" value="employeeId"/>
</s:url>
<a href="<s:property value="#url"/>">Edit</a>
I am trying to make a sample application just like this example. In the
above code I am assuming that name="employee.employeeId" is invoking the
getEmployee() method in EmployeeAction.java. Is that correct?
In the sample application after this link is clicked and user is presented
with the Edit page, all the informatiofor the employee comes up. However,
in my example I just get the employeeId which was passed via the value
attribute.
What could i be doing wrong?
Without seeing your code it's really, really hard to know.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org