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
-- 
This email was Virus checked by Clark's Nutrition's Astaro Security Gateway.

<div style='font-size:11.0pt;font-family:"Tahoma"'>The 
information contained in this e-mail is intended only for use of
the individual or entity named above. This e-mail, and any documents,
files, previous e-mails or other information attached to it, may contain
confidential information that is legally privileged. If you are not the
intended recipient of this e-mail, or the employee or agent responsible
for delivering it to the intended recipient, you are hereby notified
that any disclosure, dissemination, distribution, copying or other use
of this e-mail or any of the information contained in or attached to it
is strictly prohibited. If you have received this e-mail in error,
please immediately notify us by return e-mail or by telephone at
(951)321-1960, and destroy the original e-mail and its attachments
without reading or saving it in any manner. Thank you.</div>

<div align="center" 
style='font-size:12.0pt;font-family:"Tahoma","sans-serif"'><strong>Clark’s
 Nutrition is a registered trademark of Clarks Nutritional Centers, 
Inc.</strong></div>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to