This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
The "pagesize" attribute enables paging with each page having 20 records.
What I want to be able to do is set that number to 0 (no paging) or 20 (paging) dynamically. In my ActionForm and Action class, I have created a setdisplay attribute which the user sets in the beginning of the application. I then make that property available in the session scope. Once I have it in the session scope, in my jsp page how can I use it to assign the value for my pagesize.
I had initially tried that Mark. It dint work. I later realized that the pagesize attribute accepts an integer rather than a string. So all I had to do was get the string from the session, convert it to an int and then assign the int value dynamically.
Thanks for your reply though.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com