The recommended approach is to make these values part of your command
object - possibly by creating a parent commandClass that contains your
commandClass plus the additional fields you want to capture.

Matt

On 9/28/07, syg6 <[EMAIL PROTECTED]> wrote:
>
> This is something you always used to have to do by hand. Is it still the
> case?
>
> I am using a SimpleFormController. I have a bunch of hidden fields in my
> form. They are NOT tied to the Command object associated with the
> SimpleFormController, they are just fields with strings. When I click on
> Submit validation is executed and if anything goes wrong I go back to the
> form with the errors highlighted.
>
> But my hiddens, since they are not part of the Command object (and thus not
> dealt with in formBackingObject() ) are lost. Is there any way to tell
> Spring MVC to put specified or all hiddens back in thr request? If so, where
> do I have to do this, formBackingObject()?
>
> Thanks!
> Bob
> --
> View this message in context: 
> http://www.nabble.com/How-to-put-non-command-hidden-values-back-in-the-request-with-Spring-MVC-tf4533815s2369.html#a12938590
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to