On Feb 2, 2008 12:19 AM, iwanj <[EMAIL PROTECTED]> wrote: > and this works fine. however, for button's onSubmit() wicket uses the > existing page instead of creating a new one and so my code in the base page > constructor's is not run. copying my code into every handler is one option. > subclassing all such components is another. neither seems particularly > appealing for me. What exactly do you want to do with the locale information?
If u want internationalize the page, You could either always do. <PageClassName>_<locale>.html or <PanelClassName>_<locale>.html or If they're in resource bundle.properties, you could always do new Label( "wicketId", new ResourceModel( "resourceBundleKey" ) ); Or otherwise If this is mass changes of components etcs setResponsePage( new PageClassToInstantiate() ); Regards, Edward Yakop --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
