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 12:37:35 UTC
[jira] [Created] (TAP5-2242) json: binding prefix
Lance created TAP5-2242:
---------------------------
Summary: 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)