Ok, it could be what I needed.

Thanks for the information Thiago, I'll give it a try and make a feedback in
case.

2010/2/4 Thiago H. de Paula Figueiredo <thiag...@gmail.com>

> On Thu, 04 Feb 2010 13:41:48 -0200, Thomas Cucchietti <
> thomas.cucchie...@gmail.com> wrote:
>
>  Hello everybody,
>>
>
> Hi!
>
>
>  is there a mean to have several different templates for a single page?
>>
>
> Not directly.
>
>
>  A bit like it's the case for localization (with templates suffixed like
>> myPage_de.tml, myPage_fr.tml), but depending on other parameters.
>>
>
> Easier way: create a component for each different template and then use
> blocks <t:block> and the Delegate component to render one of them. There's
> one similar example in
> http://tapestry.apache.org/tapestry5.1/cookbook/switch.html.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, software architect and developer, Ars Machina Tecnologia da
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to