Hi all,
I was wondering, is there a way to localize messages comming from info()
and error() form methods via property files?
I could do it via session logic but I'm interested in other ways.
Regards,
--
Marek Šabo
-
To
You could use a StringResourceModel or ResourceModel and just grab the object
that results
On Jan 31, 2010, at 6:12 AM, Marek Šabo wrote:
Hi all,
I was wondering, is there a way to localize messages comming from info()
and error() form methods via property files?
I could do it via session
info(getstring(key))
-igor
On Sun, Jan 31, 2010 at 6:12 AM, Marek Šabo ms...@buk.cvut.cz wrote:
Hi all,
I was wondering, is there a way to localize messages comming from info()
and error() form methods via property files?
I could do it via session logic but I'm interested in other ways.
@Igor - works like a charm
@Andrew - took me a while to play with hierarchy but got it working
Thank you both, regards
--
Marek Šabo
On 01/31/2010 07:16 PM, Igor Vaynberg wrote:
info(getstring(key))
-igor
On Sun, Jan 31, 2010 at 6:12 AM, Marek Šabo ms...@buk.cvut.cz wrote:
Hi all,
I
No problem. Igor's is probably a helluva lot easier :)
If this helped, consider writing an example in the Wiki and/or adding an
Example to WicketByExample.com! :P
Cheers!
On Jan 31, 2010, at 4:35 PM, Marek Šabo wrote:
@Igor - works like a charm
@Andrew - took me a while to play with