do you really need mountPackage() ?
I guess you actually need #mountPage()
I find mountPackage("/", HomePage.class); as the culprit
On Wed, Apr 13, 2011 at 11:07 AM, Christian Grobmeier
<[email protected]>wrote:
> > can you paste your MyApp#init() ?
>
> Sure:
>
> @Override
> public void init() {
> super.init();
> getComponentInstantiationListeners().add(
> new SpringComponentInjector(this));
> mountPackage("/", HomePage.class);
> mountPackage("/feedback", FeedbackPage.class);
> mountPackage("/login", LoginPage.class);
> mountPackage("/test", TestPage.class);
> this.getMarkupSettings().setStripWicketTags(true);
> loadProperties();
> initSecurity();
> }
>
> loadProperties load a property file from web-inf as the name suggests
> initSecurity is setting an getSecuritySettings().setauthorizationStrategy()
> - guess the latter two methods have nothing to do with my problem
>
> Cheers
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>