Or just create a BasePage which implements onRenderHead where you add your 
CSS/JS resources
Then, implement a NavigationPage which extends BasePage and has its Navigation 
and a SignInPage which extends BasePage.

Marvin Richter


-----Original Message-----
From: Martin Grigorov [mailto:mgrigo...@apache.org] 
Sent: Friday, February 07, 2014 2:12 PM
To: users@wicket.apache.org
Subject: Re: Best strategy for having login page without navigation

Hi,

The simplest way is to make the navigation invisible:
navigation.setVisible(false)
Another way is to extract BasePageWithHeader that extends BasePage.

Martin Grigorov
Wicket Training and Consulting


On Fri, Feb 7, 2014 at 1:31 PM, crestfallen <torsten.monkow...@gmail.com>wrote:

> Hi,
>
> ich have a basepage with all styles defined in it. This basepage also 
> holds the navigation of my application.
> Now I want to add a login page. Problem is, I want to extend it from 
> basepage, but avoid to have a navigation there.
> How to you deal with such requirement?
>
> crestfallen
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Best-strategy-for-having-lo
> gin-page-without-navigation-tp4664298.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to