Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1381

Do not silently fail when ajax precondition script fails

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.2
    • wicket
    • 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()

      Attachments

        Activity

          People

            jcompagner Johan Compagner
            raboof Arnout Engelen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: