Currently, there is no built-in solution for it. We plan to add it in 5.3.
See here:
http://markmail.org/thread/d45pg6jpjc62e4qg

Right now I have a proprietary solution decorating three services:

http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/internal/services/PageSource.html
http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/internal/services/PageLoader.html
http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/internal/services/ComponentTemplateSource.html


On Wed, Mar 9, 2011 at 10:08 AM, jqzone <jqz...@gmail.com> wrote:

> I extending template locator just follow the link below,it works well.
>
> http://blog.tapestry5.de/index.php/2010/08/06/extending-template-lookup-mechanism/
>
> My situation is ,when the same page is requested,I should check the config
> and decide which tml to use,for example ,different sub domains use
> different
> tml, ComponentTemplateSource caches the first requested template,so how can
> I change this?
>



-- 
Best regards,

Igor Drobiazko
http://tapestry5.de

Reply via email to