I've already tried to inject the ComponentResources into my class
without success :-(
public static void
contributeComponentClassTransformWorker(OrderedConfiguration
configuration, PropertyAccess propertyAccess, ComponentResources
componentResources) {
configuration.add("InjectSelectio
I've already tried to inject the ComponentResources into my class
without success :-(
public static void
contributeComponentClassTransformWorker(OrderedConfiguration
configuration, PropertyAccess propertyAccess, ComponentResources
componentResources) {
Caused by: java.lang.RuntimeException:
Classes are non-localized.
However, you can write code that can access the current Locale or
localed Messages object via the ComponentResources object injected
into each class.
On Thu, Oct 16, 2008 at 2:48 PM, Stephane Decleire
<[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> Is there a way to use
Hi everybody,
Is there a way to use Tapestry localization services like Messages in a
ComponentClassTransformWorker ?
My goal is to localize the component described by Marcelo Lotif
in the Tapestry Wiki
(http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects).
Thanks in advance