Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6412731
By: msawhney

We have a requirement to display 'items per page' drop down as part of the page
banner that displays the page number navigation links.
I know I can include the dropdown as part of the jsp (where display tag is being
used) and dynamically capture the value for the pagesize attribute.
But this is not feasible since it will involve changing each and every jsp page
where displaytag is being used and modifying the corresponding struts action
classes so that it returns to the same jsp page after loading the requested
number of items per page.

I wanted to make this feature available to each and every jsp by changing the
display tag source code such that
1) Any jsp utilizing displaytag will have 'items per page dropdown' already
available in its pagebanner
2) The return URL can be borrowed from the 'requestURI' attribute of the table
tag.

This way I do not have to modify any of the jsps or action classes. 

I am not sure if the above can be achieved utilizing javascript or not/ (I am
terrible at javascript)

If not javascript then which particular java files from the displaytag source
code need to be modified.

Any inputs/suggestions are greatly appreciated.

Thanks


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249317

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to