You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yolk Man <yo...@yahoo.com> on 2003/10/13 16:40:53 UTC
Map Backed Action Form
I have set up a map backed action form with the
following getter and setter methods:
public void setValue(String psKey, Object psValue) {
mhFieldValues.put(psKey, psValue);
}
public Object getValue(String psKey) {
return mhFieldValues.get(psKey);
}
On my JSP page, I have a dynamically generated text
field of the following form:
<html:text name="userForm"
property="<%=msFieldValue%>"/>
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org