tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-1328) Tapestry.ajaxRequest() fails when just parameters are provided, but not an onSuccess handler function
Date Wed, 27 Oct 2010 17:16:20 GMT

    [ 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.


Mime
View raw message