Re: Validator not getting called and I can't see why [resolved]

2006-08-07 Thread Romu
U mean a javascript error ? u need to define a message.properties file too which will define the error messa 2006/8/6, Bart Busschots [EMAIL PROTECTED]: OK, I got all this figured out in the end. The validator was being called but because of problems with the page attribute in the form the

Re: Validator not getting called and I can't see why [resolved]

2006-08-07 Thread Romu
for example : mentor.createStudentGroup .groupName.label = the Student Group Name 2006/8/7, Romu [EMAIL PROTECTED]: U mean a javascript error ? u need to define a message.properties file too which will define the error messa 2006/8/6, Bart Busschots [EMAIL PROTECTED]: OK, I got

Re: Validator not getting called and I can't see why [resolved]

2006-08-07 Thread Bart Busschots
Romu wrote: U mean a javascript error ? No, I don't use clientside validation on my forms. It's going to the server anyhow so I don't see the point, just an extra layer for things to not work in. u need to define a message.properties file too which will define the error messa Good

RE: Validator not getting called and I can't see why [resolved]

2006-08-07 Thread Givler, Eric
? -Original Message- From: Bart Busschots [mailto:[EMAIL PROTECTED] Sent: Sunday, August 06, 2006 3:33 PM To: Struts Users Mailing List Subject: Re: Validator not getting called and I can't see why [resolved] OK, I got all this figured out in the end. The validator was being called but because

Re: Validator not getting called and I can't see why [resolved]

2006-08-06 Thread Bart Busschots
OK, I got all this figured out in the end. The validator was being called but because of problems with the page attribute in the form the validator appears to have been receiving a page value of zero and hence not validating the items on pages 1 or two because neither 1 nor 2 are less that or

RE: Validator not getting called and I can't see why

2006-08-04 Thread Givler, Eric
: Bart Busschots [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 6:10 PM To: Struts Users Mailing List Subject: Validator not getting called and I can't see why I'm either missing something stupid (which is always possible) or I've managed to break the validator. I have an app that uses

RE: Validator not getting called and I can't see why

2006-08-04 Thread Samere, Adam J
: Friday, August 04, 2006 10:41 AM To: Struts Users Mailing List Subject: Re: Validator not getting called and I can't see why Hi Eric, Thanks for the reply but I'm using a DynaValidatorForm so I don't have a class to override things in. I would assume that DynaValidatorForm validates correctly

Re: Validator not getting called and I can't see why

2006-08-04 Thread Niall Pemberton
Try turning on logging in debug mode, should give you more info about what its doing. Niall On 8/3/06, Bart Busschots [EMAIL PROTECTED] wrote: I'm either missing something stupid (which is always possible) or I've managed to break the validator. I have an app that uses validator all over the

Re: Validator not getting called and I can't see why

2006-08-04 Thread Bart Busschots
Hi Niall, I don't seem to be able to get log output form the validator. Maybe I'm doing something wrong? This is my commons-logging.properties file: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.defaultlog=debug

Re: Validator not getting called and I can't see why

2006-08-04 Thread Niall Pemberton
On 8/5/06, Bart Busschots [EMAIL PROTECTED] wrote: Hi Niall, I don't seem to be able to get log output form the validator. Maybe I'm doing something wrong? This is my commons-logging.properties file: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog

Re: Re: Validator not getting called and I can't see why

2006-08-04 Thread Matt Kurjanowicz
Just curios - that's the only createStudentGroupForm instance in your struts config? Since DynaValidatorForm extends DynaActionForm it inherits' the DynaActionForm toString - which always just starts off with DynaActionForm[... - in the action, can you log the actual class

Validator not getting called and I can't see why

2006-08-03 Thread Bart Busschots
I'm either missing something stupid (which is always possible) or I've managed to break the validator. I have an app that uses validator all over the place and it's working fine in all my other actions but for this one action it is simply not getting called. I can't see any difference between

Re: Validator not getting called and I can't see why

2006-08-03 Thread Matt Kurjanowicz
Do you have the property page being submitted with your form: html:hidden property=page value=1/ Also, are you sure that the validation isn't working and the error messages aren't getting displayed? Can you send the jsp source? -Matt On 8/3/06, Bart Busschots [EMAIL PROTECTED] wrote: I'm