[CONF] Confluence Changes in the last 24 hours

2009-04-24 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

OpenJPA (openjpa) http://cwiki.apache.org/confluence/display/openjpa
|
|-Pages Added or Edited in This Space
 |-- Index was last edited by michael.d.d...@gmail.com (11:03 AM).
 |   http://cwiki.apache.org/confluence/display/openjpa/Index
 |-- OpenJPA Release Management was last edited by michael.d.d...@gmail.com 
(10:55 AM).
 |   
http://cwiki.apache.org/confluence/display/openjpa/OpenJPA+Release+Management

Apache Sling (SLING) http://cwiki.apache.org/confluence/display/SLING
|
|-Pages Added or Edited in This Space
 |-- Authentication Initiation was last edited by fmeschbe (12:57 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Authentication+Initiation
 |-- Flexible Resource Resolution was last edited by fmeschbe (12:46 AM).
 |   
http://cwiki.apache.org/confluence/display/SLING/Flexible+Resource+Resolution

Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL
|
|-Pages Added or Edited in This Space
 |-- tutorial-osgi-camel-part1 was last edited by cmoulli...@xpectis.com (07:43 
AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/tutorial-osgi-camel-part1

Apache Sling Website (SLINGxSITE) 
http://cwiki.apache.org/confluence/display/SLINGxSITE
|
|-Pages Added or Edited in This Space
 |-- Discover Sling in 15 minutes was last edited by bdelacretaz (11:56 PM).
 |   
http://cwiki.apache.org/confluence/display/SLINGxSITE/Discover+Sling+in+15+minutes
 |-- Filters was created by fmeschbe (04:01 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Filters
 |-- Advanced Topics was last edited by fmeschbe (04:57 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Advanced+Topics
 |-- Documentation was last edited by fmeschbe (03:37 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Documentation

Apache Geronimo v2.2 (GMOxDOC22) 
http://cwiki.apache.org/confluence/display/GMOxDOC22
|
|-Pages Added or Edited in This Space
 |-- Configuring application specific logging with Log4j was last edited by 
chirun...@gmail.com (07:53 PM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC22/Configuring+application+specific+logging+with+Log4j

Apache Shindig (SHINDIG) http://cwiki.apache.org/confluence/display/SHINDIG
|
|-Pages Added or Edited in This Space
 |-- Index was last edited by weitz...@us.ibm.com (06:51 AM).
 |   http://cwiki.apache.org/confluence/display/SHINDIG/Index

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- Building with Maven was last edited by w...@wantii.com (11:19 AM).
 |   http://cwiki.apache.org/confluence/display/WW/Building+with+Maven
 |-- OSGi Plugin was last edited by musachy (10:45 AM).
 |   http://cwiki.apache.org/confluence/display/WW/OSGi+Plugin

Apache Pivot (PIVOT) http://cwiki.apache.org/confluence/display/PIVOT
|
|-Pages Added or Edited in This Space
 |-- Index was last edited by gkbr...@mac.com (06:59 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/Index
 |-- RSS Feed Demo was created by gkbr...@mac.com (04:53 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/RSS+Feed+Demo
 |-- Demos was last edited by gkbr...@mac.com (06:17 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/Demos
 |-- Scripting Demo was last edited by gkbr...@mac.com (05:02 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/Scripting+Demo
 |-- Fixed Column Table Demo was last edited by gkbr...@mac.com (05:02 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/Fixed+Column+Table+Demo
 |-- Decorator Demo was last edited by gkbr...@mac.com (05:01 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/Decorator+Demo
 |-- Push Client Demo was last edited by gkbr...@mac.com (05:01 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/Push+Client+Demo
 |-- DOM Demo was last edited by gkbr...@mac.com (05:00 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/DOM+Demo
 |-- Large Data Sets Demo was last edited by gkbr...@mac.com (05:00 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/Large+Data+Sets+Demo
 |-- Charting Demo was last edited by gkbr...@mac.com (04:59 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/Charting+Demo
 |-- Table Row Editor Demo was last edited by gkbr...@mac.com (04:58 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/Table+Row+Editor+Demo
 |-- File Drag & Drop Demo was last edited by gkbr...@mac.com (04:58 AM).
 |   http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=113441
 |-- File Browser Demo was last edited by gkbr...@mac.com (04:56 AM).
 |   http://cwiki.apache.org/confluence/display/PIVOT/File+Browser+Demo

Apache Geronimo v2.1 (GMOxDOC21) 
http://cwiki.apache.org

svn commit: r768217 - in /struts/struts2/trunk/plugins/jfreechart: pom.xml src/main/java/org/apache/struts2/dispatcher/ChartResult.java src/test/java/org/apache/struts2/dispatcher/ChartResultTest.java

2009-04-24 Thread hermanns
Author: hermanns
Date: Fri Apr 24 08:08:43 2009
New Revision: 768217

URL: http://svn.apache.org/viewvc?rev=768217&view=rev
Log:
WW-2742 Paramters not being set in JFreeChart Plugin

Modified:
struts/struts2/trunk/plugins/jfreechart/pom.xml

struts/struts2/trunk/plugins/jfreechart/src/main/java/org/apache/struts2/dispatcher/ChartResult.java

struts/struts2/trunk/plugins/jfreechart/src/test/java/org/apache/struts2/dispatcher/ChartResultTest.java

Modified: struts/struts2/trunk/plugins/jfreechart/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/jfreechart/pom.xml?rev=768217&r1=768216&r2=768217&view=diff
==
--- struts/struts2/trunk/plugins/jfreechart/pom.xml (original)
+++ struts/struts2/trunk/plugins/jfreechart/pom.xml Fri Apr 24 08:08:43 2009
@@ -43,7 +43,7 @@
 
 jfree
 jcommon
-1.0.2
+1.0.12
 provided
 
 
@@ -55,7 +55,7 @@
 
 jfree
 jfreechart
-1.0.1
+1.0.9
 provided
 
 
@@ -70,6 +70,31 @@
 0.09
 test
 
+
+org.apache.struts
+struts2-core
+compile
+${pom.version}
+
+
+org.apache.struts
+struts2-junit-plugin
+${pom.version}
+test
+
+
+javax.servlet
+servlet-api
+2.4
+provided
+
+
+
+javax.servlet
+jsp-api
+2.0
+provided
+
 
 
 

Modified: 
struts/struts2/trunk/plugins/jfreechart/src/main/java/org/apache/struts2/dispatcher/ChartResult.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/jfreechart/src/main/java/org/apache/struts2/dispatcher/ChartResult.java?rev=768217&r1=768216&r2=768217&view=diff
==
--- 
struts/struts2/trunk/plugins/jfreechart/src/main/java/org/apache/struts2/dispatcher/ChartResult.java
 (original)
+++ 
struts/struts2/trunk/plugins/jfreechart/src/main/java/org/apache/struts2/dispatcher/ChartResult.java
 Fri Apr 24 08:08:43 2009
@@ -23,7 +23,8 @@
 
 import org.apache.struts2.ServletActionContext;
 import com.opensymphony.xwork2.ActionInvocation;
-import com.opensymphony.xwork2.Result;
+import com.opensymphony.xwork2.util.logging.Logger;
+import com.opensymphony.xwork2.util.logging.LoggerFactory;
 import org.jfree.chart.ChartUtilities;
 import org.jfree.chart.JFreeChart;
 
@@ -97,7 +98,9 @@
  * 
  * 
  */
-public class ChartResult implements Result {
+public class ChartResult extends StrutsResultSupport {
+
+private final static Logger LOG = 
LoggerFactory.getLogger(ChartResult.class);
 
 private static final long serialVersionUID = -6484761870055986612L;
 private static final String DEFAULT_TYPE = "png";
@@ -105,7 +108,7 @@
 
 private JFreeChart chart; // the JFreeChart to render
 private boolean chartSet;
-Integer height, width;
+String height, width;
 String type = DEFAULT_TYPE; // supported are jpg, jpeg or png, defaults to 
png
 String value = DEFAULT_VALUE; // defaults to 'chart'
 
@@ -115,7 +118,7 @@
 super();
 }
 
-public ChartResult(JFreeChart chart, int height, int width) {
+public ChartResult(JFreeChart chart, String height, String width) {
 this.chart = chart;
 this.height = height;
 this.width = width;
@@ -123,19 +126,19 @@
 
 // ACCESSORS 
 
-public Integer getHeight() {
+public String getHeight() {
 return height;
 }
 
-public void setHeight(Integer height) {
+public void setHeight(String height) {
 this.height = height;
 }
 
-public Integer getWidth() {
+public String getWidth() {
 return width;
 }
 
-public void setWidth(Integer width) {
+public void setWidth(String width) {
 this.width = width;
 }
 
@@ -174,7 +177,10 @@
  * @param invocation an encapsulation of the action execution state.
  * @throws Exception if an error occurs when creating or writing the chart 
to the servlet output stream.
  */
-public void execute(ActionInvocation invocation) throws Exception {
+public void doExecute(String finalLocation, ActionInvocation invocation) 
throws Exception {
+
+initializeProperties(invocation);
+
 if (!chartSet) // if our chart hasn't been set (by the testcase), 
we'll look it up in the value stack
 chart = (JFreeChart) invocation.getStack().findValue(value, 
JFreeChart.class);
 if (chart == null) // we need to have a chart object - if not, blow up
@@ -190,13 +196,48 @@
 try {
 // check the type to see what kind of output 

Issues Closed: week of 2009-04-24

2009-04-24 Thread dblevins

Struts2 - Friday, April 24, 2009

  19 closed in last 7 days

[WW-2809] doubleselect ignores preselection of a multiple subselect
  Rainer Hermanns - Bug - [2.1.7]
  http://issues.apache.org/struts/browse/WW-2809

[WW-3000] StrutsPrepareAndExecuteFilter param problem
  Unassigned - Bug - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3000

[WW-2884] Support for report JDBC connection
  Rainer Hermanns - Improvement - [2.1.7]
  http://issues.apache.org/struts/browse/WW-2884

[WW-2609] Action Errors are not supported by  AJAX validation
  Unassigned - Improvement - [2.1.7]
  http://issues.apache.org/struts/browse/WW-2609

[WW-2985] ExecuteAndWaitInterceptor puts non-serializable object on the 
session
  Unassigned - Bug - []
  http://issues.apache.org/struts/browse/WW-2985

[WW-2995] NullPointerException on ComponentTagSupport.doStartTag using 
jsp:include or s:include
  Unassigned - Bug - []
  http://issues.apache.org/struts/browse/WW-2995

[WW-2986] NPE in 
org.apache.struts2.components.template.TemplateEngineManager.getTemplateEngine(TemplateEngineManager.java:102)
  Unassigned - Bug - [2.1.7]
  http://issues.apache.org/struts/browse/WW-2986

[WW-3092] Rename bean from "named-variable" to "namedVariable"
  Musachy Barroso - Bug - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3092

[WW-3024] Validation XML file names when action name has slashes
  Unassigned - Bug - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3024

[WW-2951] id and name attributes should have the same value for the form tag
  Unassigned - Improvement - [2.1.7]
  http://issues.apache.org/struts/browse/WW-2951

[WW-2993] double Name expression gets escaped without being evaluated
  Wes Wannemacher - Bug - [2.1.7]
  http://issues.apache.org/struts/browse/WW-2993

[WW-3081] PackageBasedActionConfigBuilder.buildUrlSet() does not find 
actions when ReloadingClassLoader is used
  Unassigned - Bug - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3081

[WW-3021] Set overridable findResultFromExceptions method to 
ExceptionMappingInterceptor
  Rainer Hermanns - Improvement - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3021

[WW-2414] Tags  and  do not encode URLs
  James Mitchell - Bug - [2.0.11.1, 2.1.1]
  http://issues.apache.org/struts/browse/WW-2414

[WW-3076] Add an "order" attribute to the "struts" configuration element
  Musachy Barroso - Improvement - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3076

[WW-3075] StrutsPrepareAndExecuteFilter accesses request parameters before 
setting request encoding
  Unassigned - Bug - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3075

[WW-3009] Extensibility Improvements to javatemplates plugin - patch 
(project scope)
  Rainer Hermanns - Improvement - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3009

[WW-3053] How to use autocomplete attribute with form tag in struts 2 
  Unassigned - Task - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3053

[WW-3007] org.apache.struts2.util.ContainUtil.contains
  Unassigned - Bug - [2.1.7]
  http://issues.apache.org/struts/browse/WW-3007



[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 825 has FAILED (0 tests failed). Change made by Rainer Hermanns

2009-04-24 Thread bamboo
---
STRUTS-MAINJ6-825 failed.
---
Code has been updated by Rainer Hermanns.
No failed tests found, a possible compilation error.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-825/


--
Code Changes
--
Rainer Hermanns (768217):

>WW-2742 Paramters not being set in JFreeChart Plugin


--
Error Summary
--
   [INFO] 

   [ERROR] BUILD ERROR
   [INFO] 

   [INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not 
exist or no valid version could be found
   [INFO] 

   [INFO] For more information, run Maven with the -e switch


--
This message is automatically generated by Atlassian Bamboo



svn commit: r768377 - in /struts/struts2/trunk/plugins/osgi/src/main: java/org/apache/struts2/osgi/FelixOsgiHost.java resources/struts-osgi.properties

2009-04-24 Thread musachy
Author: musachy
Date: Fri Apr 24 17:29:40 2009
New Revision: 768377

URL: http://svn.apache.org/viewvc?rev=768377&view=rev
Log:
Add version option to properties

Modified:

struts/struts2/trunk/plugins/osgi/src/main/java/org/apache/struts2/osgi/FelixOsgiHost.java
struts/struts2/trunk/plugins/osgi/src/main/resources/struts-osgi.properties

Modified: 
struts/struts2/trunk/plugins/osgi/src/main/java/org/apache/struts2/osgi/FelixOsgiHost.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/osgi/src/main/java/org/apache/struts2/osgi/FelixOsgiHost.java?rev=768377&r1=768376&r2=768377&view=diff
==
--- 
struts/struts2/trunk/plugins/osgi/src/main/java/org/apache/struts2/osgi/FelixOsgiHost.java
 (original)
+++ 
struts/struts2/trunk/plugins/osgi/src/main/java/org/apache/struts2/osgi/FelixOsgiHost.java
 Fri Apr 24 17:29:40 2009
@@ -295,11 +295,20 @@
 //build a list of subpackages
 for (String rootPackage : rootPackages) {
 try {
+String version = null;
+if (rootPackage.indexOf(";") > 0) {
+String[] splitted = rootPackage.split(";");
+rootPackage = splitted[0];
+version = splitted[1];
+}
 Map> subpackagesMap = 
finder.findPackagesMap(StringUtils.replace(rootPackage.trim(), ".", "/"));
 for (Map.Entry> entry : 
subpackagesMap.entrySet()) {
 URL url = entry.getKey();
 Set packages = entry.getValue();
-String version = getVersion(url);
+
+//get version if not set
+if (StringUtils.isBlank(version))
+version = getVersion(url);
 
 if (packages != null) {
 for (String subpackage : packages) {

Modified: 
struts/struts2/trunk/plugins/osgi/src/main/resources/struts-osgi.properties
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/osgi/src/main/resources/struts-osgi.properties?rev=768377&r1=768376&r2=768377&view=diff
==
--- struts/struts2/trunk/plugins/osgi/src/main/resources/struts-osgi.properties 
(original)
+++ struts/struts2/trunk/plugins/osgi/src/main/resources/struts-osgi.properties 
Fri Apr 24 17:29:40 2009
@@ -21,5 +21,5 @@
 ognl, \
 freemarker, \
 org.apache.velocity, \
-javax.servlet
+javax.servlet;2.4
 




[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 826 has FAILED (0 tests failed). Change made by Musachy Barroso

2009-04-24 Thread bamboo
---
STRUTS-MAINJ6-826 failed.
---
Code has been updated by Musachy Barroso.
No failed tests found, a possible compilation error.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-826/


--
Code Changes
--
Musachy Barroso (768377):

>Add version option to properties


--
Error Summary
--
   [INFO] 

   [ERROR] BUILD ERROR
   [INFO] 

   [INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not 
exist or no valid version could be found
   [INFO] 

   [INFO] For more information, run Maven with the -e switch


--
This message is automatically generated by Atlassian Bamboo



[OSS Bamboo] Struts 2 SVN - Main Build build 1106 has FAILED (0 tests failed). Change made by Musachy Barroso

2009-04-24 Thread bamboo
---
STRUTS-MAIN-1106 failed.
---
Code has been updated by Musachy Barroso.
No failed tests found, a possible compilation error.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1106/


--
Code Changes
--
Musachy Barroso (768377):

>Add version option to properties


--
Error Summary
--
   [INFO] 

   [ERROR] BUILD ERROR
   [INFO] 

   [INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not 
exist or no valid version could be found
   [INFO] 

   [INFO] For more information, run Maven with the -e switch


--
This message is automatically generated by Atlassian Bamboo



svn commit: r768476 - in /struts/struts2/trunk/core/src: main/java/org/apache/struts2/components/DoubleSelect.java test/java/org/apache/struts2/views/jsp/ui/DoubleSelectTest.java test/resources/org/ap

2009-04-24 Thread nilsga
Author: nilsga
Date: Sat Apr 25 06:07:58 2009
New Revision: 768476

URL: http://svn.apache.org/viewvc?rev=768476&view=rev
Log:
WW-2863 Appending the user's 'onchange' to the default.

Added:

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/DoubleSelect-4.txt
Modified:

struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleSelect.java

struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DoubleSelectTest.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleSelect.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleSelect.java?rev=768476&r1=768475&r2=768476&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleSelect.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DoubleSelect.java
 Sat Apr 25 06:07:58 2009
@@ -24,6 +24,7 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
+import org.apache.commons.lang.xwork.StringUtils;
 import org.apache.struts2.views.annotations.StrutsTag;
 
 import com.opensymphony.xwork2.util.ValueStack;
@@ -59,8 +60,12 @@
 
 public void evaluateExtraParams() {
 super.evaluateExtraParams();
-
+StringBuilder onchangeParam = new StringBuilder();
+
onchangeParam.append(getParameters().get("id")).append("Redirect(this.options.selectedIndex)");
+if(StringUtils.isNotEmpty(this.onchange)) {
+   onchangeParam.append(";").append(this.onchange);
+}
 // force the onchange parameter
-addParameter("onchange", getParameters().get("id") + 
"Redirect(this.options.selectedIndex)");
+addParameter("onchange", onchangeParam.toString());
 }
 }

Modified: 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DoubleSelectTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DoubleSelectTest.java?rev=768476&r1=768475&r2=768476&view=diff
==
--- 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DoubleSelectTest.java
 (original)
+++ 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DoubleSelectTest.java
 Sat Apr 25 06:07:58 2009
@@ -96,6 +96,70 @@
 
 verify(SelectTag.class.getResource("DoubleSelect-1.txt"));
 }
+
+public void testOnchange() throws Exception {
+TestAction testAction = (TestAction) action;
+
+Region antwerp = new Region("Antwerp", "AN");
+Region gent = new Region("Gent", "GN");
+Region brugge = new Region("Brugge", "BRG");
+ArrayList belgiumRegions = new ArrayList();
+belgiumRegions.add(antwerp);
+belgiumRegions.add(gent);
+belgiumRegions.add(brugge);
+Country belgium = new Country("Belgium", "BE", belgiumRegions);
+
+Region paris = new Region("Paris", "PA");
+Region bordeaux = new Region("Bordeaux", "BOR");
+ArrayList franceRegions = new ArrayList();
+franceRegions.add(paris);
+franceRegions.add(bordeaux);
+Country france = new Country("France", "FR", franceRegions);
+
+Collection collection = new ArrayList(2);
+collection.add("AN");
+testAction.setCollection(collection);
+
+List countries = new ArrayList();
+countries.add(belgium);
+countries.add(france);
+
+testAction.setList2(countries);
+
+DoubleSelectTag tag = new DoubleSelectTag();
+tag.setPageContext(pageContext);
+tag.setLabel("mylabel");
+tag.setName("foo");
+tag.setDoubleName("region");
+
+tag.setList("list2");
+tag.setDoubleList("regions");
+
+tag.setListKey("iso");
+tag.setDoubleListKey("key");
+tag.setListValue("name");
+tag.setDoubleListValue("name");
+
+tag.setFormName("inputForm");
+
+tag.setOnmousedown("window.status='onmousedown';");
+tag.setOnmousemove("window.status='onmousemove';");
+tag.setOnmouseout("window.status='onmouseout';");
+tag.setOnmouseover("window.status='onmouseover';");
+tag.setOnmouseup("window.status='onmouseup';");
+tag.setOnchange("window.status='onchange';");
+
+//css style and class
+tag.setCssClass("c1");
+tag.setCssStyle("s1");
+tag.setDoubleCssClass("c2");
+tag.setDoubleCssStyle("s2");
+
+tag.doStartTag();
+tag.doEndTag();
+
+verify(SelectTag.class.getResource("DoubleSelect-4.txt"));
+}
 
 
 public void testDoubleWithDefaultSelectedValues() throws Exception {

Added: 
struts/struts2/trunk/core/src/test/resources/org/apac

[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 827 was SUCCESSFUL (with 1007 tests). Change made by Nils-Helge Garli Hegvik

2009-04-24 Thread bamboo
---
STRUTS-MAINJ6-827 was successful.
---
Code has been updated by Nils-Helge Garli Hegvik.
1007 tests in total.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-827/


--
Code Changes
--
Nils-Helge Garli Hegvik (768476):

>WW-2863 Appending the user's 'onchange' to the default.


--
Error Summary
--
        [copy] Warning: 
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/apps/src/main/java
 not found.
        [copy] Warning: 
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/apps/src/main/resources
 not found.


--
This message is automatically generated by Atlassian Bamboo



[OSS Bamboo] Struts 2 SVN - Main Build build 1107 was SUCCESSFUL (with 1007 tests). Change made by Nils-Helge Garli Hegvik

2009-04-24 Thread bamboo
---
STRUTS-MAIN-1107 was successful.
---
Code has been updated by Nils-Helge Garli Hegvik.
1007 tests in total.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1107/


--
Code Changes
--
Nils-Helge Garli Hegvik (768476):

>WW-2863 Appending the user's 'onchange' to the default.


--
Error Summary
--
   warning: Annotation types without processors: [java.lang.Override, 
com.opensymphony.xwork2.inject.Inject, java.lang.annotation.Target, 
java.lang.annotation.Retention, java.lang.SuppressWarnings]
   Note: Some input files use or override a deprecated API.
   Note: Recompile with -Xlint:deprecation for details.
   1 warning
        [copy] Warning: 
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/apps/src/main/java
 not found.
        [copy] Warning: 
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/apps/src/main/resources
 not found.
   warning: Annotation types without processors: [java.lang.Override, 
java.lang.Deprecated]
   1 warning


--
This message is automatically generated by Atlassian Bamboo