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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jleroux@apache.org
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='<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}&amp;show_wsdl=true</@ofbizUrl>'>${uiLabelMap.WebtoolsShowShowWSDL}</a>)</#if></td>
+            <td>${selectedServiceMap.export}<#if selectedServiceMap.exportBool = "true">&nbsp;(<a href='<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}&amp;show_wsdl=true</@ofbizUrl>'>${uiLabelMap.WebtoolsShowShowWSDL}</a>)</#if></td>
             <td class="label">${uiLabelMap.WebtoolsLocation}</td>
             <td><a href='<@ofbizUrl>${url}?constraint=location@${selectedServiceMap.location}</@ofbizUrl>'>${selectedServiceMap.location}</a></td>
           </tr>