Re: [T4] a component select its template dynamicly (one class, several html)

2007-06-29 Thread Igor Drobiazko
Hi, take a look at the components Block and RenderBlock: http://tapestry.apache.org/tapestry4.1/components/general/block.html http://tapestry.apache.org/tapestry4.1/components/general/renderblock.html On 6/29/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hi, I would like a component which can

[T4] a component select its template dynamicly (one class, several html)

2007-06-29 Thread #Cyrille37#
Hi, I would like a component which can select its template. In another way, one component class with several html templates. The component has to look at his state and then select which template will be used. I could solution the problem with some @If in a single template but it will result