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 > 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. Is > it possible to change this value with locale information in property file? > Or must I follow the other way and duplicate my pages to localized > versions? (page_en_US.html, page_de_DE.html etc.) > > Best regards > > Milan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Nick Heudecker Professional Wicket Training & Consulting http://www.systemmobile.com Eventful - Intelligent Event Management http://www.eventfulhq.com