I was taking a look at the new FacesMessages component. Section 3.3 in the 
latest (from CVS as of this post) documentation says

anonymous wrote :  You can even include JSF EL expressions in a faces message 
summary:
  | 
  | facesMessages.add("Document #{document.title} was updated");
  | 
  | Or, use an internationalized message:
  | 
  | facesMessages.addFromResourceBundle("success.DocumentUpdated"); 
  | 

Im missing a method that takes this input:
add("success.DocumentUpdated", "#{document.title}")
so that my message "Document {0} was updated" works.
This method should have a variable number of strings as arguments where the 
frist string is a resource key and and the rest are replacement strings (with 
EL support).

I guess I should post a JIRA, but I'd like to know if there's something I've 
overlooked first.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929106#3929106

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929106


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to