[jira] [Commented] (OFBIZ-11686) multi-block attribute for html-template tag

2020-08-17 Thread James Yong (Jira)


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

James Yong commented on OFBIZ-11686:


Hi Jacques,

Looks normal. I can put the external script tag within body tag if you prefer.

From 
[https://www.digitalocean.com/community/tutorials/how-to-add-javascript-to-html]:

{code}
The  tag can be placed in the  section of your HTML, in the 
 section, or after the  close tag, depending on when you want the 
JavaScript to load.
{code}

Regards,
 James

> multi-block attribute for html-template tag
> ---
>
> Key: OFBIZ-11686
> URL: https://issues.apache.org/jira/browse/OFBIZ-11686
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/widget
>Affects Versions: Upcoming Branch
>Reporter: James Yong
>Assignee: James Yong
>Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-11686.patch, OFBIZ-11686.patch, OFBIZ-11686.patch
>
>
> Propose a new  widget tag that adds an external script after 
> body tag.
> The external script will contain the rendered result of the specified 
> template file location.
>  e.g.
> {code:xml}
> 
>  
> {code}
> 
>  will render as:
> {code:xml}
> 
>