Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1328

Tapestry.ajaxRequest() fails when just parameters are provided, but not an onSuccess handler function

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.2
    • Fix Version/s: 5.2.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      So... Tapestry.ajaxRequest(url, { parameters:

      { "foo" : "bar" }

      }) should work, and just ignore the value from the server. Instead, it fails on the client with an exception about "successHandler is not defined."

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: