Well I don't know if this is conventional, but what I've done is to add an
attribute to the form, say 'action', and to add action as a hidden field in
the form. Then assign it a different value on each form... in your case
maybe 'education', 'experience' and 'general'.
form:hidden
Sandeep
Let me try. See if the solution proposed makes sense as the techniques were
discussed before.
1) Include a PageNumber attribute into your Form bean. In your JSP, store
the PageNumber as a hidden attribute. In your form.validate() method,
determine which page is passed then validate the
all the values for your 3 forms.
Hope it makes sense.
Regards
Michael Mok
www.webappcabaret.com/normad
-Original Message-
From: suhas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 12 June 2001 16:13
To: [EMAIL PROTECTED]
Subject: Re: Handling Multipart forms (sort of Wizard)
In the below
Michael,
Regarding your proposed solution#2, design a mother
form bean that contains three child form beans. in
that case how the child form bean will be
instantiated?
and will these child form beans auto collect data
submited by users?
Rgds,
Victor
--- Michael Mok [EMAIL PROTECTED] wrote:
I think you're making things far too complicated. Read the note I posted a
little while ago.
- Darryl
-Original Message-
From: Victor Chai [mailto:[EMAIL PROTECTED]]
Sent: 12 June 2001 10:26
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Handling Multipart forms (sort of Wizard
below.
-Original Message-
From: Victor Chai [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 12 June 2001 16:26
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Handling Multipart forms (sort of Wizard)
Michael,
Regarding your proposed solution#2, design a mother
form bean that contains
Yawale/LTITLPUN)
Subject: RE: Handling Multipart forms (sort of Wizard)
Hi Suhas
Good question. I missed out some steps for the second option.
You will need to create three form actions to process each of the form
beans. The mother bean is stored in the session and is accessed and
updated in each
:(bcc: Andrew Steady/Swindon01/Domino01/Kinesis)
Subject: RE: Handling Multipart forms (sort of Wizard)
Hi Michael,
Thanks for the options you specified for handling this.
After going thru the suggested options, I think the 2nd option is better.
This is because, since it is a wizrd, so
I haven't tried this yet, but one way might be to setup an ActionMapping
for each step in the Wizard, and set the parameter property for each.
Struts passes the ActionMapping to validation, so you should be able
to use mapping.getParameter() to tell where you are.
You can then use this same
-Original Message-
From: Andrew Steady [mailto:[EMAIL PROTECTED]]
Sent: 12 June 2001 11:34
To: [EMAIL PROTECTED]
Cc: Ben Radford
Subject: RE: Handling Multipart forms (sort of Wizard)
Hi,
Our solution, using struts, is a mutli-page and multi-channel solution.
It works on the principle
.
- Darryl
-Original Message-
From: Andrew Steady [mailto:[EMAIL PROTECTED]]
Sent: 12 June 2001 11:34
To: [EMAIL PROTECTED]
Cc: Ben Radford
Subject: RE: Handling Multipart forms (sort of Wizard)
Hi,
Our solution, using struts, is a mutli-page and multi-channel solution.
It works on the principle
everything from
your description.
- Darryl
-Original Message-
From: Andrew Steady [mailto:[EMAIL PROTECTED]]
Sent: 12 June 2001 11:34
To: [EMAIL PROTECTED]
Cc: Ben Radford
Subject: RE: Handling Multipart forms (sort of Wizard)
Hi,
Our solution, using struts, is a mutli-page and multi-channel
Darryl, you need to get away from the pc a little more
;^
- Original Message -
From: Darryl Pentz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 12, 2001 6:19 AM
Subject: RE: Handling Multipart forms (sort of Wizard)
Thanks, that'll be great. Look forward to the post
PROTECTED]]
Sent: 12 June 2001 14:50
To: [EMAIL PROTECTED]
Subject: Re: Handling Multipart forms (sort of Wizard)
Darryl, you need to get away from the pc a little more
;^
- Original Message -
From: Darryl Pentz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 12, 2001 6:19 AM
I am married. Its ME WHO IS EVIL
;^
- Original Message -
From: Darryl Pentz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Jonathan Asbell [EMAIL PROTECTED]
Sent: Tuesday, June 12, 2001 8:53 AM
Subject: RE: Handling Multipart forms (sort of Wizard)
Jonathan,
I don't think you understand
15 matches
Mail list logo