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

Martin Grigorov updated WICKET-2262:
------------------------------------

    Attachment: WICKET-2262.patch

Attach a patch which is partially working.
Now it uses the 'precondition' JavaScript before calling 
'wicketShow(ajaxIndicator)' but the problem is that it will increment the 
counter used in precondition twice per request attempt.

A better solution here is to add 'onStart()' callback as onSuccess/onFailure 
ones

> The starting of the ajax indicator don't respect AbstractDefaultAjaxBehavior 
> preconditionScript
> -----------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2262
>                 URL: https://issues.apache.org/jira/browse/WICKET-2262
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.6
>            Reporter: Pedro Santos
>            Assignee: Matej Knopp
>            Priority: Minor
>         Attachments: teste.zip, WICKET-2262.patch
>
>
> I have add an AbstractDefaultAjaxBehavior to an component that implements the 
> IAjaxIndicatorAware. But the indicator start an stay indicating an ajax 
> processing that is not happening due an condition implemented on my extended 
> AbstractDefaultAjaxBehavior preconditionScript that return false on the 
> occasion.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to