Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Try not to separate the message tag and CDATA portion. Tthe parser might creates a text node enclosing the CDATA one if it sees any space, and xwork just reads the first node (therefore, an empty text). Example:-

Code Block
<field name="password">
  <field-validator type="requiredstring">
   <message><![CDATA[ Debe proporcionar una contraseña para el usuario. ]]></message>

Note: there's no spacing in the following line

Code Block
  <message><![CDATA[ ...]]></message>

Contributor: Ruben