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.

Paul

> -----Original Message-----
> From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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.
 
WARNING:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to