Form submit button localization

2008-04-08 Thread Milan Křápek
Hi, I have just this simply questin. I am trying to localize my web pages to different languages. Because my pages are mainly composed by fomrs and I have not much texts I want to make the localization just by .properties files. All works good until I want to change the text in submit button.

Re: Form submit button localization

2008-04-08 Thread Erik van Oosten
Hi Milan, You can use the wicket:message attribute as described on the Wicket wiki (search for xhtml). Regards, Erik. Milan Křápek wrote: Hi, I have just this simply questin. I am trying to localize my web pages to different languages. Because my pages are mainly composed by fomrs

Re: Form submit button localization

2008-04-08 Thread Nick Heudecker
IIRC, the Button constructor takes a Model that's used as the label text. You could easily use a StringResourceModel or ResourceModel here. On Tue, Apr 8, 2008 at 6:05 AM, Milan Křápek [EMAIL PROTECTED] wrote: Hi, I have just this simply questin. I am trying to localize my web pages to