Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp display table not preserving checkbox status

 
Ishwarya Raj
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meant navigating to different page in pagination...not a different jsp page
 
Manjunath Gajula
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic