My example:
I have master JSP:
<jsp:include page="formInclude.jsp" flush="true">
<jsp:param value="type" name="myObject1"/>
</jsp:include>
<jsp:include page="formInclude.jsp" flush="true">
<jsp:param value="type" name="myObject2"/>
</jsp:include>
and included page:
<s:textfield key="myField" name="%{#parameters.type.myField}" /><br />
In my Action I have 2 object:
private MyObject myObject1 = new MyObject();
private MyObject myObject2 = new MyObject();
then both have myMethod attribute
How can I manage this?
Thanks
--
View this message in context:
http://struts.1045723.n5.nabble.com/dinamic-name-for-textfield-tp4506481p4509618.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]