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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.2
    • 5.2.3
    • tapestry-core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment