You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2016/04/08 13:54:02 UTC

svn commit: r1738235 - /ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl

Author: jleroux
Date: Fri Apr  8 11:54:01 2016
New Revision: 1738235

URL: http://svn.apache.org/viewvc?rev=1738235&view=rev
Log:
A patch from Kongrath Suankaewmanee for "Error in entity reference chart for static in webtools" https://issues.apache.org/jira/browse/OFBIZ-6995

I found the error when I try to use entity reference chart for static in webtools,
https://localhost:8443/webtools/control/entityref?forstatic=true
and choose one from the list of left side and the error appear on right hand side.
It's work without error for "Enitity Packages" list but doesn't for "Entities - Alphabetical" list.

Modified:
    ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl

Modified: ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl?rev=1738235&r1=1738234&r2=1738235&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl Fri Apr  8 11:54:01 2016
@@ -54,7 +54,7 @@ under the License.
                 <div class="section-header">${uiLabelMap.WebtoolsEntityPackages}</div>
                 <#list packageNames as packageName>
                     <#if forstatic>
-                        <a href="entityref_main#${packageName}" target="entityFrame">${packageName}</a><br />
+                        <a href="<@o...@ofbizUrl>" target="entityFrame">${packageName}</a><br />
                     <#else>
                         <a href="<@o...@ofbizUrl>" target="entityFrame">${packageName}</a><br />
                     </#if>
@@ -65,7 +65,7 @@ under the License.
                 <div class="section-header">${uiLabelMap.WebtoolsEntitiesAlpha}</div>
                 <#list entitiesList as entity>
                     <#if forstatic>
-                        <a href="<@o...@ofbizUrl>" target="entityFrame">${entity.entityName}</a>
+                        <a href="<@o...@ofbizUrl>" target="entityFrame">${entity.entityName}</a>
                     <#else>
                         <a href="<@o...@ofbizUrl>" target="entityFrame">${entity.entityName}</a>
                     </#if>