If there was a <div wicket:id="loggedState"> container in your HTML that contained your loggedIn or loggedOut panel, then I imagine in your page code you would have a WebMarkupContainer that you did a removeAll() on then added the appropriate panel to it when building the page.
I imagine your loggedOut panel has a Username/Password field and a "Login" button on it, so that'll post to the server at which point you could do that work? -R On Mon, Mar 1, 2010 at 3:47 AM, Bert <taser...@gmail.com> wrote: > If i recall correctly, then you can't change the component tree once > the rendering started. Not 100% sure here. > > What i would do is to add both panels and override the isVisible() > funktion in them. In there you check is a user > is logged in or not .. > > Bert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >