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
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
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"
..
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
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
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
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