[ 
https://issues.apache.org/jira/browse/TAPESTRY-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625933#action_12625933
 ] 

Howard M. Lewis Ship commented on TAPESTRY-2619:
------------------------------------------------

The difference could be between a normal Ajax request and a form submission.

> Event Handler adds a new JSONObject to my JSONObject return
> -----------------------------------------------------------
>
>                 Key: TAPESTRY-2619
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2619
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.14
>            Reporter: Tobias Wehrum
>            Priority: Critical
>         Attachments: example.rar
>
>
> When trying to create an AJAX handler to process a form submit, instead of 
> returning my JSONObject simply as " {"somekey":"somevalue"} ", it returns " 
> {"somekey":"somevalue"}{} ", which is clearly an invalid JSON object. The {} 
> seems to be added at 
> org.apache.tapestry5.internal.services.AjaxComponentEventRequestHandler:108.
> See attached file for an example project showing this behavior.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to