--- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > well, the problem is because my Action can be arrived at from > > different > > places. and upon requesting for my Action if there are validation > > errors i want to return the user back to where they came from. > > > > i'm not sure about what you suggested.. i don't know what you mean > by > > multi-page forms and validation based on the page number.. > > The validation framework allows you to use a page property on the > field element on each field element, and provides a corresoponding > page property on the ValidatorForm. This is useful for when you have > multiple pages filling in a form. >
my apologies, i'm still not sure about your suggestion here but i'll look into it. i don't know what a ValidatorForm is as i'm not using it, and i think this is the problem.. i'm just using the old plain jane vanilla struts validation mechanism (i just extend from ActionForm, not from ValidatorForm..).. > Also don't forget that you can have more then one action mapping per > class. yes, this is something i tend to keep forgetting. and making a new action mapping for each different originating location (while using the same classes) would do the trick nicely. thanks a lot, Jim! woodchuck > > > > > are you talking about putting flags on the html form that i can use > > upon submit to decide what to validate? i can do that, but how can > i > > instruct the Struts ActionForm.validate() mechanism to go somewhere > > else other than the Action definition input attribute value? > > _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]