[ https://issues.apache.org/jira/browse/WICKET-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706805#action_12706805 ]
Pedro Santos edited comment on WICKET-2262 at 9/15/09 4:12 AM: --------------------------------------------------------------- Sending the javascript that is causing the problem: wicketShow('testd--ajax-indicator'); var wcall = wicketSubmitFormById( 'formFilter22', '?wicket:interface=:1:form1:test:lookupWindow:content:formFilter:tfFilter::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true', null, function() { ; wicketHide('testd--ajax-indicator'); }.bind(this), function() { ; wicketHide('testd--ajax-indicator'); }.bind(this), function() { if (window.event != null && window.event.keyCode == 13) { return Wicket.$$(this) && Wicket.$$('formFilter22'); } else { return false; } }.bind(this));; the snippet lines 12-16 was returned by preconditionScript method was (Author: pedrosans): Sending the javascript generated code that is causing the problem: wicketShow('testd--ajax-indicator'); var wcall = wicketSubmitFormById( 'formFilter22', '?wicket:interface=:1:form1:test:lookupWindow:content:formFilter:tfFilter::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true', null, function() { ; wicketHide('testd--ajax-indicator'); }.bind(this), function() { ; wicketHide('testd--ajax-indicator'); }.bind(this), function() { if (window.event != null && window.event.keyCode == 13) { return Wicket.$$(this) && Wicket.$$('formFilter22'); } else { return false; } }.bind(this));; the snippet lines 12-16 was returned by preconditionScript method > 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 > > > 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.