Results 1 to 3 of 3

Thread: Remember search criteria without manual session handling

  1. #1
    Join Date
    Jul 2005
    Location
    Munich, Germany
    Posts
    153

    Default Remember search criteria without manual session handling

    Hello,

    I'm looking for a method to remember search criteria from a search form without handling this in a session manually.

    I have a form with several search criteria to fill out. After filling out this form a user can perform a search and get results based on his criteria. On the results page is a button 'As CSV' - with this button the user should be able to download the same search result as CSV without reentering the search criteria in a form.

    How would you do that? Is there a convenient method w/o handling the form criteria in a session manually?


    Best,
    Oliver

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney
    Posts
    503

    Default

    You could use an AbstractWizardFormController for search pages, with the first page(s) being the search criteria, and the last page being the search result.

    By default wizard controllers store state in session so criteria would be available on the results page.

  3. #3
    Join Date
    Jul 2005
    Location
    Munich, Germany
    Posts
    153

    Default

    Quote Originally Posted by gmatthews
    You could use an AbstractWizardFormController for search pages, with the first page(s) being the search criteria, and the last page being the search result.

    By default wizard controllers store state in session so criteria would be available on the results page.
    Thanks for your tip. I'll give it a spin ;-)

Similar Threads

  1. OpenSessionInView and portlet support
    By garpinc2 in forum Web Flow
    Replies: 31
    Last Post: Apr 9th, 2010, 11:12 AM
  2. Hibernate Long Session Per Flow?
    By akw in forum Web Flow
    Replies: 21
    Last Post: Dec 12th, 2005, 08:06 PM
  3. OpenSessionInView + CMT Session usage
    By alesj in forum Data
    Replies: 7
    Last Post: Aug 16th, 2005, 02:32 AM
  4. Replies: 1
    Last Post: Mar 12th, 2005, 04:33 AM
  5. Replies: 3
    Last Post: Nov 19th, 2004, 07:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •