You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2010/10/27 19:16:20 UTC

[jira] Commented: (TAP5-1328) Tapestry.ajaxRequest() fails when just parameters are provided, but not an onSuccess handler function

    [ https://issues.apache.org/jira/browse/TAP5-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925462#action_12925462 ] 

Howard M. Lewis Ship commented on TAP5-1328:
--------------------------------------------

Workaround:

Tapestry.ajaxRequest(url, { parameters: { "foo" : "bar" }, onSuccess: function() { } });


> Tapestry.ajaxRequest() fails when just parameters are provided, but not an onSuccess handler function
> -----------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1328
>                 URL: https://issues.apache.org/jira/browse/TAP5-1328
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>
> 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."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.