The XML file is just an alternative format for specifying properties.

tobago.properties.xml:

<properties>
  <entry key="javax.faces.component.UIInput.REQUIRED">Pflichtfeld nicht 
ausgefüllt.</entry>
  <entry key="javax.faces.component.UIInput.REQUIRED_detail">Bitte geben Sie in 
das Feld "{0}" einen Wert ein.</entry>
...
 </properties>
 
It should work also with the standard file format.

Regards
Helmut

  ----- Original Message ----- 
  From: Madan Narra 
  To: MyFaces Discussion 
  Sent: Wednesday, May 23, 2007 5:47 PM
  Subject: Re: [ Tobago ] Help Regarding custom message for Conversion Errors


  Hi Helmut,

  Can you please send me the sample for the <entry> for specifing the error 
messages...

  I was confused how can i specify the error messages in the xml file...

  Regards,
  Madan N

Reply via email to