Re: Subclass of base page class not rendered

2009-08-27 Thread Jeremy Thomerson
You're going about this the wrong way. You shouldn't force a re-instantiation. The real problem here is that your components are not shown as localized because apparently you are pushing the strings into your components in the constructors. Instead, you should use a model that always pulls the s

Re: Subclass of base page class not rendered

2009-08-27 Thread Pedro Santos
To force re-instantiate of an unknow subclass you can use reflection like: setResponsePage(getPage().getClass().getConstructors()[0].newInstance()); but a simple setResponsePage(getPage()) should work to update resources used by wicket:message for example On Thu, Aug 27, 2009 at 6:47 AM, Ber

Subclass of base page class not rendered

2009-08-27 Thread Bergmann Manfred
Hi there. I've run into an issue and don't know how to solve it. My experience with Wicket is still low. I have a BasePage, subclass of WebPage. This page has some links, including links to change the language. This BasePage is not a page that is "rendered" directly. Only though subclasses.