| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!DOCTYPE validators PUBLIC |
| "-//OpenSymphony Group//XWork Validator 1.0//EN" |
| "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"> |
| |
| |
| <!-- START SNIPPET: nonFieldValidatorsExample --> |
| |
| <validators> |
| <validator type="expression"> |
| <param name="expression"><![CDATA[ ( (someText == someTextRetype) && (someTextRetype == someTextRetypeAgain) ) ]]></param> |
| <message><![CDATA[ all three text must be exactly the same ]]></message> |
| </validator> |
| </validators> |
| |
| <!-- END SNIPPET: nonFieldValidatorsExample --> |
| |