use AjaxFormChoiceComponentUpdatingBehavior, that one works with Check.

also you can use CheckBox with the ajax behavior instead of CheckGroup/Check

or replace links used by navigator with submit links, there are
factory methods on the navigator.

-igor

On Tue, Nov 9, 2010 at 8:41 AM, Matt Schmidt <mschmid...@gmail.com> wrote:
> I have a CheckGroup that contains an AjaxFallbackDefaultDataTable that has a
> column containing a Check. As long as I click my submit button while on the
> first page of the DataTable, the model object of the CheckGroup is updated
> as expected with the items I had checked. However, if I check some
> checkboxes and then go to page 2 of the DataTable, the CheckGroup's model
> object is not updated and I lose everything I checked on page 1.
>
> The DataTable class has an "onPageChanged()" event, but it appears that it
> is called after the page is actually changed.
>
> My other thought was to add an AjaxFormComponentUpdatingBehavior to the
> Check, but Check is not a FormComponent.
>
> Any thoughts?
>
> Thanks,
> Matt
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to