You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Julian Sinai <js...@yahoo.com> on 2009/05/30 02:18:59 UTC

CheckGroup and AjaxPagingNavigator

I'm having trouble with my usage of CheckGroup and AjaxPagingNavigator.

If the user checks one or more checkboxes on one page of my data table, then navigates to the next page, the choices on the first page are forgotten. In my application, they need to be remembered. This was not a problem before I switched to Ajax paging navigation.

If someone can help, I'd appreciate it.

Thanks,
Julian

More detail:

I'm using the DataView/IDataProvider pattern for my data table. 
I'm using CheckGroup, Check, and CheckGroupSelector for the checkboxes in my data table.

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


Re: CheckGroup and AjaxPagingNavigator

Posted by JulianS <js...@yahoo.com>.
Thanks Igor

However, I'm not seeing any such factory methods in 1.4-rc2. The only
subclass of PagingNavigationLink is AjaxPagingNavigationLink; there's no
submit version. As I see it, my best option is to create my own
AjaxPagingNavigationSubmitLink by cloning the code in AjaxSubmitLink. I have
to do this because AjaxPagingNavigationLink extends PagingNavigationLink. Or
is there a better way?


igor.vaynberg wrote:
> 
> you need to change the links to be ajaxsubmitlinks instead of just
> ajaxlinks, there are factory methods on the navigator.
> 

-- 
View this message in context: http://www.nabble.com/CheckGroup-and-AjaxPagingNavigator-tp23788885p23817894.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: CheckGroup and AjaxPagingNavigator

Posted by Igor Vaynberg <ig...@gmail.com>.
you need to change the links to be ajaxsubmitlinks instead of just
ajaxlinks, there are factory methods on the navigator.

-igor

On Fri, May 29, 2009 at 5:18 PM, Julian Sinai <js...@yahoo.com> wrote:
>
> I'm having trouble with my usage of CheckGroup and AjaxPagingNavigator.
>
> If the user checks one or more checkboxes on one page of my data table, then navigates to the next page, the choices on the first page are forgotten. In my application, they need to be remembered. This was not a problem before I switched to Ajax paging navigation.
>
> If someone can help, I'd appreciate it.
>
> Thanks,
> Julian
>
> More detail:
>
> I'm using the DataView/IDataProvider pattern for my data table.
> I'm using CheckGroup, Check, and CheckGroupSelector for the checkboxes in my data table.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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