Yep, you're right. But there are several posts that state that there is a one-to-one relationship of page class and template (with support for i18n'ed templates). Having such a simple solution I wonder where these statements come from and if they are completely wrong.
And the question is, if the mentioned solution works correctly without side effects, having the full template lifecycle supported (however this works in detail). So do you say, that the shown solution is working correctly? Thanx && cheers, Martin On Thu, 2008-02-07 at 01:17 +0100, Renat Zubairov wrote: > Hello Martin, > What isn't clear, is what is the question? If it's how to implement it I > guess the post you've already found describes it good enough. > > Renat > > On 06/02/2008, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I have a question concerning the relation between template and page > > class, which admittedly has already been raised sometimes :) > > > > Especially, the thread "T5: Personalizing page and component template" > > ( > > http://www.nabble.com/T5%3A-Personalizing-page-and-component-template-td14098291.html > > ) > > seems to show a solution for I want to achieve (or, to be honest, my > > collegues need in a project they are starting). > > > > The requirement is to select the chosen page template (or even the > > template of the layout component) at request time based on e.g. some > > request parameters, session attribute or s.th. else. I think common use > > cases are whitelabeling, country specific templates, personalization and > > there are probably a lot more. > > > > I would asume that some of you also have this requirement, so I (and my > > collegues :)) would be happy if you could share your experiences / > > solutions concerning this requirement. > > > > Jeffrey, as you already presented your solution (mentioned above), did > > you experience any drawbacks/problems with this implementation? > > > > Thanx in advance, > > cheers, > > Martin > > > > > > > > > >
signature.asc
Description: This is a digitally signed message part
