Re: validation question

2004-10-18 Thread Justy Wong
oh I found that my implementation will let user skip my validation and directly execute the action. - Original Message - From: "Justy Wong" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, Octo

Re: validation question

2004-10-18 Thread Justy Wong
Thanks!!! I tried your last suggestion and it works fine!!! public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) { if (getCheck()==null) { return null; } else { return super.validate(actionMapping, httpServletReque

Re: validation question

2004-10-18 Thread Justy Wong
validation question > Nice trick, Joe - hadn't thought of doing that :-) > > - Original Message - > From: "Joe Germuska" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Monday, October 18, 20

Re: validation question

2004-10-18 Thread Justy Wong
tion: then I've to give up struts validation framework I think these 2 suggestions are simple workaround for this problem, however, it will break the framework in some degree Is there any other solutions come with Struts?? Thanks! Justy - Original Message - From: &q

validation question

2004-10-18 Thread Justy Wong
login.do action without any parameter. My question is, do struts provide any simple method to avoid this and just show no error message? Thanks a lot!!! Justy

Re: How to read MessageResources.

2004-10-13 Thread Justy
getLocale(::HttpServletRequest) will get locale from session instead of request. On Wed, 13 Oct 2004 15:54:02 + (UTC), Alan Pocklington <[EMAIL PROTECTED]> wrote: > Cheers for pointing that out. As of yet I don't need message arguments > so that'll be fine. > > Was there any reason for havi