Re: Passing multiple ActionForms (at the same time) to an Action

2003-06-23 Thread Sandeep Takhar
Interesting use of helper beans... Ted can you comment on the number of options available for multi-page flows. Could these helper beans help to provide request scoped beans across multiple screens without the need to save between each page? 1. session-scoped beans 2. request scoped beans with

Re: Passing multiple ActionForms (at the same time) to an Action

2003-06-21 Thread Ted Husted
In the parlence of HTML you *cannot* submit two forms at the same time. There is a single request, which will have zero or more parameters. In a HTML page, these parameters can be created using either the form tag or the a tag. When you submit a form, or click on a hyperlink, you create the

RE: Passing multiple ActionForms (at the same time) to an Action

2003-06-20 Thread David Tobey
You are only allowed to associate one ActionForm with each Action in the struts-config file. So the RequestProcessor will only populate one ActionForm object for a given request. I don't know if this is exactly what you're describing but I had a case where I wanted two ActionForms populated in the

RE: Passing multiple ActionForms (at the same time) to an Action

2003-06-19 Thread Paul McCulloch
In the situation I describe I want two forms to be submitted to the search action *at the same time*- one representing the currently entered details of the booking one representing the entered search criteria. The action should return both of these forms unmodified (to preserve data the user has

RE: Passing multiple ActionForms (at the same time) to an Action

2003-06-19 Thread Jon.Ridgway
Hi Paul, You might try changing the scope attribute of the actions associated with the forms to be session. Jon Ridgway -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 13:32 To: 'Struts Users Mailing List' Subject: RE: Passing multiple ActionForms

RE: Passing multiple ActionForms (at the same time) to an Action

2003-06-19 Thread Paul McCulloch
I don't think this will help. The problem is that when I do a submit for my search form I lose any *unsubmitted* data from the booking form. Please correct me if I'm wrong - I'm a 5 day newbie! Paul -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED] Sent: 19 June 2003