> I want to be able to have the flexibility to leave the header out in > certain markup variations without wicket generating an error because the > page tries to add the header component.
guess in your base webpage you should fill the header-div/span with a default WebMarkupContainer ( add(new WebMarkupContainer("header")); ); later in your subclasses you could replace the headersection with the appropriate panel: ... MyHeaderPanel hp = new MyHeaderPanel("header"); this.replace(hp); ... ------------------------------------------------------------------------- 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