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 2014/05/24 07:07:39 UTC
svn commit: r1597237 -
/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceResult.ftl
Author: jleroux
Date: Sat May 24 05:07:39 2014
New Revision: 1597237
URL: http://svn.apache.org/r1597237
Log:
Improves serviceResult.ftl, from Yvan Cauchy (reformatted: we use 2 spaces for indentation in FTL files)
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceResult.ftl
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceResult.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceResult.ftl?rev=1597237&r1=1597236&r2=1597237&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceResult.ftl (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceResult.ftl Sat May 24 05:07:39 2014
@@ -28,17 +28,19 @@ under the License.
<td>${uiLabelMap.WebtoolsParameterValue}</td>
<td>${uiLabelMap.WebtoolsServiceSaveValue} ?</td>
</tr>
- <#list serviceResultList as srl>
- <tr>
- <#if srl.hasChild=="Y">
- <td><a href="<@o...@ofbizUrl><#if parameters.servicePath?exists>${parameters.servicePath}||</#if>${srl.key?if_exists}">${srl.key?if_exists}</a></td>
- <#else>
- <td>${srl.key?if_exists}</td>
- </#if>
- <td>${srl.value?if_exists}</td>
- <td><input type="checkbox" name="<#if parameters.servicePath?exists>${parameters.servicePath}||</#if>${srl.key?if_exists}" /></td>
- </tr>
- </#list>
+ <#if serviceResultList?has_content>
+ <#list serviceResultList as srl>
+ <tr>
+ <#if srl.hasChild=="Y">
+ <td><a href="<@o...@ofbizUrl><#if parameters.servicePath?exists>${parameters.servicePath}||</#if>${srl.key?if_exists}">${srl.key?if_exists}</a></td>
+ <#else>
+ <td>${srl.key?if_exists}</td>
+ </#if>
+ <td>${srl.value?if_exists}</td>
+ <td><input type="checkbox" name="<#if parameters.servicePath?exists>${parameters.servicePath}||</#if>${srl.key?if_exists}" /></td>
+ </tr>
+ </#list>
+ </#if>
<tr>
<td> </td>
<td class="label">${uiLabelMap.WebtoolsServiceClearPreviousParams} ? <input type="checkbox" name="_CLEAR_PREVIOUS_PARAMS_" /></td>
@@ -47,4 +49,4 @@ under the License.
</table>
</form>
</div>
-</div>
\ No newline at end of file
+</div>