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 would be possible allow
dynamic including components similar way, but i am not able to do it.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
If I understand it right, the current situation is that you cannot
"dynamically" create a component (on the fly) and then add it to the page.
In case you try to update a zone, you may use blocks. Predefine all
possible outcomes as separate blocks and let your event handler return
one of those blocks.
The difference is: the block's content is not generated on the fly, it
is completly defned when page rendering starts.
Hope that helps,
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org