I found it easier to use the 'template' function like this:
| facesMessages.add(FacesMessage.SEVERITY_INFO,
messages.get("feeAgreementSearch.activateSelectedAlreadyActiveWarning"),fa.getFeeAgreementId());
|
In your case this would look like:
| facesMessages.add(messages.get("message.sendEmail"), email );
|
Also, I believe the templating params for seam look like #0 not {0}
Is there any plan to allow for a templated message in the messages bundle that
will be resolved first and then have the appropriate parameters substituted?
Drew
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119785#4119785
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119785
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user