Why would you override onBeforeRender to do that? Just add an attribute modifier that takes a model in your constructor or wherever. Regards, Carlos
On 9/1/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: > > > Am I missing something here? Why doesn't the AjaxButton take a IModel > that > sets the value attribute like the normal Button component? > > I need to internationalize the button value (name), do I really need to > override something like the onbeforerender method to add a > AttributeModifier? > > -Craig > -- > View this message in context: > http://www.nabble.com/AjaxButton-value-attribute-tf4366376.html#a12445623 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
