I would say your issue is in the flow of control area, rather than the
validation area, therefore I would choose 1 or some other mechanism that
does the same job.
Plus it would be easier and more intuitive than 2.
Adam
David Thielen wrote:
Hi;
When the user clicks submit on page 2 of a form, I need to check page 1 also because they may have gotten to page 2 with a bookmark.
My page 1 validation is with the page 1 form validate. page 2 has a different form.
Should I:
1.. Look for the page 1 form attached to the session and if it's not there, go back
to page 1? And if so, how do I get that object?
2.. Call the page1 form validate and look at the return value? And if so, how do I
get the object?
3.. Another approach?
thanks - dave
--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]