Wicket
  1. Wicket
  2. WICKET-1381

Do not silently fail when ajax precondition script fails

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.2
    • Component/s: wicket
    • Labels:
      None

      Description

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Johan Compagner
            Reporter:
            Arnout Engelen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development