svn commit: r869661 - /websites/production/struts/content/release/2.3.x/docs/

2013-07-16 Thread rgielen
Author: rgielen
Date: Tue Jul 16 07:37:33 2013
New Revision: 869661

Log:
docs preparation for 2.3.15.1


[This commit notification would consist of 218 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]


svn commit: r1503594 - /struts/site/trunk/content/xdoc/download.xml

2013-07-16 Thread rgielen
Author: rgielen
Date: Tue Jul 16 07:49:18 2013
New Revision: 1503594

URL: http://svn.apache.org/r1503594
Log:
download page now pointing to 2.3.15.1

Modified:
struts/site/trunk/content/xdoc/download.xml

Modified: struts/site/trunk/content/xdoc/download.xml
URL: 
http://svn.apache.org/viewvc/struts/site/trunk/content/xdoc/download.xml?rev=1503594&r1=1503593&r2=1503594&view=diff
==
--- struts/site/trunk/content/xdoc/download.xml (original)
+++ struts/site/trunk/content/xdoc/download.xml Tue Jul 16 07:49:18 2013
@@ -94,28 +94,28 @@ limitations under the License.
 
 
 
-
-
+
+
 
 
- http://struts.apache.org/release/2.3.x/";>Apache Struts 
2.3.15
+ http://struts.apache.org/release/2.3.x/";>Apache Struts 
2.3.15.1
  is an elegant, extensible framework for creating enterprise-ready 
Java
  web applications. It is available in a full distribution, or as 
separate
  library, source, example and documentation distributions.
- Struts 2.3.14.2 is the "best available" version of Struts in the 
2.3 series.
+ Struts 2.3.15.1 is the "best available" version of Struts in the 
2.3 series.
 
 
 
 
-http://struts.apache.org/development/2.x/docs/version-notes-2315.html";>Version
 Notes
+http://struts.apache.org/development/2.x/docs/version-notes-23151.html";>Version
 Notes
 
 
 Full Distribution:
 
 
-struts-2.3.15-all.zip
 (65MB)
