Thanks Eric, your first suggestion fixed the problem.  All I had to do was rebuild the project with latest source and the paging works as it should when sorted.
 
-Udesh

Eric Dalquist <[EMAIL PROTECTED]> wrote:
DISPL-272 is most likely related. I'd try getting a snapshot of the
portlet sub-project from source control and building the JAR. If that
doesn't fix it could you post the URL for each link you click on from
first display to where you see the problem?

-Eric Dalquist

ubo_rules wrote:
> Hi everyone,
> I am working on a display tag table in a JSR portlet (using Websphere
> portal server 5.1)
>
> I am using displaytag and displaytag-portlet libs in snapshot 1.1. I
> got displaytag.properties setup as described in
> .
>
> I have the following code for a table with sorting and paging
> capabilities in a JSP file:
>
> > pagesize="2" sort="list">
> > sortable="true" headerClass="sortable"/>
> > sortable="true" headerClass="sortable"/>
>
>

>
> I thought I had it working. But, I soon realised that only the first
> page gets sorted. When I navigate to the second page I get unsorted data.
>
> For example if I have the following two pages before sorting
>
> Page 1 (before sorting)
> ~~~~~~
> name | age
> ---------
> aaa | 0
> yyy | 0
>
> Page 2 (before sorting)
> ~~~~~~
> name | age
> ---------
> bbb | 0
> zzz | 0
>
>
> I get the folloing after sorting by Name
> Page 1 (after sorting)
> ~~~~~~~
> name | age
> ---------
> aaa | 0
> bbb | 0
>
> Page 2 (after sorting)
> ~~~~~~~
> name | age
> ---------
> bbb | 0
> zzz | 0
>
> Hence page 2 is not affected by the sort.
>
>
> When I tried the same thing outside a portal environment (in Tomcat),
> using the more or less the same JSP page everything worked as it should.
>
> I would appreciate any help, or links to any examples of
> displayTag-1.1 in portal pages.
>
> Thanks,
> -Udesh
>
> PS:I also noticed that the display-tag libs I am using didn't have
> DISPL-272 fixed (clicking next goes to last page). Al though I doubt
> it, is there any chance that these are related?
>
> ------------------------------------------------------------------------
> Yahoo! Autos
> .
> Looking for a sweet ride? Get pricing, reviews, & more on new and used
> cars.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user


Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

Reply via email to