Localize AjaxButton

2007-09-11 Thread Tim Lantry
How do you localize the 'label' on an AjaxButton component?

Re: Localize AjaxButton

2007-09-11 Thread Al Maw
Tim Lantry wrote: How do you localize the 'label' on an AjaxButton component? Off the top of my head, try: AjaxButton foo = new AjaxButton(foo); foo.setModel(new StringResourceModel(propertyKey)); Regards, Al -- Alastair Maw Wicket-biased blog at http://herebebeasties.com