From 8ec7dd34fe02aa5ef29d8aca57e19f62b96551c8 Mon Sep 17 00:00:00 2001 From: Ted Nathan Husted Date: Wed, 16 Jan 2008 02:31:47 +0000 Subject: [PATCH] WW-2383 option transfer select .ftl is brittle - Apply patch submitted by Dale Newfield git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@612336 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/resources/template/simple/optiontransferselect.ftl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/src/main/resources/template/simple/optiontransferselect.ftl b/core/src/main/resources/template/simple/optiontransferselect.ftl index 469ff54d7..fd9c675a2 100644 --- a/core/src/main/resources/template/simple/optiontransferselect.ftl +++ b/core/src/main/resources/template/simple/optiontransferselect.ftl @@ -261,9 +261,7 @@ <#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/> - <#t/> + <#assign doubleItemValue = stack.findString(parameters.doubleListValue)!"" /><#t/> <#else><#t/> <#assign doubleItemValue = stack.findString('top') /><#t/> <#t/> @@ -290,4 +288,4 @@ - \ No newline at end of file +