Hi,
maybe you can have a look here:
https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/wicketstuff-restannotations-parent/restannotations/src/main/java/org/wicketstuff/rest/utils/wicket/bundle/DefaultBundleResolver.java
That's a resource bundle resolver that works with the
stringResourceLoaders of the Application.
I want to access Wicket's string resources in a non component class. I am aware
of getLocalizer().getString(...) for a component, but how do you do this in a
non Component based class and how do you make Wicket aware of the message
bundle ? All of the Localizer#getString(...) methods require a Component. I am
using Wicket version 6.10.0. I have a REST resource named UserResource.java and
messages in UserResource.properties.
Thanks
Warren
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]