You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/09/21 14:59:09 UTC

[jira] [Updated] (WICKET-4071) AjaxIndicatorAppender removes itself immediately when added via ajax

     [ https://issues.apache.org/jira/browse/WICKET-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-4071:
------------------------------------

    Attachment: WICKET-4071.patch

Can you try this patch ?
Or provide a quickstart to test it myself.
Thanks!

> AjaxIndicatorAppender removes itself immediately when added via ajax
> --------------------------------------------------------------------
>
>                 Key: WICKET-4071
>                 URL: https://issues.apache.org/jira/browse/WICKET-4071
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.5.0
>            Reporter: Dries Schulten
>            Priority: Minor
>         Attachments: WICKET-4071.patch
>
>
> When addding/replacing IndicatingAjaxLink's using ajax in Wicket 1.5.0 it's indicator markup is directly removed when parsing the ajax response. The AjaxIndicatorAppender renders a bit of javascript to the response (when it is an ajax request) to remove previous indicators from the dom (see issue WICKET-722) but in 1.5.0 the execution order of the javascript is different, causing the indicator markup to be added first and the javascript to remove *previous* versions of the indicator to be run next and thus removing the newly added indicator.
> De ajax debug windows shows that the component is replaced first and then the javascript is run. In 1.4.18 ajax logging shows the javascript run first and then the component gets replaced, resulting in correct behavior.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira