You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by andyhot <an...@di.uoa.gr> on 2007/02/02 23:08:30 UTC
Re: Help with sorting custom contrib:table column
@contrib:ColumnSortLink and @contrib:ColumnSortImage
contrib snapshots should be available by now
Greg.L.Cormier@servicecanada.gc.ca wrote:
> Thanks Andy. I think hacking up the source might be beyond my level. However if you do get the chance to work on it, I will be happy to test out some snapshots for you and provide feedback!
>
> Thanks,
> Greg
>
> -----Original Message-----
> From: andreas a [mailto:andreoua@gmail.com]On Behalf Of andyhot
> Sent: Thursday, January 25, 2007 4:10 PM
> To: Tapestry users
> Subject: Re: Help with sorting custom contrib:table column
>
>
> http://issues.apache.org/jira/browse/TAPESTRY-958
>
> it describes a generic solution - shouldn't be hard to implement those 2
> new components detailed there
> contrib:ColumnSortLink and contrib:ColumnSortImage
>
> Let me know if you go ahead with this and are willing to contribute them
> back - otherwise i might spend
> some time in this by next week.
>
>
> Greg.L.Cormier@servicecanada.gc.ca wrote:
>
>> Hey guys.
>>
>> I've got a nice sortable table using contrib:table, and I broke the sorting by adding custom column values.
>>
>> <span jwcid="englishTitleColumnValue@Block">
>> <span jwcid="@Insert" raw="true" value="ognl:anItem.getEnglishTitleColumn()" />
>> </span>
>>
>> So my englishTitle column uses the getEnglishTitleColumn() method on each row.
>>
>>
>> Where do I need to start looking to implement the comparator that will let the sorting work again?
>>
>>
>> Thanks,
>> Greg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
>>
>>
>
>
>
--
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org