0 Replies Latest reply on Jul 20, 2010 9:05 AM by Anitha Raj

    Search with Back button

    Anitha Raj Newbie

      Hi all,

      I have generated an application using seam-gen. I have a page called SiteList.xhtml which is used to make a search of the records. Search is working fine. I enter a search criteria and the filtered results will be available. If i click on the view link of any record and if i want to go back, seam gen displays all the records by default. But what i want is if i click on the back button i just want the filtered records to be seen. Then clicking the reset button should display all the records.

      What is the best way to do this?

      I tried implementing this by putting SiteList.java under session scope. With this i'm able to view the filtered records when i click the back button. But even if i click the reset button it only displays the filtered record.