You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Yohan Yudanara <yy...@balicamp.com> on 2007/05/01 04:57:41 UTC

T4 contrib table sorting

Hi.. I'm using tapestry 4.0.1 included in Appfuse 1.9.4

why does the sorting on contrib table not working (ascending to 
descending or descending to ascending) when I click on title column too 
quick?

When I click in title column for the first time, the table data sorted 
ascending..
When I click second time right after that, the table data still sorted 
ascending..
I have to wait for some period (about 5 seconds, but it's not exactly) 
before click on the title heading to make it sort descending.

The contrib table also show strange behaviour when I click refresh 
button (F5) on browser. (I've try it in IE and firefox). When I click 
refresh, the table show ascending. When I refresh again, the table show 
descending, When I refresh again, the table show ascending, and so on....

Plz help..
thanks a lot




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


Re: T4 contrib table sorting

Posted by Andreas Andreou <an...@di.uoa.gr>.
I think that's the way the table component was originally designed...
The sorting links do not set the sorting order to a given value... instead
they set it to the opposite of the previous value - which explains what
you're
seeing.

On 5/1/07, Yohan Yudanara <yy...@balicamp.com> wrote:
>
> Hi.. I'm using tapestry 4.0.1 included in Appfuse 1.9.4
>
> why does the sorting on contrib table not working (ascending to
> descending or descending to ascending) when I click on title column too
> quick?
>
> When I click in title column for the first time, the table data sorted
> ascending..
> When I click second time right after that, the table data still sorted
> ascending..
> I have to wait for some period (about 5 seconds, but it's not exactly)
> before click on the title heading to make it sort descending.
>
> The contrib table also show strange behaviour when I click refresh
> button (F5) on browser. (I've try it in IE and firefox). When I click
> refresh, the table show ascending. When I refresh again, the table show
> descending, When I refresh again, the table show ascending, and so on....
>
> Plz help..
> thanks a lot
>
>
>
>
> ---------------------------------------------------------------------
> 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 / JEE Consulting