struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Lipscombe" <adam.lipsco...@expensys.com>
Subject Is it possible to harvest the form values and populate an actionform without submitting the form?
Date Thu, 03 Mar 2005 16:09:44 GMT
Folks,


I have a tricky little problem with Struts 1.1:

I have a form, on which there is a button that starts a wizard in a popup
modal dialog box.
The wizard behaviour depends on some of the values that have already been
entered in the parent form, and when it finishes the parent form is further
populated.


Rather than pass the form values as HTTP params to the wizard, I elected to
perform the backend processing prior to starting the wizard. This ensures
that all the necessary values are computed correctly and would normally be
done by submitting the parent page form. 

But, the backend processing is invoked by the wizard calling a URL as part
of its initialisation. The parent form is not submitted, hence the values
from the parent form are not transferred to the actionform prior to the
backend processing being invoked.


Is there anyway round this? Is it possible to harvest the parent form values
explicitly to ensure that the actionform is populated?


TIA - Adam Lipscombe







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


Mime
View raw message