Forum LAMS for Tech-Heads - General Forum: Validation rules


 
You may request notification for Validation rules.
Search: 

1: Validation rules
05/10/10 09:38 AM
[ Reply | Forward ]
Hi everyone

I want to use the validation.xml and validation-rules.xml for validations purposes in my authoring form.

I have some validations defined such as required, requiedif, validwhen and so on.

In my validation.xml, I've defined for my authoring form to validations for the title and content properties which depends on the required validation.

I have also added a plugin property in the struts-config.xml file with property "pathnames" and value /WEB-INF/validator-rules.xml, /WEB-INF/validation.xml.

The thing is, when I try to save new content for my tool with the title and content empty, it does it succesfully. The validation parameter in the action-mappings is set true.

Am I missing something?

Thanks in advance.

Posted by Felipe Peña

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum