That could be problem.
I can see that the grid is using CachingDataSource for caching the
dataSource size. But i see no way to invalidate that cache.
Jecki wrote:
On Wed, Oct 8, 2008 at 12:47 AM, Hugo Palma <[EMAIL PROTECTED]> wrote:
I have a search form and a grid with the results.
I'd l
On Wed, Oct 8, 2008 at 12:47 AM, Hugo Palma <[EMAIL PROTECTED]> wrote:
> I have a search form and a grid with the results.
> I'd like to submit the form and update the grid with the filtered results
> without doing a full page refresh.
>
> My take on this is to set the form component "zone" parame
Yep, i have it implemented like that. Forgot to rollback some changes
that i tried to make this work before putting the code in the post. Sorry.
With a zone just outside the grid and setting the form to update it i'm
still getting the exception.
Thiago H. de Paula Figueiredo wrote:
Em Tue, 07 O
Em Tue, 07 Oct 2008 15:42:26 -0300, Hugo Palma <[EMAIL PROTECTED]>
escreveu:
I thought so too, but i'm starting to think there is one.
Here's some of the code in hope someone will spot something wrong:
Maybe not related to your problem, but the zone parameter of the Form
comp
I thought so too, but i'm starting to think there is one.
Here's some of the code in hope someone will spot something wrong:
template:
submit="true"/>
zone="processGrid">Search
inplace="true" rowsPerPage="prop:gridRowsPerPage" row="currentProcess"
Em Tue, 07 Oct 2008 15:22:03 -0300, Hugo Palma <[EMAIL PROTECTED]>
escreveu:
What's the difference between using the form submit with a zone and
using an event link besides the form parameters not getting updated ?
AFAIK, none.
--
Thiago H. de Paula Figueiredo
Independent Java consultant,
I had thought of that.
But all the form parameters are persisted and i have debugged the
application and the grid source parameter has the correct size. Only the
grid doesn't seem to be aware of it.
I just found out that if i use an eventlink component to trigger the
update instead of the for
Em Tue, 07 Oct 2008 13:47:30 -0300, Hugo Palma <[EMAIL PROTECTED]>
escreveu:
Caused by: java.lang.IndexOutOfBoundsException: Index: 10, Size: 10
Take a look at the collection returned to the Grid source parameter in the
second request. One common error is to not @Persist the form parameter
I have a search form and a grid with the results.
I'd like to submit the form and update the grid with the filtered
results without doing a full page refresh.
My take on this is to set the form component "zone" parameter to the
grid zone id so that the form submit it's treated "AJAX way" and