Menu

retaining values

prem
2007-07-13
2012-10-09
  • prem

    prem - 2007-07-13

    hi ,

    I am using displaytag for paging my search results.when i click on the next or sort the column my search criteria restores to default value ,which i dont want to happen.how to retain those values ??

    thanks in advance
    Prem

     
    • Harun

      Harun - 2007-07-30

      HI,

      1. You can try adding result data in session, and ask display tag to pick result from session.
      2. Display tag has excludeParams attribute, that attribute may help you. I think it is used to invalidate the cached data maintained across requests. But when u use excludeParams, you have to fire search result on every click of pagination or sorting....
       

Log in to post a comment.