On 8/8/05, Leo Asanov <[EMAIL PROTECTED]> wrote:
> 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 see. I misunderstood you. 

Why do you think you need multiple action forms? You can use one
action form with session scope, and nested beans for each html form.
For relatives' details you would have arraylist or a map.

Michael.

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

Reply via email to