struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geeta Ramani" <gram...@terralink.com>
Subject RE: Multiple forms and actions
Date Fri, 09 Jul 2004 15:17:42 GMT
Andy:

Short answer(s): No, the values on each form get submitted to just that Action class. And
if you want the values of the other form to be submitted too, then won't it be a good idea
to add those as fields of the first form in the first place? If you can't do that for some
reason, you will have to rely on yukky javascript stuff..

hth,
Geeta

> -----Original Message-----
> From: Andrew Close [mailto:aclose@gmail.com]
> Sent: Friday, July 09, 2004 11:12 AM
> To: user@struts.apache.org
> Subject: Multiple forms and actions
> 
> 
> Hi,
> 
> when you have multiple forms on a JSP and one of those forms is
> submitted, do the values on the other form get sent to the action
> class that was submitted to?
> i have two forms, two actions on one JSP.  when i trigger the event to
> submit one form, will that receiving action also get the values of the
> other form?  and if not, how can i do this?
> 
> thanks,
> andy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message