Doh! Man I feel stupid, I could have sworn I tried that at one point. I've put in roughly 28 hours of work over the last two days on this project so I guess this kind of stuff's about to happen sometime. Thanks for the quick and accurate response!
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Francisco Hernandez > Sent: Wednesday, November 19, 2003 10:31 PM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Just upgraded to WW2beta2 and now > my validation is broken... > > put quotes in the name attributes of your ui tags. > > Peter White wrote: > > Hi gang, > > > > I've updated all my UI tags to wrap literal values that I > don't want > > evaluated in single quotes but my previously working validation is > > flat out broken. Not only is every submit rejected as > invalid, but the > > field errors are no longer being displayed as well. If > anyone can shed > > some light on this, it would be greatly appreciated. If > not, I'm going > > to have to roll back to my previous snapshot and try again after I > > meet my current deadline. Thanks! > > > > > > Here's the log file, the form section of my JSP, and > > CategoryManager-validation.xml file... > > > > <!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator > > 1.0//EN" > > "_http://www.opensymphony.com/xwork/xwork-validator-1.0.dtd_"> > > > > <validators> > > <field name="model.name"> > > <field-validator type="requiredstring"> > > <message>required</message> > > </field-validator> > > </field> > > <field name="model.label"> > > <field-validator type="requiredstring"> > > <message>required</message> > > </field-validator> > > </field> > > <field name="model.description"> > > <field-validator type="requiredstring"> > > <message>required</message> > > </field-validator> > > </field> > > </validators> > > > > > > > > <ww:hidden name="'validationAction'" value="validationAction"/> > > <tr><ww:textfield label="'Name'" name="model.name"/></tr> > > <tr><ww:textfield label="'Label'" name="model.label"/></tr> > > <tr><ww:textarea label="'Description'" > name="model.description"/></tr> > > <tr><ww:textfield label="'12 Month Residual'" > > name="model.residual12Mo"/></tr> > > <tr><ww:textfield label="'24 Month Residual'" > > name="model.residual24Mo"/></tr> > > <tr><ww:textfield label="'36 Month Residual'" > > name="model.residual36Mo"/></tr> > > <tr><ww:textfield label="'48 Month Residual'" > > name="model.residual48Mo"/></tr> > > <tr><ww:textfield label="'60 Month Residual'" > > name="model.residual60Mo"/></tr> > > </ww:form> > > > > > > [2003-11-19 21:48:51,875|INFO |views.velocity.VelocityManager] > > Instantiating VelocityManager!, > > com.opensymphony.webwork.views.velocity.VelocityManager > > > > [2003-11-19 21:48:51,875|INFO |views.velocity.VelocityManager] > > Initializing velocity using 'velocity.properties' > > [2003-11-19 21:48:51,875|DEBUG|views.velocity.VelocityManager] > > Initializing Velocity with the following properties ... > > [2003-11-19 21:48:51,875|DEBUG|views.velocity.VelocityManager] > > 'wwfile.resource.loader.class' = > > 'org.apache.velocity.runtime.resource.loader.FileResourceLoader' > > > > [2003-11-19 21:48:51,875|DEBUG|views.velocity.VelocityManager] > > 'wwfile.resource.loader.path' = 'C:\Tomcat_EZRate\webapps\ezrate' > > > > [2003-11-19 21:48:51,875|DEBUG|views.velocity.VelocityManager] > > 'userdirective' = > > > 'com.opensymphony.webwork.views.velocity.ParamDirective,com.op > ensymphony.webwork.views.velocity.TagDirective,com.opensymphon > y.webwork.views.velocity.BodyTagDirective' > > > > [2003-11-19 21:48:51,875|DEBUG|views.velocity.VelocityManager] > > 'wwfile.resource.loader.description' = 'Velocity File > Resource Loader' > > > > [2003-11-19 21:48:51,875|DEBUG|views.velocity.VelocityManager] > > 'resource.loader' = 'wwfile, wwclass' > > [2003-11-19 21:48:51,875|DEBUG|views.velocity.VelocityManager] > > 'wwclass.resource.loader.class' = > > 'com.opensymphony.webwork.views.velocity.WebWorkResourceLoader' > > > > [2003-11-19 21:48:51,875|DEBUG|views.velocity.VelocityManager] > > 'wwclass.resource.loader.description' = 'Velocity Classpath > Resource Loader' > > > > [2003-11-19 21:48:52,187|DEBUG|xwork.util.LocalizedTextUtil] Added > > default resource bundle com/opensymphony/webwork/webwork-messages, > > default resource bundles = > [com/opensymphony/webwork/webwork-messages, > > com/opensymphony/xwork/xwork-messages] > > > > [2003-11-19 21:48:52,187|DEBUG|webwork.dispatcher.ServletDispatcher] > > saveDir=/temp > > [2003-11-19 21:48:52,187|DEBUG|webwork.dispatcher.ServletDispatcher] > > maxSize=12345 > > [2003-11-19 > 21:49:09,187|DEBUG|opensymphony.xwork.DefaultActionProxy] > > Creating an DefaultActionProxy for namespace /categories and action > > name addCategory > > > > [2003-11-19 > > 21:49:09,515|DEBUG|xwork.interceptor.StaticParametersInterceptor] > > Setting static parameters {} > > [2003-11-19 > > 21:49:09,515|DEBUG|xwork.interceptor.ParametersInterceptor] > > Setting params {0.0=[Ljava.lang.String;@24de7d, > > validationAction=[Ljava.lang.String;@8b058b} > > > > [2003-11-19 > 21:49:09,531|DEBUG|xwork.validator.ValidationInterceptor] > > Validating /categoriesaddCategory. > > [2003-11-19 21:49:09,562|DEBUG|xwork.validator.ValidatorFactory] > > Loading validator definitions. > > [2003-11-19 21:49:09,578|DEBUG|xwork.validator.ValidatorFactory] > > Registering validator of class > > com.opensymphony.xwork.validator.validators.RequiredFieldValidator > > with name required > > > > [2003-11-19 21:49:09,578|DEBUG|xwork.validator.ValidatorFactory] > > Registering validator of class > > com.opensymphony.xwork.validator.validators.RequiredStringValidator > > with name requiredstring > > > > [2003-11-19 21:49:09,593|DEBUG|xwork.validator.ValidatorFactory] > > Registering validator of class > > com.opensymphony.xwork.validator.validators.IntRangeFieldValidator > > with name int > > > > [2003-11-19 21:49:09,593|DEBUG|xwork.validator.ValidatorFactory] > > Registering validator of class > > com.opensymphony.xwork.validator.validators.DateRangeFieldValidator > > with name date > > > > [2003-11-19 21:49:09,593|DEBUG|xwork.validator.ValidatorFactory] > > Registering validator of class > > > com.opensymphony.xwork.validator.validators.ExpressionValidator with > > name expression > > > > [2003-11-19 21:49:09,593|DEBUG|xwork.validator.ValidatorFactory] > > Registering validator of class > > com.opensymphony.xwork.validator.validators.FieldExpressionValidator > > with name fieldexpression > > > > [2003-11-19 21:49:09,593|DEBUG|xwork.validator.ValidatorFactory] > > Registering validator of class > > com.opensymphony.xwork.validator.validators.EmailValidator > with name > > email > > > > [2003-11-19 21:49:09,593|DEBUG|xwork.validator.ValidatorFactory] > > Registering validator of class > > com.opensymphony.xwork.validator.validators.URLValidator > with name url > > > > [2003-11-19 21:49:09,593|DEBUG|xwork.validator.ValidatorFactory] > > Registering validator of class > > > com.opensymphony.xwork.validator.validators.VisitorFieldValida > tor with > > name visitor > > > > [2003-11-19 > 21:49:09,625|DEBUG|xwork.validator.ActionValidatorManager] > > Running validator: > > > [EMAIL PROTECTED] > > f9e5 for object [EMAIL PROTECTED] > > > > [2003-11-19 > 21:49:09,625|DEBUG|xwork.validator.ActionValidatorManager] > > Running validator: > > > [EMAIL PROTECTED] > > 5f939 for object [EMAIL PROTECTED] > > > > [2003-11-19 > 21:49:09,625|DEBUG|xwork.validator.ActionValidatorManager] > > Running validator: > > > [EMAIL PROTECTED] > > 32c4 for object [EMAIL PROTECTED] > > > > [2003-11-19 > > 21:49:09,640|DEBUG|webwork.dispatcher.ServletDispatcherResult] > > Forwarding to location /WEB-INF/addCategory.jsp > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us > help YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork