On Mon, 22 Mar 2010 23:29:00 -0300, Alfonso Quiroga
wrote:
But what happens if I want really dynamic layout-tml? I mean, if a page
uses layout "peter", it should search a peter.tml, and if a page uses
layout
"pretty", pretty.tml.
You can use blocks and the ComponentSource component for
Nope, is used to delegate rendering to an object (e.g. Block)
located in the same page/template. You can only provide locale-specific
templates of your component: Foo.tml, Foo_en.tml, Foo_ru.tml.
On Tue, Mar 23, 2010 at 4:46 AM, Alfonso Quiroga wrote:
> You mean "might" choose between different
You mean "might" choose between different .tml files in the
webapp dir?
On Tue, Mar 23, 2010 at 12:04 AM, Angelo Chen wrote:
>
> delegate might work. also Velocity with outraw component can somehow
> achieve
> that.
>
>
> Alfonso Quiroga wrote:
> >
> > Hi! I just want to know something.. I used
delegate might work. also Velocity with outraw component can somehow achieve
that.
Alfonso Quiroga wrote:
>
> Hi! I just want to know something.. I used layouts in T5 (
> http://wiki.apache.org/tapestry/Tapestry5SimpleAndPowerfulLayouts) and it
> works OK. My layout-tml has 3 o 4 IF and renders
Hi! I just want to know something.. I used layouts in T5 (
http://wiki.apache.org/tapestry/Tapestry5SimpleAndPowerfulLayouts) and it
works OK. My layout-tml has 3 o 4 IF and renders fine.
But what happens if I want really dynamic layout-tml? I mean, if a page uses
layout "peter", it should search