struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1367168 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractDoubleListTag.java
Date Mon, 30 Jul 2012 16:51:53 GMT
Author: jogep
Date: Mon Jul 30 16:51:53 2012
New Revision: 1367168

URL: http://svn.apache.org/viewvc?rev=1367168&view=rev
Log:
WW-3846 Add a new attributes for optionsCollection

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractDoubleListTag.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractDoubleListTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractDoubleListTag.java?rev=1367168&r1=1367167&r2=1367168&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractDoubleListTag.java
(original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractDoubleListTag.java
Mon Jul 30 16:51:53 2012
@@ -31,6 +31,9 @@ public abstract class AbstractDoubleList
     protected String doubleList;
     protected String doubleListKey;
     protected String doubleListValue;
+    protected String doubleListCssClass;
+    protected String doubleListCssStyle;
+    protected String doubleListTitle;
     protected String doubleName;
     protected String doubleValue;
     protected String formName;
@@ -76,6 +79,9 @@ public abstract class AbstractDoubleList
         bean.setDoubleList(doubleList);
         bean.setDoubleListKey(doubleListKey);
         bean.setDoubleListValue(doubleListValue);
+        bean.setDoubleListCssClass(doubleListCssClass);
+        bean.setDoubleListCssStyle(doubleListCssStyle);
+        bean.setDoubleListTitle(doubleListTitle);
         bean.setDoubleName(doubleName);
         bean.setDoubleValue(doubleValue);
         bean.setFormName(formName);
@@ -127,6 +133,18 @@ public abstract class AbstractDoubleList
         this.doubleListValue = listValue;
     }
 
+    public void setDoubleListCssClass(String doubleListCssClass) {
+        this.doubleListCssClass = doubleListCssClass;
+    }
+
+    public void setDoubleListCssStyle(String doubleListCssStyle) {
+        this.doubleListCssStyle = doubleListCssStyle;
+    }
+
+    public void setDoubleListTitle(String doubleListTitle) {
+        this.doubleListTitle = doubleListTitle;
+    }
+
     public void setDoubleName(String aName) {
         doubleName = aName;
     }



Mime
View raw message