You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2013/11/18 20:37:22 UTC

[jira] [Commented] (TOBAGO-1346) JSON friendly HTML code (change " with ' for attributes)

    [ https://issues.apache.org/jira/browse/TOBAGO-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825672#comment-13825672 ] 

Hudson commented on TOBAGO-1346:
--------------------------------

SUCCESS: Integrated in tobago-trunk #1163 (See [https://builds.apache.org/job/tobago-trunk/1163/])
TOBAGO-1346: JSON friendly HTML code (change " with ' for attributes) (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1542989)
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JsonWriterUtils.java
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/webapp/JsonResponseWriter.java
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java
TOBAGO-1346: JSON friendly HTML code (change " with ' for attributes) (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1542973)
* /myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/util/HtmlWriterUtilsUnitTest.java
* /myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriterUnitTest.java
TOBAGO-1346: JSON friendly HTML code (change " with ' for attributes) (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1542964)
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/HtmlWriterUtils.java
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/webapp/TobagoResponseWriterBase.java
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java


> JSON friendly HTML code (change " with ' for attributes)
> --------------------------------------------------------
>
>                 Key: TOBAGO-1346
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1346
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Themes
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>             Fix For: 2.0.0-alpha-3, 2.0.0
>
>
> Changing the string borders of attributes in HTML from
>   foo="bar"
> to
>   foo='bar'
> makes it shorter and easier to read, when the attributes value is JSON.
> Example:
> data-tobago-commands="{&quot;resize&quot;:{&quot;action&quot;:&quot;page:j_id_3&quot;}}"
> vs.
> data-tobago-commands='{"resize":{"action":"page:j_id_3"}}'



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