You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Carsten Behring (JIRA)" <ji...@apache.org> on 2012/09/14 19:24:08 UTC

[jira] [Comment Edited] (WICKET-4764) Ajax links on second page of datatable not working if client side filtering is active

    [ https://issues.apache.org/jira/browse/WICKET-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455961#comment-13455961 ] 

Carsten Behring edited comment on WICKET-4764 at 9/15/12 4:24 AM:
------------------------------------------------------------------

I have some more detail.

It works, if the table is shown at least once on the screen completely on initial page load.

I modified the configuration of jquery datatable, so that pagination is in-active on the first load of the page.
Activating pagination or filtering after this, all links work.

But with the normal "pagination" behaviour, so that the pagination is active on first load of the page, I can only sucessfully click the ajax links of the first page. Clicking ajax links on second or further pages has no effect,
                
      was (Author: carstenbehring):
    I have some more detail.

It works, if the table is shown at least once on the screen comletely on initial page load.

I modified the configuration of jquery datatable, so that pagination is in-active on the first load of the page.
Activating pagination or filtering after this, all links work.

But with the normal "pagination" behaviour, so that the pagination is active on first load of the page, I can only sucessfully click all ajax links of the first page.
                  
> Ajax links on second page of  datatable not working if client side filtering is active
> --------------------------------------------------------------------------------------
>
>                 Key: WICKET-4764
>                 URL: https://issues.apache.org/jira/browse/WICKET-4764
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.0.0
>            Reporter: Carsten Behring
>
> I am using jquery datatable with wicket 6.0.0.
> One of my columns contains an ajax link, which opens a ModalDialog.
> From wicket 6.0.0 onwards, the links do only work on the first page of the paginated list.
> (The list is client side paginated by jquery datatable)
> There is the same problem, if the list gets filtered (client side).
> It seems to me that there is a problem with the Ajax links, as soon as some of the rows are "invisible" (because filtered or on other page)
> It seems that the ajax events are either not fired at all, or do not manage to call the server side "onClick" method.
> With wicket 1.5.8 everything was working.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira