You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by jelything <ja...@shaw.ca> on 2005/05/06 08:22:36 UTC
Using objects other than strings in forms
This is probably a java question rather than a struts question, but I
hope someone will bear with me here.
I'm using DynaValidatorForms and usually stick to strings, but for
argument's sake I'm passing in some other custom objects today. I can
access everything great in the form itself, such as:
<bean:write name="myForm" property="myObject.someName"/>
but when I submit the form, myObject is null. Is it possible to get
back an (unmodified) object into my submit action? Or is it a one way
only (from display action to form)?
Its late, sorry if this doesn't make any sense.
J
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org