You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2015/06/26 21:53:33 UTC

[07/10] struts git commit: Merge branch 'master' into feature/remove-html5-deprecations

http://git-wip-us.apache.org/repos/asf/struts/blob/90444f99/core/src/main/resources/template/simple/inputtransferselect.ftl
----------------------------------------------------------------------
diff --cc core/src/main/resources/template/simple/inputtransferselect.ftl
index afef161,ef13ca6..44afd66
--- a/core/src/main/resources/template/simple/inputtransferselect.ftl
+++ b/core/src/main/resources/template/simple/inputtransferselect.ftl
@@@ -61,13 -61,13 +61,13 @@@
  
  
  </td>
 -<td valign="middle" align="center">
 +<td class="tdTransferSelect">
- 	<#assign addLabel=parameters.addLabel?default("->")?html /><#t/>
+ 	<#assign addLabel=(parameters.addLabel!"->")?html /><#t/>
  	<input type="button"
- 		<#if parameters.buttonCssClass??><#t/>
+ 		<#if parameters.buttonCssClass?has_content><#t/>
  		 class="${parameters.buttonCssClass?html}"
  		</#if><#t/>
- 		<#if parameters.buttonCssStyle??>
+ 		<#if parameters.buttonCssStyle?has_content>
  		 style="${parameters.buttonCssStyle?html}"
  		</#if><#t/>
  		 value="${addLabel}" onclick="addOption(document.getElementById('${parameters.id?html}_input'), document.getElementById('${parameters.id?html}'))" /><br /><br />