myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daniel ccss" <danielcc...@gmail.com>
Subject Messages from a resources.properties file
Date Thu, 26 Jul 2007 13:53:19 GMT
How can I do this:

 FacesContext.getCurrentInstance().addMessage(null, new FacesMessage("*Invalid
User*"));

But reading the message from a resources.properties?:

login.invalid.user= Invalid User

Mime
View raw message