could
set a page name for step 1 to use to display, step 2, step 3, etc.
Regards,
David
-Original Message-
From: Robert Lehner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 3:40 PM
To: Struts Users Mailing List
Subject: Re: Validation Multiple Pages forward-Failure
Hello
What is exectly the positiv/negativ DynaValidatorActionFrom oposite Form-File (the
one with the setter an getter methods).
At the whole using DynamicActionForm you have no need to getters and setters, just
defining parameters and their types in struts-config.xml is enough.hope I understood
your
struts validation uses the input attribute of the action tag to send you
back to where you came from if validation fails. Here's the excerpt from
the dtd:
input Module-relative path of the action or other resource to
which control should be returned if a
Hello
I saw this in the dtd, but I don't knowe what I should enter as value of
input. I tried newUser, newUser.do, newUserFrom nothing worked es expected.
I would to get back the form where the validation find the failure, so
the User could corret his failure an procced the applikation.
BTW:
Users Mailing List [EMAIL PROTECTED]
Subject: Re: Validation Multiple Pages forward-Failure
Date: Tue, 27 Jan 2004 18:19:18 +0100
Hello
I saw this in the dtd, but I don't knowe what I should enter as value of
input. I tried newUser, newUser.do, newUserFrom nothing worked es expected.
I would
Anderson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 5:59 PM
To: [EMAIL PROTECTED]
Subject: RE: Validation Multiple Pages forward-Failure
struts validation uses the input attribute of the action tag to send you
back to where you came from if validation fails. Here's the excerpt
from
using DynaValidatorActionForm would be the best way, you can use attribue page and
use one Action form for all your 7 pages. tell me if you need more info, I'll describe
it in details
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
and i would send it to
you via pm.
thx
Robert Lehner
From: Robert Lehner [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Validation Multiple Pages forward-Failure
Date: Tue, 27 Jan 2004 18:19:18 +0100
Hello
I
Subject: Re: Validation Multiple Pages forward-Failure
Hallo
I'm using *.do mapping in my web.xml so I must use input=/newUser ?
This does not work!
Ben Anderson wrote:
You want to put validate=true for the action you are submitting to.
That's also where you specify the input. The input
You need to have a value for the input attribute on your action mapping
definition for your newUser action.
When enabling validation, what struts does is that if validation fails,
it does not give control to your action class but directly forwards to
the target defined by the input attribute.
So
cheers,
matthias
-Original Message-
From: Robert Lehner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 7:13 PM
To: Struts Users Mailing List
Subject: Re: Validation Multiple Pages forward-Failure
Hallo
I'm using *.do mapping in my web.xml so I must use input=/newUser
11 matches
Mail list logo