Patch for optiontransferselect.ftl null doubleListValue issue from Dale Newfield.

See thread at http://www.nabble.com/-struts--2.0.11--optiontransferselect-limit--tt14344098.html#a14344098.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@604737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Newton
2007-12-16 23:14:16 +00:00
parent 918a89ce7d
commit b6f77d1ef7
@@ -261,7 +261,9 @@
</#if><#t/>
<#assign doubleItemKeyStr = doubleItemKey.toString() /><#t/>
<#if parameters.doubleListValue?exists><#t/>
<#assign doubleItemValue = stack.findString(parameters.doubleListValue) /><#t/>
<#if stack.findString(parameters.doubleListValue)?has_content><#t/>
<#assign doubleItemValue = stack.findString(parameters.doubleListValue) /><#t/>
</#if><#t/>
<#else><#t/>
<#assign doubleItemValue = stack.findString('top') /><#t/>
</#if><#t/>