Hi
No replies to this. Is my question not clear

--- John Hunt <[EMAIL PROTECTED]> wrote:
> Hi 
> Say, if I have two forms form1 and form2 in a page
> and
> correspondingly I have two ActionForm classes A1 and
> A2 which validate those two forms, how can I display
> the errors during validation of form1 and form2
> SEPARATELY.
> What does <struts:errors/> display in such scenario?
> 
> How can I uniquely identify errors returned by form1
> and form2 instead of displaying them together.
> 
> Problem 2:
> Suppose I have a scenario where I have form1 and
> form2
> ( say login and sign up ) in a page. As part of the
> validation, I would be having null check for
> username
> & password fields in the each form and return an
> error
> if both fields are null in a form. We would expect
> the
> user to fill either login form or singup form. In
> such
> scenario either path he follows is a success. But
> because of our validation checks ( both login and
> passwd r null for any one of them he doesnt fill )
> we
> will be getting an error. Any thoughts as to how we
> can handle this?
> Thanks
> Hunt
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

Reply via email to