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 annotation on the results var.

Instead of persisting the results, try to persist the search
parameters and implement a custom GridDataSource, so you only retrieve
the objects shown in the current page, not the entire list.

-- 
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to