Nope, <t:delegate/> 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 <alfonsose...@gmail.com>wrote:

> You mean <t:delegate> "might" choose between different .tml files in the
> webapp dir?
>
> On Tue, Mar 23, 2010 at 12:04 AM, Angelo Chen <angelochen...@yahoo.com.hk
> >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 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 a peter.tml, and if a page uses layout
> > > "pretty", pretty.tml.
> > > Is this possible? It would be a great feature for a lot of sites (every
> > > user
> > > could change the site layout when he logs in). And really simple, every
> > > new
> > > layout is just a new tml file.
> > >
> > > Thanks
> > >
> > >
> >
> > --
> > View this message in context:
> > http://old.nabble.com/%22dynamic%22-tml-tp27995671p27995861.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>



-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog

Reply via email to