struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul McCulloch <>
Subject RE: Is it possible to harvest the form values and populate an act ionform without submitting the form?
Date Thu, 03 Mar 2005 17:05:49 GMT
Could the button on your parent submit the form to the backend with a new
popup windows defined as the "target" attribute (of the html form)? That way
your main form values are sent to the backend, but the results (i.e. your
wizard) is shown in the popup window.


> -----Original Message-----
> From: Adam Lipscombe []
> Sent: 03 March 2005 16:10
> To: 'Struts Users Mailing List'
> Subject: Is it possible to harvest the form values and populate an
> actionform without submitting the form?
> 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:
> For additional commands, e-mail:

Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not the addressee
indicated in this message (or responsible for delivery of the message to such person), you
may not copy or deliver this message to anyone. In such case, you should destroy this message,
and notify us immediately. If you or your employer does not consent to Internet email messages
of this kind, please advise us immediately. Opinions, conclusions and other information expressed
in this message are not given or endorsed by my Company or employer unless otherwise indicated
by an authorised representative independent of this message.
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via
electronic mail attachments we cannot guarantee that attachments do not contain computer virus
code.  You are therefore strongly advised to undertake anti virus checks prior to accessing
the attachment to this electronic mail.  Axios Systems Ltd grants no warranties regarding
performance use or quality of any attachment and undertakes no liability for loss or damage
howsoever caused.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message