Hi,
Passing Messages as a parameter to a service does not work, I always get
[missing key:?], any idea?
Angelo
Robin K. wrote:
>
> This is because Messages is not a service.
> It can be injected into pages thanks to InjectWorker / InjectionProvider /
> CommonResourcesInjectionProvider which
s, Beirut, Bucharest,
Istanbul
Subject: RE: t5: using Messages in a service
This is because Messages is not a service.
It can be injected into pages thanks to InjectWorker / InjectionProvider /
CommonResourcesInjectionProvider which will call the ComponentResources of the
current component/page.
This is because Messages is not a service.
It can be injected into pages thanks to InjectWorker / InjectionProvider /
CommonResourcesInjectionProvider which will call the ComponentResources of the
current component/page.
That's why, in fact, you can only inject Messages into a page or a component
Hi Angelo,
I don't think you can use Messages as a service dependency as Messages is based
around a ResourceBundle, for which the lookup is usually provided by your
page/component Class, kind of similar to ComponentResources in a way. Unless
someone is aware of a workaround, you may be better o