You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Paul Foxworthy (JIRA)" <ji...@apache.org> on 2016/11/21 05:14:58 UTC

[jira] [Commented] (OFBIZ-7004) Allow to accept CDATA

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

Paul Foxworthy commented on OFBIZ-7004:
---------------------------------------

Probably way too late, but should location= be changed to src= , similar to HTML? The script element can have a src attribute, or embedded script. html-template might be easier to understand if it follows the same conventions.

> Allow <html-template> to accept CDATA
> -------------------------------------
>
>                 Key: OFBIZ-7004
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7004
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>            Reporter: james yong
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-7004.patch, OFBIZ-7004.patch
>
>
> Currently, html-template tag accepts a location attribute.
> Propose that the html-template tag also accepts CDATA content.
> OFBiz will look for CDATA content if the location attribute is empty.
>   
> The advantage is that we need not create a .ftl file whenever we add some html contents into the screen widget.
> I need some opinions before starting work on this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)