sorry for answering late on this threat, but i have found the same problem with my seam application.
normally i have no problem with getting messages from the ressourcebundle within emails, but after some time my application is deployed, i get the same issues as you. (in the message the key is shown, as if there were no entry for this entry)
- where do you have placed your message propertie files?
- how do you set the language on sending emails?
- do you send your emails within a quartz job?
perhaps we can find the solutino for this problem together...
i forgot to mention that if i have troubles with messages in my emails, i always can restart my application (touch on the .ear) and everything is fine for some times...
thanks for reply!
I was fed up with looking for solution so i just used a
good old school:
- faces-config.xml: added
- In my Email xhtml:
<f:loadBundle var="msg" basename="messages" />
Now everything works fine.
Your problem sounds quite strange. Are you sure that's a SEAM problem? Does it have the same behaviour in other environment other then your local Jboss? I mean how it works when you deploy it in other Jboss?