On Sat, 29 Sep 2012 02:00:17 -0300, Ken in Nashua <kcola...@live.com> wrote:


Folks,

If the output and outputraw components cannot contain a left angel bracket <

or other angle brackets

ex. <t:output value="</tr><tr>"/>   <t:outputraw value="</tr><tr>"/>

Then I am left with doing this...

<t:outputraw value="&lt;/tr&gt;&lt;tr&gt;"/>

But if yeilds the following exception

java.lang.RuntimeExceptionError parsing property expression '</tr><tr>': Unable to parse input at character position 1.
Does anyone know how to output table tags in my template ?

Tapestry 5 templates must be valid XML documents and XML doesn't allow the < and > characters in attribute values. Properly escape them and it will work. By the way, I have no idea why you're using OutputRaw to output static content.

--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to