On Sat, 13 Oct 2012 12:25:13 -0300, Peter Wendorff
<wendo...@uni-paderborn.de> wrote:
Thanks, this seems to work basically.
But is it possible to mix that with - optimal even dynamic - templates?
Tapestry tempaltes structure is static. But you can use the OutputRaw
component to generate markup on a Java class and output it in HTML.
I miss something like
insertTemplate("<"+myComponentAsConfigured+" type=\"way\" id=\"5\"/>");
What's exactly your scenario here?
To describe it another way:
At runtime I have all informations to assemble a tml template, but these
come from symbols which are configured by a config file.
I tried
1) to use the MarkupWriter to write template markup - sure, this didn't
work.
2) to find out how to instrumentalize the beforeRenderTemplate to add
template code myself - but no idea how that could work (if).
It does work, but only in handler methods of render phase methods. You
haven't posted your code so we can check why it didn't work.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org