tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirill Groshkov <kelt_...@mail.ru>
Subject Re: Write html directly from a db
Date Fri, 02 Mar 2007 05:45:13 GMT

HC> I'm a newbie in wath counts to tapestry, and wath i wan't to do is the
HC> following:

HC> I have a table row in a db wich as some html stored in it. Then i want 
HC> to write that html code directly into a page without my <'s and >'s and 
HC> other stuff being replaced by their entities, so that the html is 
HC> correctly viewed on the rendered page.

You can use @Insert component with "raw" parameter set to true. It will insert
raw html as you want, without any escaping.

<span jwcid="@Insert" value="ognl:myDBRow" raw="true" />

Regards,
Kirill


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


Mime
View raw message