I have an EJB3 application with Seam. In method activated by @Observer(
org.jboss.seam.postInitialization) I call asynchronous method of another component with 1 minute delay. In this asynchronous method I cannot get localized messages. I have a messages_pl.properties file in WEB-INF/classes which is declared in components.xml. Default locale in faces-config is set to pl. OS locale is set to pl_PL. I try:
and does not working. This code is working fine when component is accessed by jsf request. What can I do?
Of cource I tried: