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

Jacques Le Roux commented on OFBIZ-7004:
----------------------------------------

Sincerely I'd not like to see that. For instance the content of 
{code}
<html><html-template 
location="component://ecommerce/webapp/ecommerce/login.ftl"/></html>
{code}
is large (147 lines). Thus instead of an easy to read file, in an IDE with an 
appropriate addon, we would get something hard to read. I don't see the benefit.

I was more thinking at a small example in the FormWidgetExampleScreens.xml, but 
then we need some imagination :)

Another solution could be to convert very small ftl files, like for instance 
editaddforumdata.ftl. They are some other small files in this folder. 

For me it the files have more than 2 lines, it does not worth changing. And 
before doing such changes I'd like to have others's opinion...


> 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)

Reply via email to