-
1. Re: Resource bundle not found in email (m:message)?
wachtda.scsi.gmx.ch Sep 9, 2009 9:26 AM (in response to javri28.giorgijavrishvili.hotmail.com)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...
cheers daniel -
2. Re: Resource bundle not found in email (m:message)?
wachtda.scsi.gmx.ch Sep 9, 2009 9:33 AM (in response to javri28.giorgijavrishvili.hotmail.com)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...
-
3. Re: Resource bundle not found in email (m:message)?
javri28.giorgijavrishvili.hotmail.com Sep 10, 2009 9:29 AM (in response to javri28.giorgijavrishvili.hotmail.com)Hi Daniel,
thanks for reply!
I was fed up with looking for solution so i just used a
good old school
:
- faces-config.xml: added<message-bundle>messages</message-bundle>
- 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?
Regards,
giorgi
-
4. Re: Resource bundle not found in email (m:message)?
wachtda.scsi.gmx.ch Sep 10, 2009 10:06 AM (in response to javri28.giorgijavrishvili.hotmail.com)Thanks for the reply!
I moved my problem to another thread, because my problems are only in calling the messages directly from code.
Thread: Inconsistent Behaviour...Greetings Daniel