Hello.
I have this in my .properties file:
| Common.message.deleted = #0 was deleted successfully.
|
Then in my action component I did the following:
| facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_INFO,
| "Common.message.deleted", user.getFullName());
|
Supposing the user.getFullName() returns "Joe Foe", what I expect in the page
as result of the message is:
| Joe Foe was deleted by successfully.
|
But I don't get above message, I always get:
| #0 was deleted successfully
|
Then when I do this, it works:
|
| facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_INFO,
| "Common.message.deleted", new
Object[]{user.getFullName()})
|
|
My question is: Why the first way is not working?
Anyone knows how to get this working?
Thanks in advance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012737#4012737
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012737
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user