Re: Grid Source Persist and Paging

2008-05-20 Thread Todd Orr
Thanks. That sounds like a clean solution. I'm surprised this isn't factored into the grid as my case is common I'm sure. On Tue, May 20, 2008 at 10:30 AM, Thiago HP <[EMAIL PROTECTED]> wrote: > On 5/19/08, Todd Orr <[EMAIL PROTECTED]> wrote: >> I have a Form and a Grid on my search page. The Form

Re: Grid Source Persist and Paging

2008-05-20 Thread Thiago HP
On 5/19/08, Todd Orr <[EMAIL PROTECTED]> wrote: > I have a Form and a Grid on my search page. The Form's success handler > populates a List results variable using an expensive query that I'd > like to not run on every Grid page navigation. To prevent unnecessary > query hits I use the @Persist a

Re: Grid Source Persist and Paging

2008-05-20 Thread Davor Hrg
If you do want to stick with this approach, persist the results in session, do search when form is submitted. now, to clear results you can do it in two ways: if you do not link to that page from many sides, add an activation parameter on each external link that parameter can be anytthing so you

Grid Source Persist and Paging

2008-05-19 Thread Todd Orr
I have a Form and a Grid on my search page. The Form's success handler populates a List results variable using an expensive query that I'd like to not run on every Grid page navigation. To prevent unnecessary query hits I use the @Persist annotation on the results var. The getResults method is used