You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Arnout Engelen (JIRA)" <ji...@apache.org> on 2008/02/28 23:43:51 UTC

[jira] Created: (WICKET-1381) Do not silently fail when ajax precondition script fails

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.


[jira] Closed: (WICKET-1381) Do not silently fail when ajax precondition script fails

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Compagner closed WICKET-1381.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.2
         Assignee: Johan Compagner

added some log lines

> 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
>            Assignee: Johan Compagner
>            Priority: Minor
>             Fix For: 1.3.2
>
>
> 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.