Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 41263 invoked from network); 27 Oct 2010 17:16:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Oct 2010 17:16:41 -0000 Received: (qmail 88649 invoked by uid 500); 27 Oct 2010 17:16:41 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 88614 invoked by uid 500); 27 Oct 2010 17:16:41 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 88607 invoked by uid 99); 27 Oct 2010 17:16:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 17:16:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 17:16:40 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9RHGKsG020432 for ; Wed, 27 Oct 2010 17:16:20 GMT Message-ID: <12935517.102871288199780744.JavaMail.jira@thor> Date: Wed, 27 Oct 2010 13:16:20 -0400 (EDT) From: "Howard M. Lewis Ship (JIRA)" To: commits@tapestry.apache.org Subject: [jira] Commented: (TAP5-1328) Tapestry.ajaxRequest() fails when just parameters are provided, but not an onSuccess handler function In-Reply-To: <1257305.102851288199780114.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.