[ https://issues.apache.org/jira/browse/OFBIZ-7004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253187#comment-15253187 ]
james yong commented on OFBIZ-7004: ----------------------------------- Let say we have this code: {code} <html><html-template location="component://ecommerce/webapp/ecommerce/login.ftl"/></html> {code} We can copy the content inside login.ftl file into the html-template tag to become this: {code} <html><html-template> <![CDATA[ ... contents of component://ecommerce/webapp/ecommerce/login.ftl ... ]]> </html-template></html> {code} > 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)