Re: Internationalized messages for pure JavaScript client side validations

Tarek Nabil <[email protected]> Sun, 17 Dec 2006 04:31:23 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <18639950.1166351588628.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Well, for some sort of reason, instead of the code snippets, the page is showing error messages, so I couldn't go through the code, but I'm using this as the contents of the validation file and it's working fine.

[code]
<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
<validators>
  <field name="age">
      <field-validator type="requiredstring">
          <message key="errors.required"/>
      </field-validator>
  </field>
</validators>
[/code]
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52413&messageID=108327#108327

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]