Yup, you only need to override the column(s) that need the custom rendering. All others will be rendered as they are currently.

Robert

[EMAIL PROTECTED] wrote:
Thanks.

I'm digging through workbench code to get a feel for this.. LocaleSelection.*

Will I be able to override that one column only? Or will I need to override it, 
and then provide defaults for all the other columns?

-----Original Message-----
From: andreas a [mailto:[EMAIL PROTECTED] Behalf Of andyhot
Sent: Tuesday, January 02, 2007 3:05 PM
To: Tapestry users
Subject: Re: Raw values in contrib:table


http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/table.html

"If defined, a Block with a name that starts with the column id and ends
with /ColumnValue/ will be used to render the column values.
Similarly, a Block with a name that starts with the column id and ends
with /ColumnHeader/ will be used to render the column headers. "

Use that approach to customize rendering

[EMAIL PROTECTED] wrote:

On my tableView I have

<binding name="columns">literal:
     * id:getId(), englishTitle:getEnglishColumn(), 
frenchTitle:getFrenchColumn()
   </binding>


the 2nd and 3rd columns return some html links, but they get escaped.

How can I get these to get displayed as html? I've tried adding a raw="true" in 
the html, but it's not working... also tried

<component id="tableView" type="contrib:TableView">
   ...
   <binding name="raw" value="true" />
 </component>

But no dice.

Anyone have any tricks?

Thanks,
Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to