[CONF] Confluence Changes in the last 24 hours

2007-05-21 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

Apache Directory Community & Resources (directory) 
http://cwiki.apache.org/confluence/display/directory
|
|-Pages Added or Edited in This Space
 |-- Apache Triplesec Strong (2-factor) Mobile Identity Management (ApacheCon 
EU 2007) was last edited by akarasulu (03:02 PM).
 |   
http://cwiki.apache.org/confluence/display/directory/Apache+Triplesec+Strong+%282-factor%29+Mobile+Identity+Management+%28ApacheCon+EU+2007%29
 |-- Conference materials was last edited by akarasulu (02:59 PM).
 |   http://cwiki.apache.org/confluence/display/directory/Conference+materials
 |-- Enterprise LDAP and Apache Directory Server (ApacheCon EU 2007) was last 
edited by szoerner (06:52 AM).
 |   
http://cwiki.apache.org/confluence/display/directory/Enterprise+LDAP+and+Apache+Directory+Server+%28ApacheCon+EU+2007%29

OpenJPA (openjpa) http://cwiki.apache.org/confluence/display/openjpa
|
|-Pages Added or Edited in This Space
 |-- Building OpenJPA was last edited by mprudhom (04:41 PM).
 |   http://cwiki.apache.org/confluence/display/openjpa/Building+OpenJPA

Apache Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX
|
|-Pages Added or Edited in This Space
 |-- iPOJO Road Map was last edited by clement.escoffier (12:04 PM).
 |   http://cwiki.apache.org/confluence/display/FELIX/iPOJO+Road+Map
 |-- iPOJO was last edited by clement.escoffier (11:25 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/iPOJO
 |-- How to use iPOJO Manipulation Metadata was created by clement.escoffier 
(11:18 AM).
 |   
http://cwiki.apache.org/confluence/display/FELIX/How+to+use+iPOJO+Manipulation+Metadata

Apache Struts 2 Plugin Registry (S2PLUGINS) 
http://cwiki.apache.org/confluence/display/S2PLUGINS
|
|-Pages Added or Edited in This Space
 |-- JSON Plugin was last edited by musachy (03:32 PM).
 |   http://cwiki.apache.org/confluence/display/S2PLUGINS/JSON+Plugin

Apache Directory SandBox (DIRxSBOX) 
http://cwiki.apache.org/confluence/display/DIRxSBOX
|
|-Pages Added or Edited in This Space
 |-- Draft - New Installers and Daemon was created by ccustine (10:42 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSBOX/Draft+-+New+Installers+and+Daemon

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
 |
 |-New Comments in This Space
 |-- http://cwiki.apache.org/confluence/display/WW/Redirect+Action+Result (1)

Apache Tuscany (TUSCANY) http://cwiki.apache.org/confluence/display/TUSCANY
|
|-Pages Added or Edited in This Space
 |-- RDB DAS - Java DAS M3 Release was last edited by [EMAIL PROTECTED] (10:08 
PM).
 |   
http://cwiki.apache.org/confluence/display/TUSCANY/RDB+DAS+-+Java+DAS+M3+Release

Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET
|
|-Pages Added or Edited in This Space
 |-- Google Web Tools - Starting Point was created by dacc (11:26 PM).
 |   
http://cwiki.apache.org/confluence/display/WICKET/Google+Web+Tools+-+Starting+Point


-
CONFLUENCE INFORMATION
This message is automatically generated by Confluence

Unsubscribe or edit your notifications preferences
   http://cwiki.apache.org/confluence/users/viewnotifications.action

If you think it was sent incorrectly contact one of the administrators
   http://cwiki.apache.org/confluence/administrators.action

If you want more information on Confluence, or have a bug to report see
   http://www.atlassian.com/software/confluence




svn commit: r540141 - in /struts/struts2/branches/STRUTS_2_0_X/core/src: main/java/org/apache/struts2/ main/java/org/apache/struts2/dispatcher/mapper/ test/java/org/apache/struts2/dispatcher/mapper/

2007-05-21 Thread mrdon
Author: mrdon
Date: Mon May 21 06:46:48 2007
New Revision: 540141

URL: http://svn.apache.org/viewvc?view=rev&rev=540141
Log:
Adding ability to set id parameter automatically in restful 2 action mapper
WW-1939

Modified:

struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/StrutsConstants.java

struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java

struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java

struts/struts2/branches/STRUTS_2_0_X/core/src/test/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapperTest.java

Modified: 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/StrutsConstants.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/StrutsConstants.java?view=diff&rev=540141&r1=540140&r2=540141
==
--- 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/StrutsConstants.java
 (original)
+++ 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/StrutsConstants.java
 Mon May 21 06:46:48 2007
@@ -151,4 +151,7 @@
 /** XWork default text provider */
 public static final String STRUTS_XWORKTEXTPROVIDER = 
"struts.xworkTextProvider";
 
+/** The name of the parameter to create when mapping an id (used by some 
action mappers) */
+   public static final String STRUTS_ID_PARAMETER_NAME = 
"struts.mapper.idParameterName";
+
 }

Modified: 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java?view=diff&rev=540141&r1=540140&r2=540141
==
--- 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java
 (original)
+++ 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java
 Mon May 21 06:46:48 2007
@@ -485,11 +485,17 @@
 
 return uri.toString();
 }
