tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thermus <msch...@gmail.com>
Subject Include HTML in Grid Cell
Date Wed, 03 Dec 2008 00:11:31 GMT

Is there a way to get HTML content to appear in a Grid cell?  Thinking I
could easily include multi-line text in a cell, I tried setting a bean
property to text with <br> tags.  However, when it renders the tags are
replaced by '& lt;' and '& gt;'.

The problem, I think, is that AbstractPropertyOutput.renderPropertyValue
uses 'write' which converts XML control characters to their "safe" XML
entity equivalents according to
http://tapestry.formos.com/nightly/tapestry5/guide/dom.html.  writeRaw seems
like it would do it, but it's buried pretty deep.  Is there another way of
allowing HTML to appear in a cell?
-- 
View this message in context: http://www.nabble.com/Include-HTML-in-Grid-Cell-tp20804000p20804000.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Mime
View raw message