Ok, guess this would work in Gerry's case - although it feels like a bit of a hack.
In my case this wont work as I have a single application and would like to do the layout/branding in runtime - switching based on domain names. 2010/6/28 Pierce Wetter <pie...@paceap.com> > > On Jun 25, 2010, at 1:31 PM, Magnus Kvalheim wrote: > > > Hi, > > I have a similar requirement for our project where we plan to 'white > label' > > an application and brand it in different ways. > > Have been thinking about a way of reusing pages by changing the layout > > dynamically - for example triggered by domain names, but we haven't > started > > attempting to implement anything yet. > > > > Howard posted some exiting news about 'Tapx Dynamic' which might be of > help > > in this area. > > > http://tapestryjava.blogspot.com/2010/05/tapestry-happenings-52-beta-soon-new.html > > > > Other than that I'm very interested to hear if anyone else have > interesting > > input to your problem... > > I'm essentially doing this, see the thread about Complex Question about > Templates and Inheritance. > > There's a "Layout.tml" in the library, but then each app ends up > overriding it with its own class, and the ComponentClassResolver knows to > look first locally, then in the library for pace/Layout. > > Works great, and its basically inheritance. So you can white label your > app into a library, then use an app project for branding. > > Pierce > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >