aspose file tools*
The moose likes Other Open Source Projects and the fly likes jsp display table not preserving checkbox status Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "jsp display table not preserving checkbox status" Watch "jsp display table not preserving checkbox status" New topic
Author

jsp display table not preserving checkbox status

Ishwarya Raj
Greenhorn

Joined: Jul 30, 2012
Posts: 4
I am using jsp display Table in order to show my search results.I also have checkbox associated with each row.On navingating to different page I am not able to preserve the checkbox status.I am using KeepStatus attribute too.PLease let me know what i am missing
Manjunath Gajula
Greenhorn

Joined: Dec 21, 2011
Posts: 12
Assuming that you need values from one JSP to be accessed in other, you can try this out.
Hide attributes in both the JSP's and try accessing them. They should be available.
Ishwarya Raj
Greenhorn

Joined: Jul 30, 2012
Posts: 4
I meant navigating to different page in pagination...not a different jsp page
Manjunath Gajula
Greenhorn

Joined: Dec 21, 2011
Posts: 12
Do you hit DB and get records when use paginate or do you keep values in session and get from there?
Keep your property in session when you hit for first time and make use of it
Ishwarya Raj
Greenhorn

Joined: Jul 30, 2012
Posts: 4
I have the attribute displayList in my request


when i use session, i am not getting the values


I am not sure if this is the correct way of doing
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp display table not preserving checkbox status