Do not silently fail when ajax precondition script fails
--------------------------------------------------------

                 Key: WICKET-1381
                 URL: https://issues.apache.org/jira/browse/WICKET-1381
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
            Reporter: Arnout Engelen
            Priority: Minor


When the precondition script for an ajax behaviour returns false, the ajax call 
is silently blackholed. I think it would be a good idea to at least log 
something to the wicket ajax debug panel in this case - it sure puzzled me (as 
I wasn't aware of the existence precondition scripts at all).

http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/ajax/AbstractDefaultAjaxBehavior.html#getPreconditionScript()

-- 
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