Michael, 

I don't see the analogy with "Save As" dialog. And
ActionForm is not a businees object indeed. Don't know
what to do with this valuable information though...

If there is nothing in Struts which can help me then
it is the information I am looking for. 
Although I would appreciate any ideas on application
design for my case. Lets consider a simple example -
multi-formed survey.
Form 1: Person's details
Form 2: Person's address details
Form 3: Is there any relatives?
Form 4: Relative's details
Form 5: Is there any more relatives?
If "yes" - go to Form 4.
....
Form 6: Some other details
Form 7: Finish a survey

What options do I have? I could manually process forms
in Form4 Action class and save instances in session,
for example, but then "Back" wouldn't work as
expected.   

I am not talking about processing or manipulating the
data, this's purely interface issue at this point of
time.

Cheers,
Leo

--- Michael Jouravlev <[EMAIL PROTECTED]> wrote:

> If you need to save document from Microsoft Word,
> you open "File Save"
> dialog. When you need to save another file, do you
> create another
> "File Save" dialog? Do all these dialogs remain
> allocated until you
> shut down the system?
> 
> ActionForm is not a business object.
> 
> Michael.
> 
> On 8/8/05, Leo Asanov <[EMAIL PROTECTED]>
> wrote:
> > Hi!
> > 
> > Is there any standard ways to manage multiple
> > instances of one form with Struts? I have
> application
> > which is supposed to take theorerically unlimited
> > number of person's descriptions. Every time user
> > clicks "add one more person" he/she gets exactly
> the
> > same form (with the same validation rules) to
> fill. At
> > the end user clicks "finish" and all data is
> saved.
> > I'm sure this is quite common task. So far I can't
> see
> > any mechanism in Struts supporting multiple
> instances.
> > And if I manage instances manually in Action class
> I
> > loose some built-in functionality, like forms
> > prepopulation. Any hints/ideas?
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to