[
https://issues.apache.org/jira/browse/OFBIZ-6448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379117#comment-15379117 ]
Pierre Smits commented on OFBIZ-6448:
-------------------------------------
Hi Deepak,
I created the task back then after having done a search on all *UtilProperties.getProperties* occurences in the code base. Seeing your posting triggered me to have a deeper look at this.
I found that there are 2 references relating to freemarker:
* (UtilProperties.getProperties("freemarkerImports") -> freemarkerImports.properties
* loader.getResources("freemarkerTransforms.properties") ->freemarkerTransform.properties
The first (freemarkerImports.properties) has this:
{code}
htmlTemplate=component://common/template/includes/HtmlTemplate.ftl
{code}
In our multi-tenant scenario we found this is to restrictive, as we have a tenant which wanted/needed to deviate from the common stuff:
a differrent approach to the various html*FormMacroLibrary.ftl files. While at the same time maintaining the generics for others.
The second (freemarkerTransform.properties):
{code}
menuWrap=org.ofbiz.widget.renderer.MenuWrapTransform
{code}
Given that both the first and second are interlinked, we had to address this too for the tenant, while maintaining the generics for others.
> Have configuration options regarding freemarkerImports.properties
> -----------------------------------------------------------------
>
> Key: OFBIZ-6448
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6448> Project: OFBiz
> Issue Type: Sub-task
> Components: framework
> Affects Versions: Trunk
> Reporter: Pierre Smits
> Assignee: Pierre Smits
> Attachments: OFBIZ-6448-FreeMarkerWorker.java.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)