+
 
-/**
+   public boolean isSlashesInActionNames() {
+   return allowSlashesInActionNames;
+   }
+   
+   /**
  * Defines a parameter action prefix
  */
 interface ParameterAction {
 void execute(String key, ActionMapping mapping);
 }
+
 }

Modified: 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java?view=diff&rev=540141&r1=540140&r2=540141
==
--- 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
 (original)
+++ 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
 Mon May 21 06:46:48 2007
@@ -21,6 +21,7 @@
 package org.apache.struts2.dispatcher.mapper;
 
 import com.opensymphony.xwork2.config.ConfigurationManager;
+import com.opensymphony.xwork2.inject.Inject;
 
 import javax.servlet.http.HttpServletRequest;
 import java.util.HashMap;
@@ -29,6 +30,7 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.struts2.StrutsConstants;
 
 /**
  * 
@@ -84,6 +86,12 @@
 
 protected static final Log LOG = 
LogFactory.getLog(Restful2ActionMapper.class);
 public static final String HTTP_METHOD_PARAM = "__http_method";
+private String idParameterName = null;
+
+public Restful2ActionMapper() {
+   setSlashesInActionNames("true");
+}
+
 
 /*
 * (non-Javadoc)
@@ -92,6 +100,9 @@
 */
 public ActionMapping getMapping(HttpServletRequest request, 
ConfigurationManager configManager) {
 
+   if (!isSlashesInActionNames()) {
+   throw new IllegalStateException("This action mapper requires 
the setting 'slashesInActionNames' to be set to 'true'");
+   }
 ActionMapping mapping = super.getMapping(request, configManager);
 
 if (mapping == null) {
@@ -137,6 +148,17 @@
 }  else if (isPut(request)) {
 mapping.setMethod("update");
 }
+
+if (idParameterName != null) {
+   if (mapping.getParams() == null) {
+mapping.setParams(new HashMap());
+}
+   mapping.getParam

svn commit: r540143 - in /struts/struts2/trunk/core/src: main/java/org/apache/struts2/ main/java/org/apache/struts2/dispatcher/mapper/ test/java/org/apache/struts2/dispatcher/mapper/

2007-05-21 Thread mrdon
Author: mrdon
Date: Mon May 21 06:49:26 2007
New Revision: 540143

URL: http://svn.apache.org/viewvc?view=rev&rev=540143
Log:
Porting improvement for restful 2 to allow id parameters
WW-1939

Modified:

struts/struts2/trunk/core/src/main/java/org/apache/struts2/StrutsConstants.java

struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java

struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java

struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapperTest.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/StrutsConstants.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/StrutsConstants.java?view=diff&rev=540143&r1=540142&r2=540143
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/StrutsConstants.java 
(original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/StrutsConstants.java 
Mon May 21 06:49:26 2007
@@ -151,4 +151,7 @@
 /** XWork default text provider */
 public static final String STRUTS_XWORKTEXTPROVIDER = 
"struts.xworkTextProvider";
 
+/** The name of the parameter to create when mapping an id (used by some 
action mappers) */
+   public static final String STRUTS_ID_PARAMETER_NAME = 
"struts.mapper.idParameterName";
+
 }

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java?view=diff&rev=540143&r1=540142&r2=540143
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.java
 Mon May 21 06:49:26 2007
@@ -485,11 +485,17 @@
 
 return uri.toString();
 }
+
 
-/**
+   public boolean isSlashesInActionNames() {
+   return allowSlashesInActionNames;
+   }
+   
+   /**
  * Defines a parameter action prefix
  */
 interface ParameterAction {
 void execute(String key, ActionMapping mapping);
 }
+
 }

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java?view=diff&rev=540143&r1=540142&r2=540143
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
 Mon May 21 06:49:26 2007
@@ -21,6 +21,7 @@
 package org.apache.struts2.dispatcher.mapper;
 
 import com.opensymphony.xwork2.config.ConfigurationManager;
+import com.opensymphony.xwork2.inject.Inject;
 
 import javax.servlet.http.HttpServletRequest;
 import java.util.HashMap;
@@ -29,6 +30,7 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.struts2.StrutsConstants;
 
 /**
  * 
@@ -84,6 +86,12 @@
 
 protected static final Log LOG = 
LogFactory.getLog(Restful2ActionMapper.class);
 public static final String HTTP_METHOD_PARAM = "__http_method";
+private String idParameterName = null;
+
+public Restful2ActionMapper() {
+   setSlashesInActionNames("true");
+}
+
 
 /*
 * (non-Javadoc)
@@ -92,6 +100,9 @@
 */
 public ActionMapping getMapping(HttpServletRequest request, 
ConfigurationManager configManager) {
 
+   if (!isSlashesInActionNames()) {
+   throw new IllegalStateException("This action mapper requires 
the setting 'slashesInActionNames' to be set to 'true'");
+   }
 ActionMapping mapping = super.getMapping(request, configManager);
 
 if (mapping == null) {
@@ -137,6 +148,17 @@
 }  else if (isPut(request)) {
 mapping.setMethod("update");
 }
+
+if (idParameterName != null) {
+   if (mapping.getParams() == null) {
+mapping.setParams(new HashMap());
+}
+   mapping.getParams().put(idParameterName, id);
+}
+}
+
+if (idParameterName != null && lastSlashPos > -1) {
+   actionName = actionName.substring(0, lastSlashPos);
 }
 }
 
@@ -

svn commit: r540146 - /struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java

2007-05-21 Thread mrdon
Author: mrdon
Date: Mon May 21 06:54:32 2007
New Revision: 540146

URL: http://svn.apache.org/viewvc?view=rev&rev=540146
Log:
Improving javadoc
WW-1939

Modified:

struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java

Modified: 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java?view=diff&rev=540146&r1=540145&r2=540146
==
--- 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
 (original)
+++ 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
 Mon May 21 06:54:32 2007
@@ -58,6 +58,15 @@
  *   
  * 
  * 
+ *   This mapper supports the following parameters:
+ * 
+ * 
+ *   struts.mapper.idParameterName - If set, this value will 
be the name
+ *   of the parameter under which the id is stored.  The id will then be 
removed
+ *   from the action name.  This allows restful actions to not require 
wildcards.
+ *   
+ * 
+ * 
  * The following URL's will invoke its methods:
  * 
  * 




svn commit: r540147 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java

2007-05-21 Thread mrdon
Author: mrdon
Date: Mon May 21 06:55:34 2007
New Revision: 540147

URL: http://svn.apache.org/viewvc?view=rev&rev=540147
Log:
Improving javadocs
WW-1939

Modified:

struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java?view=diff&rev=540147&r1=540146&r2=540147
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java
 Mon May 21 06:55:34 2007
@@ -58,6 +58,15 @@
  *   
  * 
  * 
+ *   This mapper supports the following parameters:
+ * 
+ * 
+ *   struts.mapper.idParameterName - If set, this value will 
be the name
+ *   of the parameter under which the id is stored.  The id will then be 
removed
+ *   from the action name.  This allows restful actions to not require 
wildcards.
+ *   
+ * 
+ * 
  * The following URL's will invoke its methods:
  * 
  *  




Issues Opened: week of 2007-05-21

2007-05-21 Thread dblevins

Struts2 - Monday, May 21, 2007

  14 opened in last 7 days

[WW-1933] HTTP Status 404 - result 'null' not found
  Svetlana Reznikov - Bug - []
  http://issues.apache.org/struts/browse/WW-1933

[WW-1938] Bug with multiple  s:param tags inside s:url tag
  Pavel Rodionov - Bug - []
  http://issues.apache.org/struts/browse/WW-1938

[WW-1927] Value of checkbox and hidden field have problem in s:form
  Rulin Sun - Bug - []
  http://issues.apache.org/struts/browse/WW-1927

[WW-1934] Cleanup Showcase
  Don Brown - Improvement - []
  http://issues.apache.org/struts/browse/WW-1934

[WW-1931] datetime picker
  Denys Romanyuk - New Feature - []
  http://issues.apache.org/struts/browse/WW-1931

[WW-1937] javascript validation error when int range above 1000
  Wang Sheng - Bug - []
  http://issues.apache.org/struts/browse/WW-1937

[WW-1926] Unexpected Exception catched: Error setting expression...
  Svetlana Reznikov - Bug - []
  http://issues.apache.org/struts/browse/WW-1926

[WW-1924] Struts2 on JDK 1.4
  miral - Bug - []
  http://issues.apache.org/struts/browse/WW-1924

[WW-1930] Submit value lost when ajax theme used to target action
  Jason Wyatt - Bug - []
  http://issues.apache.org/struts/browse/WW-1930

[WW-1932] SubsetIteratorTag throws NullPointerException when no source is 
specified
  Jed Alexander - Bug - []
  http://issues.apache.org/struts/browse/WW-1932

[WW-1929] submit ajxs form is not working for FF and IE
  dhilip mandava - Bug - []
  http://issues.apache.org/struts/browse/WW-1929

[WW-1936] New Java 1.5 features
  Jonatas Rodrigues - New Feature - []
  http://issues.apache.org/struts/browse/WW-1936

[WW-1928] Problem with link from Struts2 wiki export page if specific path 
followed (reported at request of Laurie Harper)
  Al Sutton - Bug - []
  http://issues.apache.org/struts/browse/WW-1928

[WW-1925] Add a "transport" attribute to tags Bind, Anchor and Submit, and 
Div
  Musachy Barroso - Improvement - []
  http://issues.apache.org/struts/browse/WW-1925



svn commit: r540389 - in /struts/struts1/branches/STRUTS_1_3_BRANCH/src/site/xdoc/userGuide: release-notes-1_3_8.xml release-notes.xml

2007-05-21 Thread pbenedict
Author: pbenedict
Date: Mon May 21 18:45:25 2007
New Revision: 540389

URL: http://svn.apache.org/viewvc?view=rev&rev=540389
Log:
1.3.9 release notes

Added:

struts/struts1/branches/STRUTS_1_3_BRANCH/src/site/xdoc/userGuide/release-notes-1_3_8.xml
  - copied unchanged from r535749, 
struts/struts1/branches/STRUTS_1_3_BRANCH/src/site/xdoc/userGuide/release-notes.xml
Modified:

struts/struts1/branches/STRUTS_1_3_BRANCH/src/site/xdoc/userGuide/release-notes.xml

Modified: 
struts/struts1/branches/STRUTS_1_3_BRANCH/src/site/xdoc/userGuide/release-notes.xml
URL: 
http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/src/site/xdoc/userGuide/release-notes.xml?view=diff&rev=540389&r1=540388&r2=540389
==
--- 
struts/struts1/branches/STRUTS_1_3_BRANCH/src/site/xdoc/userGuide/release-notes.xml
 (original)
+++ 
struts/struts1/branches/STRUTS_1_3_BRANCH/src/site/xdoc/userGuide/release-notes.xml
 Mon May 21 18:45:25 2007
@@ -23,23 +23,19 @@
 
 
 
-Release Notes (since 1.3.7)
+Release Notes (since 1.3.8)
 
 
-
+
 
 
 
 
 This section contains release notes for changes that have
-taken place to Struts since the last public release, but
-there have been two intermediate test distributions since. 
Please 
-read the previous release notes to understand all issues
-that crescendo at this version:
-
-Version 
1.3.7
-Version 
1.3.6
-
+taken place to Struts,
+since the
+Version 1.3.8
+distribution.
 To keep up-to-date on all changes to the framework, 
 subscribe to
 the (commits at struts.apache.org) list.
@@ -66,13 +62,24 @@
 
 
 
-
 Bug
 
-[STR-3009] 
- ActionRedirect from ForwardConfig not redirecting properly?
-[STR-3010] 
- Faces Example2 webapp references older DTD version in struts-config.xml which 
doesn't have the cancellable attribute
-[STR-3011] 
- EL Example webapp has a number of errors
-[STR-3012] 
- User guide does not have links to 1.3.5, 1.3.6, 1.3.7 release notes
+[STR-2597] 
- Unexpected Tiles recursion on JSP errors?
+[STR-3015] 
- release set parameters to null in LinkTag
+[STR-3020] 
- AbstractCreateAction emits error unnecessarily
+[STR-3021] 
- Tiles insert is evaluated twice if JSP error occures
+[STR-3028] 
- struts-html-el.tld option tag filter type causing tld not to load
+[STR-3029] 
- ActionConfigMatcher does not instantiate the correct ActionForward
+
+
+Improvement
+
+[STR-487] - 
Multiple file upload not possible due to MultiPartRequestHandler 
limitation?
+
+
+Task
+
+[STR-3034] 
- Remove Tiles 2 module from 1.3 branch