You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Lance (JIRA)" <ji...@apache.org> on 2013/11/28 14:16:36 UTC

[jira] [Closed] (TAP5-2242) json: binding prefix

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

Lance closed TAP5-2242.
-----------------------

    Resolution: Not A Problem

> json: binding prefix
> --------------------
>
>                 Key: TAP5-2242
>                 URL: https://issues.apache.org/jira/browse/TAP5-2242
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-json
>            Reporter: Lance
>            Priority: Minor
>
> It would be nice to have a JSON binding prefix.
> eg:
> {code}
> <t:someComponent
>    jsonObject="json:{foo:'value1', bar:'value2'}"
>    jsonArray="json:['foo','bar']"
> />
> {code}
> This would likely require a check for the first character as a '{' will create a JSONObject whereas a '[' will create a JSONArray.



--
This message was sent by Atlassian JIRA
(v6.1#6144)