Best way to create a "Root Page" that every page in your app extends

2008-08-06 Thread Riyad Kalla
Hey guys, having a major brain-fart today... I swear I had this figured out at one point. I essentially want to create a RootPage (extends WebPage) that represents the root of every page in my app. It has an associated RootPage.html file with it that has all the DOCTYPE stuff in it, sets all the

Re: Best way to create a "Root Page" that every page in your app extends

2008-08-06 Thread Igor Vaynberg
see markup inheritance page on the wiki -igor On Wed, Aug 6, 2008 at 8:01 AM, Riyad Kalla <[EMAIL PROTECTED]> wrote: > > Hey guys, having a major brain-fart today... I swear I had this figured out > at one point. > > I essentially want to create a RootPage (extends WebPage) that represents > the

Re: Best way to create a "Root Page" that every page in your app extends

2008-08-06 Thread Riyad Kalla
Igor, Thanks for the reply, found the page (ref: http://cwiki.apache.org/WICKET/markup-inheritance.html), read it, felt really stupid, and am now happily making pages :) I think I just got a little bamboozed with all the seemingly different ways to do this, but MI is exactly the type of solution