Do you use page inheritance? The header / footer / common navbars should go in a common parent class. Then your child classes have only the content that is unique to that class.
-- Jeremy Thomerson http://www.wickettraining.com On Mon, Oct 5, 2009 at 5:36 PM, Alex Rass <a...@itbsllc.com> wrote: > Standardizing footers across the site. > So I will have a dozen pages which are bare content + footer from a common > file/db. > I don't want to have THAT many useless classes. If I do - wicket is a > failure. > > -----Original Message----- > From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] > Sent: Monday, October 05, 2009 6:27 PM > To: users@wicket.apache.org > Subject: Re: how to map 2 html files to 1 class? > > What are you handling there ? > > ** > Martin > > 2009/10/6 Alex Rass <a...@itbsllc.com>: > > PageA.html <> PageB.html <> PageC.html > > > > Think about it this way: > > PageA.html = Privacy Page > > PageB.html = SiteMap Page. > > > > I want to "handle" them both in same java class file cause hardly > anything > > is going on there. > > > > > > -----Original Message----- > > From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] > > Sent: Monday, October 05, 2009 6:08 PM > > To: users@wicket.apache.org > > Subject: Re: how to map 2 html files to 1 class? > > > >> PageHandler.java, that handles all 3. > >> mountBookmarkablePage("/PageA.html", PageHandler.class); > >> mountBookmarkablePage("/PageB.html", PageHandler.class); > >> mountBookmarkablePage("/PageC.html", PageHandler.class); > > > > This is a bit confusing, you ar giving different aliases to the same > > page. Is that what you want or you really want different html files > > also..`? > > > > ** > > Martin > > > > --------------------------------------------------------------------- > > 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 > > > > > > --------------------------------------------------------------------- > 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 > >