Hi Jesse:

   If I use Table component,how to do it? My code is:

<table align="center" jwcid="@contrib:Table" source="ognl:modaltest" pageSize="4" columns="id,threadTitle,!developer.id:Author:developer.devName,!literal:developer.devImage" raw="true" />

It seems that the raw parameter don't work?




lirenwang

From: "Jesse Kuhnert" <[EMAIL PROTECTED]>
Reply-To: "Tapestry users" <users@tapestry.apache.org>
To: "Tapestry users" <users@tapestry.apache.org>
Subject: Re: How to display html in Table component?
Date: Sat, 5 May 2007 23:17:48 -0400
>http://tapestry.apache.org/tapestry4.1/components/general/insert.html
>
>Set the "raw" parameter to true , as in:
>
><span jwcid="@Insert" value="ognl:yourProperty.getMyHtml()"
>raw="true" />
>
>On 5/5/07, li li <[EMAIL PROTECTED]> wrote:
>>
>>hi everyone:
>>
>> Could Contrib:Table component display HTML code? I want to
>>display some
>>HTML code in Tapestry4's Table component.How to do it? For
>>example,I want
>>to display a red font in table,but when table rendered,it will
>>escape these
>>HTML code to plain text. So I couldn't display some html in Table.
>>How to do
>>it? thks!
>>
>>------------------------------
>>免费 下载 MSN Explorer
>><http://g.msn.com/8HMACNCN/2743??PS=47575>---------------------------------------------------------------------
>>To
>>unsubscribe, e-mail: [EMAIL PROTECTED] For
>>additional
>>commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>--
>Jesse Kuhnert
>Tapestry/Dojo team member/developer
>
>Open source based consulting work centered around
>dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


免费下载 MSN Explorer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to