This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Nov 10, 2011, 11:16 AM
10 Posts

Persisting selected document in view

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 1
Hello,
 
Is there a way to persist document selection between requests?
For example if user changes page in view an then goes back to previous page all documents that were selected (by clicking checkboxes) are now unselected.
This also happens on any refresh that causes view to reload. 
 
Nov 10, 2011, 2:16 PM
261 Posts
Re: Persisting selected document in view
Yes it is.
 
What I'd do is to attach an eventhandler to the checkboxes. Whenever a checkbox is selected/ deselected, a serverside script is called that store an array of (id's of) selected items in (for instance) the sessionScope.
 
Mark

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal