[ http://jira.codehaus.org/browse/DISPL-36?page=comments#action_49251 ] 

Ashish Patel commented on DISPL-36:
-----------------------------------

Has this been implemented? I tried several different ways in my jsp to 
implement this feature but neither worked. It's definitely a nice feature to 
have.

This is what I did (or tried to do):

In my Struts application, I simply allow the user to set a certain pagesize and 
then make that pagesize available in the session scope. In each JSP page that 
uses DisplayTag, I tried this:

setdisplaypref = (String) session.getAttribute("setDisplayPref");

And then tried:

<display:table uid="t1" name="sessionScope.results" 
pagesize="<%setdisplaypref%>" export="true" defaultorder="descending">

However this does not work.

> dynamic pagesize (user decision)
> --------------------------------
>
>          Key: DISPL-36
>          URL: http://jira.codehaus.org/browse/DISPL-36
>      Project: DisplayTag
>         Type: New Feature
>   Components: Paging/Sorting
>     Versions: 1.0 RC1
>     Reporter: fabrizio giustina
>     Priority: Minor

>
>
> ====
> imported from sf tracker
> id 1011575 
> submitted by Ralf Hauser - ralfhauser
> http://sourceforge.net/support/tracker.php?aid=1011575 
> ====
> e.g. with webmail inbox, typically the provider
> suggests a pagination default size (e.g. 20), but users
> often can choose to increase that to 50, 100, or all
> probably, this is possible without an enhancement to
> the library jar, but it would be great to add a working
> example/tutorial example derived from
> http://www.displaytag.org/example-paging.jsp

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to