On Thu, 25 Oct 2012 01:13:16 -0200, Ken in Nashua <kcola...@live.com>
wrote:
Folks,
Hi!
Ok I implement an if component. And upon condition I render some
markup...
<t:If test="atNewRow">
</tr><tr> <!-- yeilds
exception below -->
</t:If>
This isn't valid XML, and Tapestry must be valid XML. Why do you need to
do that? I've never needed to do something like that.
Anyway, your solution is very probably creating a component for doing the
rendering of the whole table (maybe using another components inside it)
and render HTML using MarkupWriter instead of templates.
Are there limitations in the framework that are preventing this simple
fundamental operation ?
What you're doing may generate invalid markup, so I don't think it is
fundamental at al. Tapestry templates are valid XML and generate
guaranteed XML or HTML (at least regarding to properly opening and closing
elements).
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org