Hi Wei,

At http://svn.apache.org/viewvc?view=revision&revision=1762227 I read that 
Jacopo removed this in purpose

<<moved freemarkerImports.properties from "widget" to "base" component, and
changed its content (and the content of the associated templates
AutoImportTemplate.ftl and *HtmlTemplate.ftl*) to remove the dependency from 
base
to widget&common; some resources of "widget" and "common" are still referenced
from AutoImportTemplate.ftl (that is in "base") but even if they are soft
dependencies: if they are missing the system will load properly without any
error or warning; before this change it was impossible to use, or unit test,
FreeMarkerWorker before the "widget" and "common" components were loaded by the
system, now it is possible>>

So are we sure it's a good thing to do? Did you cross issues? If yes, why not 
creating a Jira?

Thanks

Jacques

Le 06/03/2017 à 01:39, zhang...@apache.org a écrit :
Author: zhangwei
Date: Mon Mar  6 00:39:53 2017
New Revision: 1785581

URL: http://svn.apache.org/viewvc?rev=1785581&view=rev
Log:
Lost <#include "component://widget/templates/HtmlFormMacroLibrary.ftl"/> in 
framework/common/template/HtmlTemplate.ftl

Modified:
     
ofbiz/ofbiz-framework/trunk/framework/common/template/includes/HtmlTemplate.ftl

Modified: 
ofbiz/ofbiz-framework/trunk/framework/common/template/includes/HtmlTemplate.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/template/includes/HtmlTemplate.ftl?rev=1785581&r1=1785580&r2=1785581&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/framework/common/template/includes/HtmlTemplate.ftl 
(original)
+++ 
ofbiz/ofbiz-framework/trunk/framework/common/template/includes/HtmlTemplate.ftl 
Mon Mar  6 00:39:53 2017
@@ -16,6 +16,7 @@ KIND, either express or implied.  See th
  specific language governing permissions and limitations
  under the License.
  -->
+<#include "component://widget/templates/HtmlFormMacroLibrary.ftl"/>
<#macro lookupField className="" alert="" name="" value="" size="20" maxlength="20" id="" event="" action="" readonly="" autocomplete="" descriptionFieldName="" formName="" fieldFormName="" targetParameterIter="" imgSrc="" ajaxUrl="" ajaxEnabled="" presentation="layer" width="" height="" position="topleft" fadeBackground="true" clearText="" showDescription="" initiallyCollapsed="" tabindex="">
    <#if (!ajaxEnabled?has_content)>




Reply via email to