Re: dynamic components in page

2009-01-13 Thread lst-ara
Thanks for responses. Using ajax (via component "zone") is one of possibly solutions. But, ideally, i would like solve this without Java Script - ideally all should be done on server side. I try refine my question. My idea was something like this: The component's "Index.tml" ... S

Re: dynamic components in page

2009-01-13 Thread Ulrich Stärk
Please look at the Delegate http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Delegate.html component as Daniel suggested. In combination with blocks, this fits your problem (see the example, it does exactly what you want). Also remember Tapestry's

Re: dynamic components in page

2009-01-13 Thread Radek Terber
Thanks for responses. Using ajax (via component "zone") is one of possibly solutions. But, ideally, i would like to solve this without Java Script - ideally all should be done on server side. I try refine my question. My idea was something like this: The component's "Index.tml" ..

Re: dynamic components in page

2009-01-12 Thread Daniel Jue
Hi, Your wording is a little vague. You probably want to use the Block component. For pages from onEvent, they can be anything, and you can return Strings or MyPage.class to get to the new page. For components, you have to list them in the source of your page class and/or page template. When yo

Re: dynamic components in page

2009-01-12 Thread Thiago H. de Paula Figueiredo
Em Mon, 12 Jan 2009 16:38:37 -0300, Radek Terber escreveu: Hi Hi! Is there possibility to render components in T5 page "dynamically" (in dependency on return value of any method in page´s class for example, or so) ? Methods "onEvent..." return pages whose are rendered "dynamically" too

Re: dynamic components in page

2009-01-12 Thread Andy Pahne
Radek Terber schrieb: Hi Is there possibility to render components in T5 page "dynamically" (in dependency on return value of any method in page´s class for example, or so) ? Methods "onEvent..." return pages whose are rendered "dynamically" too - each method can return many pages. I thing it

dynamic components in page

2009-01-12 Thread Radek Terber
Hi Is there possibility to render components in T5 page "dynamically" (in dependency on return value of any method in page´s class for example, or so) ? Methods "onEvent..." return pages whose are rendered "dynamically" too - each method can return many pages. I thing it would be possible allow d