+ Start a Discussion
Roger PavelleRoger Pavelle 

How do I persist apex selections after navigation?

I have two apex pages.  The first is a search page with many checkboxes designed to limit the number of results returned from a custom object.  The second page is a detail page based on a single object selected from the search page.

When I navigate from the detail page back to the search page, all the selections that I have previously made are lost (all checkboxes are set back to "unchecked").

Is there a way to keep the boxes checked when I navigate back to the page?
Best Answer chosen by Roger Pavelle
Yes, you can do this. Here's a blog that uses URL parameters to accomplish pretty much your use case: