Struts FormValidation -> date validation

2004-10-19 Thread daniel weiss
Hi all, how could i set multiple date pattern strings to add other formats of dates ? It is possible ?! Some formats look like as: d.M.yy dd.M.yy d.MM.yy dd.MM.yy d.M. dd.M. d.MM. dd.MM. Thx in advance Daniel datePatternStrict dd.MM.,dd.MM.yy

Re: Problem with message resources by FormValidator

2004-10-15 Thread daniel weiss
uts-config file mention a key tag like > > null="false" /> > > and when u retrive the message from message-recource mention this key again > like > > > > it will definaletly work > > Regards, > Sachin Hegde > > > --

Problem with message resources by FormValidator

2004-10-15 Thread daniel weiss
Hi, i got a prob with validation.xml and my resources. My submitted snipplet shows you a example for one validation condition. If set this rule without a argument statement e.g. "{0} your date is invalid", it'll be render as "???my.key.name??? your date is invalid" Its doesn't matter if set the

Render ActionMessages by a Action Class on a jsp

2004-10-14 Thread daniel weiss
Hi folks, i tried to implement render some actionmessages on a jsp by a action class i found this tutorial at http://javaboutique.internet.com/tutorials/excep_struts/index-2.html I thought, this it'll be the right way to do this, but my result was: javax.servlet.ServletException: Cannot find b

Probs with ActionError -> generate a blank page after request

2004-10-01 Thread daniel weiss
Hi folks, i got some problems with ActionErrors from Struts. If i tried to add some Error, i will get a blank page without some error msg. code snipplet: ActionErrors errors = validate(form,request,mapping); errors.add("foobar", new ActionError("abc12345")); System.out.println("error status -