You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by we...@apache.org on 2009/04/20 07:02:48 UTC
svn commit: r766574 -
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleListUIBean.java
Author: wesw
Date: Mon Apr 20 05:02:47 2009
New Revision: 766574
URL: http://svn.apache.org/viewvc?rev=766574&view=rev
Log:
WW-2993, making sure to evaluate attribute
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleListUIBean.java
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleListUIBean.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleListUIBean.java?rev=766574&r1=766573&r2=766574&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleListUIBean.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleListUIBean.java Mon Apr 20 05:02:47 2009
@@ -182,7 +182,7 @@
// this check is needed for backwards compatibility with 2.1.x
addParameter("doubleId", findStringIfAltSyntax(doubleId));
} else if (form != null) {
- addParameter("doubleId", form.getParameters().get("id") + "_" +escape(this.doubleName));
+ addParameter("doubleId", form.getParameters().get("id") + "_" +escape(doubleName !=null ? findString(doubleName) : null));
} else {
addParameter("doubleId", escape(doubleName != null ? findString(doubleName) : null));
}