I figured it was something like this. Okay I will see if I can dig something up 
on how to fix it!

-Greg

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of James
Carman
Sent: Wednesday, January 03, 2007 11:09 AM
To: Tapestry users
Subject: Re: Raw values in contrib:table


I would think so, since the table doesn't know what you're actually
displaying in your block, so it has no idea how to sort it.

On 1/3/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hmm, is there any chance that by in doing this, I've broken the sorting 
> functionality provided by contrib:table? It doesn't seem to work anymore...
>
>
> Thanks,
> Greg
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 02, 2007 4:10 PM
> To: users@tapestry.apache.org
> Subject: RE: Raw values in contrib:table
>
>
> Great, I got it going.
>
> I read the documentation, had no idea what it was saying. Dug through the 
> source code, got completely confused... then went back to the documentation, 
> and then it made sense.. I just did a 3 line block element at the top of my 
> HTML page, bam, it works! And they're very simple, for reference :
>
> <!-- These are the formats for the columns so we can output the href-->
> <span jwcid="[EMAIL PROTECTED]">
>   <span jwcid="@Insert" raw="true" 
> value="ognl:anItem.getEnglishTitleColumn()" />
> </span>
>
> <span jwcid="[EMAIL PROTECTED]">
>   <span jwcid="@Insert" raw="true" value="ognl:anItem.getFrenchTitleColumn()" 
> />
> </span>
>
>
>
> Thanks for the help both of you!
>
> Greg
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 02, 2007 3:48 PM
> To: users@tapestry.apache.org
> Subject: RE: Raw values in contrib:table
>
>
> Thanks!
>
> I'm still digging, it's a little confusing since it's split up as a JWC for 
> LocaleSelection.. trying to piece everything together. I'd rather not split 
> mine into a JWC file.
>
> -----Original Message-----
> From: Robert Zeigler [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 02, 2007 3:41 PM
> To: Tapestry users
> Subject: Re: Raw values in contrib:table
>
>
> 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]
>
>
> ---------------------------------------------------------------------
> 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]
>
>
> ---------------------------------------------------------------------
> 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]


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

Reply via email to