Now I've got another problem :
If I put the message-resources in global key (key not defined) everything works fine :
Validation failed.
* The field name2 is required.
But if I put it in a custom key (ie person) the field name in error isn't initialize :
Validation failed.
* The field is required.
Here is the code I use to retrieve errors : <logic:messagesPresent> <bean:message bundle="person" key="errors.header"/> <ul> <html:messages bundle="person" id="error"> <li><bean:write bundle="person" name="error"/></li> </html:messages> </ul> </hr> </logic:messagesPresent>
What do I wrong ?
Sébastien GALLET a écrit :
Hi.
I try to developp tools which allows me to store messages and validation ressources to the server (jboss) and make them accessible via JNDI. The goal is to use them with differents back-ends (webapp with struts, webservices, beans, etc, ...).
Sebastien which tries to speak English
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]