Em Tue, 05 Aug 2008 14:04:58 -0300, daniel alonso
<[EMAIL PROTECTED]> escreveu:
Thiago... that piece of code could be invoked after trigger an event on
the submit form?
It could, but you don't need to. ;)
You said that "do that in the render request"... how can i do that? With
SetupRender anottation? *beforeRender*()?
Just use the code like I posted. When the page renders, it will render the
Grid component. Grid, in turn, will call your getResults() method, so you
don't need to call it anytime. Just think that Grid needs a list (or
GridDataSource) and you will get this list just when Grid needs it. ;)
I think i have understood the rest of your message. The problem is that
after the submit, when the page reloads, the resultset is empty. That is
due to what you said about doing it in "action request", isn't it?
Make sure the list you return to the source parameter of Grid is not empty.
Thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]