-[http://www.apache.org/dist/struts/binaries/struts-2.3.15-all.zip.asc";>PGP]
-[http://www.apache.org/dist/struts/binaries/struts-2.3.15-all.zip.md5";>MD5]
+struts-2.3.15.1-all.zip
 (65MB)
+[http://www.apache.org/dist/struts/binaries/struts-2.3.15.1-all.zip.asc";>PGP]
+[http://www.apache.org/dist/struts/binaries/struts-2.3.15.1-all.zip.md5";>MD5]
 
 
 
@@ -123,18 +123,18 @@ limitations under the License.
 Example Applications:
 
 
-struts-2.3.15-apps.zip
 (35MB)
-[http://www.apache.org/dist/struts/examples/struts-2.3.15-apps.zip.asc";>PGP]
-[http://www.apache.org/dist/struts/examples/struts-2.3.15-apps.zip.md5";>MD5]
+struts-2.3.15.1-apps.zip
 (35MB)
+[http://www.apache.org/dist/struts/examples/struts-2.3.15.1-apps.zip.asc";>PGP]
+[http://www.apache.org/dist/struts/examples/struts-2.3.15.1-apps.zip.md5";>MD5]
 
 
 
 Essential Dependencies Only:
 
 
-struts-2.3.15-lib.zip
 (19MB)
-[http://www.apache.org/dist/struts/library/struts-2.3.15-lib.zip.asc";>PGP]
-[http://www.apache.org/dist/struts/library/struts-2.3.15-lib.zip.md5";>MD5]
+struts-2.3.15.1-lib.zip
 (19MB)
+[http://www.apache.org/dist/struts/library/struts-2.3.15.1-lib.zip.asc";>PGP]
+[http://www.apache.org/dist/struts/library/struts-2.3.15.1-lib.zip.md5";>MD5]
 
 
 
@@ -142,18 +142,18 @@ limitations under the License.
 Documentation:
 
 
-struts-2.3.15-docs.zip
 (13MB)
-[http://www.apache.org/dist/struts/documentation/struts-2.3.15-docs.zip.asc";>PGP]
-[http://www.apache.org/dist/struts/documentation/struts-2.3.15-docs.zip.md5";>MD5]
+struts-2.3.15.1-docs.zip
 (13MB)
+[http://www.apache.org/dist/struts/documentation/struts-2.3.15.1-docs.zip.asc";>PGP]
+[http://www.apache.org/dist/struts/documentation/struts-2.3.15.1-docs.zip.md5";>MD5]
 
 
 
 Source:
 
 
-struts-2.3.15-src.zip
 (7MB)
-[http://www.apache.org/dist/struts/source/struts-2.3.15-

svn commit: r869662 - in /websites/staging/struts/trunk/content: ./ dev/

2013-07-16 Thread buildbot
Author: buildbot
Date: Tue Jul 16 07:51:02 2013
New Revision: 869662

Log:
Staging update by buildbot for struts

Modified:
websites/staging/struts/trunk/content/   (props changed)
websites/staging/struts/trunk/content/announce-2002.html
websites/staging/struts/trunk/content/announce-2003.html
websites/staging/struts/trunk/content/announce-2004.html
websites/staging/struts/trunk/content/announce-2005.html
websites/staging/struts/trunk/content/announce-2006.html
websites/staging/struts/trunk/content/announce-2007.html
websites/staging/struts/trunk/content/announce-2008.html
websites/staging/struts/trunk/content/announce-2009.html
websites/staging/struts/trunk/content/announce-2010.html
websites/staging/struts/trunk/content/announce-2011.html
websites/staging/struts/trunk/content/announce-2012.html
websites/staging/struts/trunk/content/announce.html
websites/staging/struts/trunk/content/dev/builds.html
websites/staging/struts/trunk/content/dev/bylaws.html
websites/staging/struts/trunk/content/dev/dev-mail.html
websites/staging/struts/trunk/content/dev/minutes.html
websites/staging/struts/trunk/content/dev/releases.html
websites/staging/struts/trunk/content/dev/site.html
websites/staging/struts/trunk/content/dev/volunteers.html
websites/staging/struts/trunk/content/download.html
websites/staging/struts/trunk/content/downloads.html
websites/staging/struts/trunk/content/faqs.html
websites/staging/struts/trunk/content/helping.html
websites/staging/struts/trunk/content/index.html
websites/staging/struts/trunk/content/javadoc.html
websites/staging/struts/trunk/content/kickstart.html
websites/staging/struts/trunk/content/mail.html
websites/staging/struts/trunk/content/primer.html
websites/staging/struts/trunk/content/release-checklist.html
websites/staging/struts/trunk/content/roadmap.html
websites/staging/struts/trunk/content/security.html
websites/staging/struts/trunk/content/struts1eol-announcement.html
websites/staging/struts/trunk/content/struts1eol-press.html

Propchange: websites/staging/struts/trunk/content/
--
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul 16 07:51:02 2013
@@ -1 +1 @@
-1500620
+1503594

Modified: websites/staging/struts/trunk/content/announce-2002.html
==
--- websites/staging/struts/trunk/content/announce-2002.html (original)
+++ websites/staging/struts/trunk/content/announce-2002.html Tue Jul 16 
07:51:02 2013
@@ -1,13 +1,13 @@
 
 
 http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   
 
 
-
+
 
 
 Announcements - 2002 and prior
@@ -54,7 +54,7 @@
 
 
 
-  Last Published: 2013-07-08
+  Last Published: 2013-07-16
   
 
 

Modified: websites/staging/struts/trunk/content/announce-2003.html
==
--- websites/staging/struts/trunk/content/announce-2003.html (original)
+++ websites/staging/struts/trunk/content/announce-2003.html Tue Jul 16 
07:51:02 2013
@@ -1,13 +1,13 @@
 
 
 http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   
 
 
-
+
 
 
 Announcements - 2003
@@ -54,7 +54,7 @@
 
 
 
-  Last Published: 2013-07-08
+  Last Published: 2013-07-16
   
 
 

Modified: websites/staging/struts/trunk/content/announce-2004.html
==
--- websites/staging/struts/trunk/content/announce-2004.html (original)
+++ websites/staging/struts/trunk/content/announce-2004.html Tue Jul 16 
07:51:02 2013
@@ -1,13 +1,13 @@
 
 
 http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   
 
 
-
+
 
 
 Announcements - 2004
@@ -54,7 +54,7 @@
 
 
 
-  Last Published: 2013-07-08
+  Last Published: 2013-07-16
   
 
 

Modified: websites/staging/struts/trunk/content/announce-2005.html
==
--- websites/staging/struts/trunk/content/announce-2005.html (original)
+++ websites/staging/struts/trunk/content/announce-2005.html Tue Jul 16 
07:51:02 2013
@@ -1,13 +1,13 @@
 
 
 http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   
 
 
-
+
 
 
 Announcements - 2005
@@ -54,7 +54,7 @@
 
 
 
-  Last Published: 2013-07-08
+  

svn commit: r869663 - in /websites/production/struts/content: ./ development/ release/

2013-07-16 Thread rgielen
Author: rgielen
Date: Tue Jul 16 07:52:33 2013
New Revision: 869663

Log:
downloads to point to upcoming 2.3.15.1 release

Added:
websites/production/struts/content/
  - copied from r869662, websites/staging/struts/trunk/content/
websites/production/struts/content/development/
  - copied from r869662, websites/production/struts/content/development/
websites/production/struts/content/release/
  - copied from r869662, websites/production/struts/content/release/



svn commit: r1503597 - /struts/site/trunk/content/xdoc/download.xml

2013-07-16 Thread rgielen
Author: rgielen
Date: Tue Jul 16 07:55:08 2013
New Revision: 1503597

URL: http://svn.apache.org/r1503597
Log:
fixed wrong doc link

Modified:
struts/site/trunk/content/xdoc/download.xml

Modified: struts/site/trunk/content/xdoc/download.xml
URL: 
http://svn.apache.org/viewvc/struts/site/trunk/content/xdoc/download.xml?rev=1503597&r1=1503596&r2=1503597&view=diff
==
--- struts/site/trunk/content/xdoc/download.xml (original)
+++ struts/site/trunk/content/xdoc/download.xml Tue Jul 16 07:55:08 2013
@@ -107,7 +107,7 @@ limitations under the License.
 
 
 
-http://struts.apache.org/development/2.x/docs/version-notes-23151.html";>Version
 Notes
+http://struts.apache.org/release/2.3.x/docs/version-notes-23151.html";>Version
 Notes
 
 
 Full Distribution:




svn commit: r869664 - in /websites/production/struts/content: ./ development/ release/

2013-07-16 Thread rgielen
Author: rgielen
Date: Tue Jul 16 07:56:06 2013
New Revision: 869664

Log:
doc link fixed

Added:
websites/production/struts/content/
  - copied from r869663, websites/staging/struts/trunk/content/
websites/production/struts/content/development/
  - copied from r869663, websites/production/struts/content/development/
websites/production/struts/content/release/
  - copied from r869663, websites/production/struts/content/release/



svn commit: r869665 - in /websites/staging/struts/trunk/content: ./ download.html

2013-07-16 Thread buildbot
Author: buildbot
Date: Tue Jul 16 07:56:53 2013
New Revision: 869665

Log:
Staging update by buildbot for struts

Modified:
websites/staging/struts/trunk/content/   (props changed)
websites/staging/struts/trunk/content/download.html

Propchange: websites/staging/struts/trunk/content/
--
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul 16 07:56:53 2013
@@ -1 +1 @@
-1503594
+1503597

Modified: websites/staging/struts/trunk/content/download.html
==
--- websites/staging/struts/trunk/content/download.html (original)
+++ websites/staging/struts/trunk/content/download.html Tue Jul 16 07:56:53 2013
@@ -411,7 +411,7 @@ limitations under the License. -->

svn commit: r869666 - in /websites/production/struts/content: ./ development/ release/

2013-07-16 Thread rgielen
Author: rgielen
Date: Tue Jul 16 07:59:39 2013
New Revision: 869666

Log:
doc link fixed

Added:
websites/production/struts/content/
  - copied from r869665, websites/staging/struts/trunk/content/
websites/production/struts/content/development/
  - copied from r869665, websites/production/struts/content/development/
websites/production/struts/content/release/
  - copied from r869665, websites/production/struts/content/release/



svn commit: r1503603 - in /struts/site/trunk/content: resources/.htaccess resources/archetype-catalog.xml site.xml xdoc/announce.xml xdoc/downloads.xml xdoc/index.xml

2013-07-16 Thread rgielen
Author: rgielen
Date: Tue Jul 16 08:23:34 2013
New Revision: 1503603

URL: http://svn.apache.org/r1503603
Log:
Site preparation for 2.3.15.1 release

Modified:
struts/site/trunk/content/resources/.htaccess
struts/site/trunk/content/resources/archetype-catalog.xml
struts/site/trunk/content/site.xml
struts/site/trunk/content/xdoc/announce.xml
struts/site/trunk/content/xdoc/downloads.xml
struts/site/trunk/content/xdoc/index.xml

Modified: struts/site/trunk/content/resources/.htaccess
URL: 
http://svn.apache.org/viewvc/struts/site/trunk/content/resources/.htaccess?rev=1503603&r1=1503602&r2=1503603&view=diff
==
--- struts/site/trunk/content/resources/.htaccess (original)
+++ struts/site/trunk/content/resources/.htaccess Tue Jul 16 08:23:34 2013
@@ -36,6 +36,7 @@ Redirect permanent /WW  
 Redirect permanent /style   http://struts.apache.org/css
 Redirect permanent /2.x 
http://struts.apache.org/development/2.x
 Redirect permanent /1.x 
http://struts.apache.org/development/1.x
+Redirect permanent /2.3.15.1http://struts.apache.org/release/2.3.x
 Redirect permanent /2.3.15  http://struts.apache.org/release/2.3.x
 Redirect permanent /2.3.14.3http://struts.apache.org/release/2.3.x
 Redirect permanent /2.3.14.2http://struts.apache.org/release/2.3.x

Modified: struts/site/trunk/content/resources/archetype-catalog.xml
URL: 
http://svn.apache.org/viewvc/struts/site/trunk/content/resources/archetype-catalog.xml?rev=1503603&r1=1503602&r2=1503603&view=diff
==
--- struts/site/trunk/content/resources/archetype-catalog.xml (original)
+++ struts/site/trunk/content/resources/archetype-catalog.xml Tue Jul 16 
08:23:34 2013
@@ -7,42 +7,42 @@
 
 org.apache.struts
 struts2-archetype-blank
-2.3.15
+2.3.15.1
 
https://repository.apache.org/content/groups/public/
 Struts 2 Archetypes - Blank
 
 
 org.apache.struts
 struts2-archetype-convention
-2.3.15
+2.3.15.1
 
https://repository.apache.org/content/groups/public/
 Struts 2 Archetypes - Blank Convention
 
 
 org.apache.struts
 struts2-archetype-dbportlet
-2.3.15
+2.3.15.1
 
https://repository.apache.org/content/groups/public/
 Struts 2 Archetypes - Database Portlet
 
 
 org.apache.struts
 struts2-archetype-plugin
-2.3.15
+2.3.15.1
 
https://repository.apache.org/content/groups/public/
 Struts 2 Archetypes - Plugin
 
 
 org.apache.struts
 struts2-archetype-portlet
-2.3.15
+2.3.15.1
 
https://repository.apache.org/content/groups/public/
 Struts 2 Archetypes - Portlet
 
 
 org.apache.struts
 struts2-archetype-starter
-2.3.15
+2.3.15.1
 
https://repository.apache.org/content/groups/public/
 Struts 2 Archetypes - Starter
 

Modified: struts/site/trunk/content/site.xml
URL: 
http://svn.apache.org/viewvc/struts/site/trunk/content/site.xml?rev=1503603&r1=1503602&r2=1503603&view=diff
==
--- struts/site/trunk/content/site.xml (original)
+++ struts/site/trunk/content/site.xml Tue Jul 16 08:23:34 2013
@@ -84,7 +84,7 @@
 name="Key Technologies"
 href="primer.html" />
 http://struts.apache.org/release/2.3.x/index.html"; />
 http://svn.apache.org/viewvc/struts/site/trunk/content/xdoc/announce.xml?rev=1503603&r1=1503602&r2=1503603&view=diff
==
--- struts/site/trunk/content/xdoc/announce.xml (original)
+++ struts/site/trunk/content/xdoc/announce.xml Tue Jul 16 08:23:34 2013
@@ -30,6 +30,52 @@ limitations under the License.
 Announcements - 2012
 
 
+16 July 2013 - Struts 2.3.15.1 General 
Availability Release
+
+The Apache Struts group is pleased to announce that Struts 
2.3.15.1 is
+available as a "General Availability" release. The GA 
designation is our
+highest quality grade.
+
+
+Apache Struts 2 is an elegant, extensible framework for 
creating
+enterprise-ready Java web applications. The framework is 
designed to
+streamline the full development cycle, from building, to 
deploying, to
+maintaining appli

svn commit: r1503605 - /struts/site/trunk/content/xdoc/announce.xml

2013-07-16 Thread rgielen
Author: rgielen
Date: Tue Jul 16 08:28:17 2013
New Revision: 1503605

URL: http://svn.apache.org/r1503605
Log:
2.3.15.1 release announcement improved

Modified:
struts/site/trunk/content/xdoc/announce.xml

Modified: struts/site/trunk/content/xdoc/announce.xml
URL: 
http://svn.apache.org/viewvc/struts/site/trunk/content/xdoc/announce.xml?rev=1503605&r1=1503604&r2=1503605&view=diff
==
--- struts/site/trunk/content/xdoc/announce.xml (original)
+++ struts/site/trunk/content/xdoc/announce.xml Tue Jul 16 08:28:17 2013
@@ -30,7 +30,7 @@ limitations under the License.
 Announcements - 2012
 
 
-16 July 2013 - Struts 2.3.15.1 General 
Availability Release
+16 July 2013 - Struts 2.3.15.1 General 
Availability Release - Security Fix Release
 
 The Apache Struts group is pleased to announce that Struts 
2.3.15.1 is
 available as a "General Availability" release. The GA 
designation is our
@@ -46,11 +46,13 @@ limitations under the License.
 Two security issues were solved with this release:
 
 
-Remote code execution vulnerability when using 
short-circuit navigation
+http://struts.apache.org/release/2.3.x/docs/s2-016.html";>S2-016
+- Remote code execution vulnerability when using 
short-circuit navigation
 parameter prefixes
 
 
-Open redirect vulnerability when using short-circuit 
redirect
+http://struts.apache.org/release/2.3.x/docs/s2-017.html";>S2-017
+- Open redirect vulnerability when using short-circuit 
redirect
 parameter prefixes
 
 




svn commit: r869671 - in /websites/staging/struts/trunk/content: ./ announce.html

2013-07-16 Thread buildbot
Author: buildbot
Date: Tue Jul 16 08:29:45 2013
New Revision: 869671

Log:
Staging update by buildbot for struts

Modified:
websites/staging/struts/trunk/content/   (props changed)
websites/staging/struts/trunk/content/announce.html

Propchange: websites/staging/struts/trunk/content/
--
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul 16 08:29:45 2013
@@ -1 +1 @@
-1503603
+1503605

Modified: websites/staging/struts/trunk/content/announce.html
==
--- websites/staging/struts/trunk/content/announce.html (original)
+++ websites/staging/struts/trunk/content/announce.html Tue Jul 16 08:29:45 2013
@@ -333,7 +333,7 @@ limitations under the License. -->

svn commit: r869693 - in /websites/production/struts/content: ./ development/ release/

2013-07-16 Thread rgielen
Author: rgielen
Date: Tue Jul 16 14:22:37 2013
New Revision: 869693

Log:
Publish 2.3.15 release announcements

Added:
websites/production/struts/content/
  - copied from r869692, websites/staging/struts/trunk/content/
websites/production/struts/content/development/
  - copied from r869692, websites/production/struts/content/development/
websites/production/struts/content/release/
  - copied from r869692, websites/production/struts/content/release/



svn commit: r1503769 - /struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletPhase.java

2013-07-16 Thread bphillips
Author: bphillips
Date: Tue Jul 16 15:49:46 2013
New Revision: 1503769

URL: http://svn.apache.org/r1503769
Log:
NOJIRA - Added JavaDoc for enum

Modified:

struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletPhase.java

Modified: 
struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletPhase.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletPhase.java?rev=1503769&r1=1503768&r2=1503769&view=diff
==
--- 
struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletPhase.java
 (original)
+++ 
struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletPhase.java
 Tue Jul 16 15:49:46 2013
@@ -1,7 +1,7 @@
 package org.apache.struts2.portlet;
 
 /**
- * TODO lukaszlenart: add a comment
+ * Defines phases of portlet processing per the portlet specification.
  */
 public enum PortletPhase {
 
@@ -23,7 +23,7 @@ public enum PortletPhase {
 EVENT_PHASE,
 
 /**
- *
+ * Constant used for the serve resource phase that was added with the 2.0 
portlet specification.
  */
 SERVE_RESOURCE_PHASE;
 




svn commit: r1503787 - /struts/struts2/trunk/plugins/portlet/src/test/java/org/apache/struts2/portlet/dispatcher/Jsr286DispatcherTest.java

2013-07-16 Thread bphillips
Author: bphillips
Date: Tue Jul 16 16:33:51 2013
New Revision: 1503787

URL: http://svn.apache.org/r1503787
Log:
NOJIRA - Added unit test for Jsr286Dispatcher class based on the 
JSR168DispatcherTest class - trying to learn more about how this plugin works 
to hopefully improve it.

Added:

struts/struts2/trunk/plugins/portlet/src/test/java/org/apache/struts2/portlet/dispatcher/Jsr286DispatcherTest.java

Added: 
struts/struts2/trunk/plugins/portlet/src/test/java/org/apache/struts2/portlet/dispatcher/Jsr286DispatcherTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/portlet/src/test/java/org/apache/struts2/portlet/dispatcher/Jsr286DispatcherTest.java?rev=1503787&view=auto
==
--- 
struts/struts2/trunk/plugins/portlet/src/test/java/org/apache/struts2/portlet/dispatcher/Jsr286DispatcherTest.java
 (added)
+++ 
struts/struts2/trunk/plugins/portlet/src/test/java/org/apache/struts2/portlet/dispatcher/Jsr286DispatcherTest.java
 Tue Jul 16 16:33:51 2013
@@ -0,0 +1,340 @@
+/*
+ * $Id: Jsr168DispatcherTest.java 602665 2007-12-09 12:11:25Z mrdon $
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.struts2.portlet.dispatcher;
+
+import com.opensymphony.xwork2.Action;
+import com.opensymphony.xwork2.ActionInvocation;
+import com.opensymphony.xwork2.ActionProxy;
+import com.opensymphony.xwork2.ActionProxyFactory;
+import com.opensymphony.xwork2.util.ValueStack;
+import org.apache.struts2.StrutsConstants;
+import org.apache.struts2.dispatcher.mapper.ActionMapping;
+import static org.apache.struts2.portlet.PortletConstants.*;
+import org.easymock.EasyMock;
+import org.jmock.Mock;
+import org.jmock.cglib.MockObjectTestCase;
+import org.jmock.core.Constraint;
+import org.springframework.mock.web.portlet.MockPortletConfig;
+import org.springframework.mock.web.portlet.MockPortletContext;
+
+import javax.portlet.*;
+import java.util.*;
+
+/**
+ * Test portlet actions for porlet 2.0 specification.
+ * 
+ */
+public class Jsr286DispatcherTest extends MockObjectTestCase {
+
+   Jsr286Dispatcher dispatcher = null;
+   Mock mockConfig = null;
+   Mock mockCtx = null;
+   Mock mockRequest = null;
+   Mock mockSession = null;
+   Mock mockActionFactory = null;
+   Mock mockActionProxy = null;
+   Mock mockAction = null;
+   Mock mockInvocation = null;
+
+
+
+   public void testRender_ok() {
+   final Mock mockResponse = mock(RenderResponse.class);
+   mockResponse.stubs().method(ANYTHING);
+
+   PortletMode mode = PortletMode.VIEW;
+
+   Map requestParams = new HashMap();
+   requestParams.put(ACTION_PARAM, new String[] { 
"/view/testAction" });
+   requestParams.put(EVENT_ACTION, new String[] { "true" });
+   requestParams.put(MODE_PARAM, new String[] { mode.toString() });
+
+   Map sessionMap = new HashMap();
+
+   Map initParams = new HashMap();
+   initParams.put("viewNamespace", "/view");
+   
initParams.put(StrutsConstants.STRUTS_ALWAYS_SELECT_FULL_NAMESPACE,
+   "true");
+
+   initPortletConfig(initParams, new HashMap());
+   initRequest(requestParams, new HashMap(), 
sessionMap,
+   PortletMode.VIEW, WindowState.NORMAL, false, 
null);
+   setupActionFactory("/view", "testAction", "success",
+   EasyMock.createNiceMock(ValueStack.class));
+
+   mockInvocation.expects(once()).method("getStack")
+   .will(returnValue(null));
+   try {
+   dispatcher
+   
.setActionProxyFactory((ActionProxyFactory) mockActionFactory
+   .proxy());
+   dispatcher.init((PortletConfig) mockConfig.proxy());
+   dispatcher.render((RenderRequest) mockRequest.proxy(),
+   (RenderResponse) mockResponse.proxy());
+   } catch (Exception e) {
+  

[CONF] Confluence Changes in the last 24 hours

2013-07-16 Thread Anonymous (Confluence)







   Apache ActiveMQ CPP


Pages

 Page:
 API
edited by Timothy Bish[01:36 PM]
(view changes)

 Page:
 ActiveMQ-CPP 3.7.1 Release
edited by Timothy Bish[01:35 PM]
(view changes)



   Apache Camel


Pages

 Page:
 Download
edited by Hadrian Zbarcea[06:47 PM]
(view changes)

 Page:
 Camel 2.11.1 Release
created by Hadrian Zbarcea[06:40 PM]

 Page:
 Netty HTTP
edited by Claus Ibsen[02:26 PM]
(view changes)

 Page:
 Camel 2.12.0 Release
edited by Claus Ibsen[06:44 AM]
(view changes)

 Page:
 RabbitMQ
created by willem jiang[01:30 AM]



   Apache Cloudstack


Pages

 Page:
 Setting up CloudStack Development Environment on Linux
edited by Donal Lafferty[09:54 PM]
(view changes)

 Page:
 Object Store Test Execution
edited by Chandan Purushothama[08:30 PM]
(view changes)

 Page:
 Coding conventions
edited by Alex Huang[01:52 PM]
(view changes)

 Page:
 Scaling-up CPUand RAM for running VMs
created by prashant kumar mishra[10:11 AM]

 Page:
 Developer Tools
created by Donal Lafferty[10:54 AM]

 Page:
 Scaling-up CPU and RAM for running VMs
edited by prashant kumar mishra[10:09 AM]
(view changes)

 Page:
 Case Studies
edited by Karen Vuong[07:42 AM]
(view changes)

 Page:
 Support for NS as external LB provider
created by Sowmya Krishnan[05:14 AM]



   Community Development


Pages

 Page:
 Proposal for implementation of ocr and tika text inputs for APACHE-CTAKES - Sandeep RG
created by sandeep rg[06:47 PM]



   Apache Curator


Pages

 Page:
 Third Party Articles
edited by Jordan Zimmerman[05:43 PM]
(view changes)



   Apache CXF Documentation


Pages

 Page:
 JAX-RS Data Bindings
edited by Sergey Beryozkin[11:34 AM]