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 2011/02/18 16:06:44 UTC

svn commit: r1072017 - in /ofbiz/trunk/framework/webtools/webapp/webtools: WEB-INF/actions/service/AvailableServices.groovy service/availableservices.ftl

Author: jleroux
Date: Fri Feb 18 15:06:44 2011
New Revision: 1072017

URL: http://svn.apache.org/viewvc?rev=1072017&view=rev
Log:
This was preventing to show "(show WSDL)" in other languages than English

Modified:
    ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
    ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl

Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy?rev=1072017&r1=1072016&r2=1072017&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy Fri Feb 18 15:06:44 2011
@@ -357,6 +357,7 @@ if (selectedService) {
         engineName = curServiceModel.engineName ?: "NA";
         defaultEntityName = curServiceModel.defaultEntityName ?: "NA";
         export = curServiceModel.export ? uiLabelMap.CommonTrue : uiLabelMap.CommonFalse;
+        exportBool = curServiceModel.export ? "true" : "false";
         permissionGroups = curServiceModel.permissionGroups ?: "NA";
         implServices = curServiceModel.implServices ?: "NA";
         overrideParameters = curServiceModel.overrideParameters;
@@ -380,6 +381,7 @@ if (selectedService) {
         curServiceMap.location = location;
         curServiceMap.requireNewTransaction = requireNewTransaction;
         curServiceMap.export = export;
+        curServiceMap.exportBool = exportBool;
 
         if (permissionGroups && !permissionGroups.equals("NA")) {
             permList = new ArrayList(permissionGroups.size());

Modified: ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl?rev=1072017&r1=1072016&r2=1072017&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl Fri Feb 18 15:06:44 2011
@@ -62,7 +62,7 @@ under the License.
           </tr>
           <tr>
             <td class="label">${uiLabelMap.WebtoolsExportable}</td>
-            <td>${selectedServiceMap.export}<#if selectedServiceMap.export = "True">&nbsp;(<a href='<@o...@ofbizUrl>'>${uiLabelMap.WebtoolsShowShowWSDL}</a>)</#if></td>
+            <td>${selectedServiceMap.export}<#if selectedServiceMap.exportBool = "true">&nbsp;(<a href='<@o...@ofbizUrl>'>${uiLabelMap.WebtoolsShowShowWSDL}</a>)</#if></td>
             <td class="label">${uiLabelMap.WebtoolsLocation}</td>
             <td><a href='<@o...@ofbizUrl>'>${selectedServiceMap.location}</a></td>
           </tr>