Author: husted
Date: Tue Jan 15 18:31:47 2008
New Revision: 612336

URL: http://svn.apache.org/viewvc?rev=612336&view=rev
Log:
WW-2383 option transfer select .ftl is brittle - Apply patch submitted by Dale 
Newfield 

Modified:
    
struts/struts2/trunk/core/src/main/resources/template/simple/optiontransferselect.ftl

Modified: 
struts/struts2/trunk/core/src/main/resources/template/simple/optiontransferselect.ftl
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/optiontransferselect.ftl?rev=612336&r1=612335&r2=612336&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/main/resources/template/simple/optiontransferselect.ftl
 (original)
+++ 
struts/struts2/trunk/core/src/main/resources/template/simple/optiontransferselect.ftl
 Tue Jan 15 18:31:47 2008
@@ -261,9 +261,7 @@
         </#if><#t/>
         <#assign doubleItemKeyStr = doubleItemKey.toString() /><#t/>
         <#if parameters.doubleListValue?exists><#t/>
-            <#if stack.findString(parameters.doubleListValue)?has_content><#t/>
-                <#assign doubleItemValue = 
stack.findString(parameters.doubleListValue) /><#t/>
-            </#if><#t/>
+            <#assign doubleItemValue = 
stack.findString(parameters.doubleListValue)!"" /><#t/>
         <#else><#t/>
             <#assign doubleItemValue = stack.findString('top') /><#t/>
         </#if><#t/>
@@ -290,4 +288,4 @@
 </#if>
 </td>
 </tr>
-</table>
\ No newline at end of file
+</table>


Reply via email to