> or even > > mypage() { add(new HeaderPanel("header") { public boolean isvisible() { > return !MyPage.this.getVariation().contains("noheader"); }} > > if the header panel is pretty cheap to construct > > -igor
Yes that looks like an quicker and easier solution. The header is very cheap to construct. Thanks, I'll give it a try, Chris ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user