[CONF] Confluence Changes in the last 24 hours

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

-
Updated Spaces:
-

Apache Directory Server v1.5 (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- Mapping Java Beans to LDAP ObjectClasses was created by akarasulu (09:03 
PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Mapping+Java+Beans+to+LDAP+ObjectClasses
 |-- Configuration in DIT (CiDIT) was created by akarasulu (05:06 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Configuration+in+DIT+%28CiDIT%29
 |-- ApacheDS v1.5 Developer's Guide was last edited by akarasulu (07:34 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/ApacheDS+v1.5+Developer%27s+Guide

Apache ActiveMQ (ACTIVEMQ) http://cwiki.apache.org/confluence/display/ACTIVEMQ
|
|-Pages Added or Edited in This Space
 |-- Setting up ActiveMQ with Tomcat 5.5.9 was last edited by msiegenthaler 
(06:24 AM).
 |   
http://cwiki.apache.org/confluence/display/ACTIVEMQ/Setting+up+ActiveMQ+with+Tomcat+5.5.9

Apache Cayenne Website (CAYSITE) 
http://cwiki.apache.org/confluence/display/CAYSITE
|
|-Pages Added or Edited in This Space
 |-- Release Guide was last edited by andrus (01:28 PM).
 |   http://cwiki.apache.org/confluence/display/CAYSITE/Release+Guide

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- Handling File Uploads was last edited by mrdon (11:15 PM).
 |   http://cwiki.apache.org/confluence/display/WW/Handling+File+Uploads


-
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: r556624 - in /struts/struts2/trunk/core/src/test: java/org/apache/struts2/views/jsp/ui/TextfieldTest.java resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt resources/org/apache/str

2007-07-16 Thread mrdon
Author: mrdon
Date: Mon Jul 16 06:35:09 2007
New Revision: 556624

URL: http://svn.apache.org/viewvc?view=rev&rev=556624
Log:
Adding tests to ensure recursive value attribute processing has been disabled
WW-2030

Added:

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt

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

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

Modified: 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/TextfieldTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/TextfieldTest.java?view=diff&rev=556624&r1=556623&r2=556624
==
--- 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/TextfieldTest.java
 (original)
+++ 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/TextfieldTest.java
 Mon Jul 16 06:35:09 2007
@@ -148,4 +148,37 @@
 
 verify(TextFieldTag.class.getResource("Textfield-1.txt"));
 }
+
+public void testSimple_recursionTest() throws Exception {
+TestAction testAction = (TestAction) action;
+testAction.setFoo("%{1+1}");
+
+TextFieldTag tag = new TextFieldTag();
+tag.setPageContext(pageContext);
+tag.setLabel("mylabel");
+tag.setName("myname");
+tag.setValue("%{foo}");
+tag.setSize("10");
+
+tag.doStartTag();
+tag.doEndTag();
+
+verify(TextFieldTag.class.getResource("Textfield-5.txt"));
+}
+
+public void testSimple_recursionTestNoValue() throws Exception {
+TestAction testAction = (TestAction) action;
+testAction.setFoo("%{1+1}");
+
+TextFieldTag tag = new TextFieldTag();
+tag.setPageContext(pageContext);
+tag.setLabel("mylabel");
+tag.setName("foo");
+tag.setSize("10");
+
+tag.doStartTag();
+tag.doEndTag();
+
+verify(TextFieldTag.class.getResource("Textfield-6.txt"));
+}
 }

Added: 
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt?view=auto&rev=556624
==
--- 
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt
 (added)
+++ 
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt
 Mon Jul 16 06:35:09 2007
@@ -0,0 +1,4 @@
+
+mylabel:
+
+

Added: 
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-6.txt
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-6.txt?view=auto&rev=556624
==
--- 
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-6.txt
 (added)
+++ 
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-6.txt
 Mon Jul 16 06:35:09 2007
@@ -0,0 +1,4 @@
+
+mylabel:
+
+




Issues Opened: week of 2007-07-16

2007-07-16 Thread dblevins

Struts2 - Monday, July 16, 2007

  7 opened in last 7 days

[WW-2041] autocompleter tag works at firefox 2.0 but breaks at IE 6.0
  - Type: Bug
  - Reporter: nhsoft
  - Components: [Views]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2041

[WW-2034] Add #action to the context pointing to the last executed action
  - Type: New Feature
  - Reporter: Musachy Barroso
  - Components: []
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2034

[WW-2037] add a clearErrors() and clearMessages() method to ActionSupport
  - Type: Improvement
  - Reporter: James Holmes
  - Components: [API]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2037

[WW-2038] Extra carriage returns in simple theme templates
  - Type: Bug
  - Reporter: Marc-André Thibodeau
  - Components: [Views]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2038

[WW-2040] Struts 1 vs. Struts 2 benchmarking application
  - Type: Temp
  - Reporter: Frank W. Zammetti
  - Components: [Misc]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2040

[WW-2042] struts-power.gif does not display
  - Type: Bug
  - Reporter: Peter Milne
  - Components: [Examples]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2042

[WW-2035] Change ConfigurationManager to not overwrite exception stacktraces
  - Type: Improvement
  - Reporter: Jake Robb
  - Components: [Configuration]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2035



svn commit: r556659 - /struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml

2007-07-16 Thread jholmes
Author: jholmes
Date: Mon Jul 16 09:03:40 2007
New Revision: 556659

URL: http://svn.apache.org/viewvc?view=rev&rev=556659
Log:
WW-2018 bad class name in struts.xml (springaction) makes the portlet demo not 
loading

Modified:
struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml

Modified: struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml?view=diff&rev=556659&r1=556658&r2=556659
==
--- struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml (original)
+++ struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml Mon Jul 16 
09:03:40 2007
@@ -69,7 +69,8 @@


 
-   
+   

/WEB-INF/view/springExample.jsp





svn commit: r556660 - /struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml

2007-07-16 Thread jholmes
Author: jholmes
Date: Mon Jul 16 09:09:59 2007
New Revision: 556660

URL: http://svn.apache.org/viewvc?view=rev&rev=556660
Log:
Undoing change committed in r556659. This code works as designed, I'm going to 
close WW-2018 as not an issue.

Modified:
struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml

Modified: struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml?view=diff&rev=556660&r1=556659&r2=556660
==
--- struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml (original)
+++ struts/struts2/trunk/apps/portlet/src/main/resources/struts.xml Mon Jul 16 
09:09:59 2007
@@ -69,8 +69,7 @@


 
-   
+   

/WEB-INF/view/springExample.jsp





svn commit: r556789 - /struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java

2007-07-16 Thread pbenedict
Author: pbenedict
Date: Mon Jul 16 18:59:13 2007
New Revision: 556789

URL: http://svn.apache.org/viewvc?view=rev&rev=556789
Log:
STR-3068: Warn when using the classic RequestProcessor

Modified:

struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java

Modified: 
struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java?view=diff&rev=556789&r1=556788&r2=556789
==
--- 
struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java
 (original)
+++ 
struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java
 Mon Jul 16 18:59:13 2007
@@ -40,6 +40,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.struts.Globals;
+import org.apache.struts.chain.ComposableRequestProcessor;
 import org.apache.struts.config.ActionConfig;
 import org.apache.struts.config.ConfigRuleSet;
 import org.apache.struts.config.ExceptionConfig;
@@ -617,6 +618,15 @@
 "Cannot initialize RequestProcessor of class "
 + config.getControllerConfig().getProcessorClass() + ": "
 + e);
