[ 
https://issues.apache.org/jira/browse/TAPESTRY-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship closed TAPESTRY-2129.
------------------------------------------

    Resolution: Duplicate
      Assignee: Howard M. Lewis Ship

Duplicate of TAPESTRY-1939.

> JSON and quoting
> ----------------
>
>                 Key: TAPESTRY-2129
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2129
>             Project: Tapestry
>          Issue Type: Bug
>          Components: XHR/dhtml/Ajax
>    Affects Versions: 5.0.10
>            Reporter: Igor Drobiazko
>            Assignee: Howard M. Lewis Ship
>
> JSONObject#valueToString is always quoting all the string elements of a 
> JSONObject. It would be nice to have a possibility to put strings into 
> JSONObject that are not quoted. Let's have a look at an example:
> I'm trying to create a patch which adds further parameters to the mixin 
> Autocomplete. For example "afterUpdateElement" (see 
> http://wiki.script.aculo.us/scriptaculous/show/Ajax.Autocompleter).
> Since the name of the JavaScript function is quoted Ajax.Autocompleter throws 
> following error:
> this.options.afterUpdateElement is not a function
> [Break on this error] this.options.afterUpdateElement(this.element, 
> selectedElement);
> The reason is that it expects the function names to be not quoted.
> We had the same issue for T4 
> https://issues.apache.org/jira/browse/TAPESTRY-1795 
> But this was solved by a workaround for a single component. I think we need a 
> general solution for T5.

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