Re: Validator does not validate!

2007-07-03 Thread Ramon Xuriguera i Albareda
I don't know exactly what the problem was. After spending lots of hours in front of the computer it worked! I think the problem had something to do with what you say or, probably with the exception I define in the action mapping. Anyway, thanks. -

Format values in MessageResources

2007-07-03 Thread Ramon Xuriguera i Albareda
Hi, I've just noticed that it's possible to format args in a MessageResources' key (see http://www.jguru.com/faq/view.jsp?EID=915891). I'm trying to do the following: In MessageResources.properties label.mean=Nota mitjana: {0,number} Then, in my JSP: I get this error: 14:52:58,546-ERROR org.ap

Re: Validator does not validate!

2007-06-30 Thread Ramon Xuriguera i Albareda
Thanks but, it doesn't work either... Any other ideas? 2007/6/30, Dave Newton <[EMAIL PROTECTED]>: Subclassing ValidationActionForm means that the form "name" attribute in validation.xml would be the action path, not the bean name. You want ValidationForm if you want the validation form name to

Validator does not validate!

2007-06-29 Thread Ramon Xuriguera i Albareda
I have some problems validating a form with validator framework under struts 1.3. After submitting, it forwards to "success" page even if the fields were not filled properly. (No exceptions are thrown). Here's some of my code: STRUTS-CONFIG.XML ... ...