+}
+
+// Emit a warning to the log if the classic RequestProcessor is 
+// being used without composition. Hopefully developers will 
+// heed this message and make the upgrade.
+if (!(processor instanceof ComposableRequestProcessor)) {
+log.warn("Use of the classic RequestProcessor is not 
recommended. " +
+"Please upgrade to the ComposableRequestProcessor to " 
+
+"receive the advantage of modern enhancements and 
fixes.");
 }
 
 processor.init(this, config);




svn commit: r556797 - /struts/struts1/trunk/core/src/main/java/org/apache/struts/action/RequestProcessor.java

2007-07-16 Thread pbenedict
Author: pbenedict
Date: Mon Jul 16 20:17:01 2007
New Revision: 556797

URL: http://svn.apache.org/viewvc?view=rev&rev=556797
Log:
STR-3070: Set original path for postback forms

Modified:

struts/struts1/trunk/core/src/main/java/org/apache/struts/action/RequestProcessor.java

Modified: 
struts/struts1/trunk/core/src/main/java/org/apache/struts/action/RequestProcessor.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/action/RequestProcessor.java?view=diff&rev=556797&r1=556796&r2=556797
==
--- 
struts/struts1/trunk/core/src/main/java/org/apache/struts/action/RequestProcessor.java
 (original)
+++ 
struts/struts1/trunk/core/src/main/java/org/apache/struts/action/RequestProcessor.java
 Mon Jul 16 20:17:01 2007
@@ -741,6 +741,11 @@
 throws IOException {
 String path;
 
+// Set per request the original path for postback forms
+if (request.getAttribute(Globals.ORIGINAL_URI_KEY) == null) {
+request.setAttribute(Globals.ORIGINAL_URI_KEY, 
request.getServletPath());
+}
+
 // For prefix matching, match on the path info (if any)
 path = (String) request.getAttribute(INCLUDE_PATH_INFO);
 




svn commit: r556798 - /struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/main/java/org/apache/struts/action/RequestProcessor.java

2007-07-16 Thread pbenedict
Author: pbenedict
Date: Mon Jul 16 20:17:25 2007
New Revision: 556798

URL: http://svn.apache.org/viewvc?view=rev&rev=556798
Log:
STR-3070: Set original path for postback forms

Modified:

struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/main/java/org/apache/struts/action/RequestProcessor.java

Modified: 
struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/main/java/org/apache/struts/action/RequestProcessor.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/main/java/org/apache/struts/action/RequestProcessor.java?view=diff&rev=556798&r1=556797&r2=556798
==
--- 
struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/main/java/org/apache/struts/action/RequestProcessor.java
 (original)
+++ 
struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/main/java/org/apache/struts/action/RequestProcessor.java
 Mon Jul 16 20:17:25 2007
@@ -741,6 +741,11 @@
 throws IOException {
 String path;
 
+// Set per request the original path for postback forms
+if (request.getAttribute(Globals.ORIGINAL_URI_KEY) == null) {
+request.setAttribute(Globals.ORIGINAL_URI_KEY, 
request.getServletPath());
+}
+
 // For prefix matching, match on the path info (if any)
 path = (String) request.getAttribute(INCLUDE_PATH_INFO);