[jboss-user] [JBoss Seam] - Re: localize Strings
UTDrew
do-not-reply at jboss.com
Mon Jan 14 14:03:04 EST 2008
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
More information about the jboss-user
mailing list