[CONF] Confluence Changes in the last 24 hours

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

-
Updated Spaces:
-

Apache Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX
|
|-Pages Added or Edited in This Space
 |-- Dependency Manager Usage was last edited by marrs (02:43 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/Dependency+Manager+Usage

Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL
|
|-Pages Added or Edited in This Space
 |-- JMS was last edited by bsnyder (07:55 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/JMS
 |-- Scala DSL - EIP was last edited by gertvanthienen (05:48 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Scala+DSL+-+EIP
 |-- How do I invoke Camel routes from JBI was created by jstrachan (01:48 AM).
 |   
http://cwiki.apache.org/confluence/display/CAMEL/How+do+I+invoke+Camel+routes+from+JBI

Apache ActiveMQ (ACTIVEMQ) http://cwiki.apache.org/confluence/display/ACTIVEMQ
|
|-Pages Added or Edited in This Space
 |-- ActiveMQ Command Line Tools Reference was last edited by [EMAIL PROTECTED] 
(04:59 AM).
 |   
http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+Command+Line+Tools+Reference

Apache Sling Website (SLINGxSITE) 
http://cwiki.apache.org/confluence/display/SLINGxSITE
|
|-Pages Added or Edited in This Space
 |-- Manipulating Content - The SlingPostServlet was last edited by fmeschbe 
(06:04 AM).
 |   
http://cwiki.apache.org/confluence/display/SLINGxSITE/Manipulating+Content+-+The+SlingPostServlet

Apache ServiceMix (SM) http://cwiki.apache.org/confluence/display/SM
|
|-Pages Added or Edited in This Space
 |-- Discussion Forums was last edited by bsnyder (02:47 PM).
 |   http://cwiki.apache.org/confluence/display/SM/Discussion+Forums

Tuscany Wiki (TUSCANYWIKI) 
http://cwiki.apache.org/confluence/display/TUSCANYWIKI
|
|-Pages Added or Edited in This Space
 |-- Map-Reduce support for Apache Tuscany was last edited by ctrezzo (10:52 
PM).
 |   
http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Map-Reduce+support+for+Apache+Tuscany
 |-- Allow Google Android applications to easily consume business services was 
last edited by [EMAIL PROTECTED] (02:48 PM).
 |   
http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Allow+Google+Android+applications+to+easily+consume+business+services

Apache ServiceMix Kernel (SMX4KNL) 
http://cwiki.apache.org/confluence/display/SMX4KNL
|
|-Pages Added or Edited in This Space
 |-- 4.5. Security framework was created by gnodet (04:59 AM).
 |   http://cwiki.apache.org/confluence/display/SMX4KNL/4.5.+Security+framework
 |-- Kernel Overview was last edited by gnodet (04:58 AM).
 |   http://cwiki.apache.org/confluence/display/SMX4KNL/Kernel+Overview

Apache Cayenne (CAY) http://cwiki.apache.org/confluence/display/CAY
|
|-Pages Added or Edited in This Space
 |-- Runtime Metadata Merging was created by andrus (10:42 AM).
 |   http://cwiki.apache.org/confluence/display/CAY/Runtime+Metadata+Merging

UIMA (UIMA) http://cwiki.apache.org/confluence/display/UIMA
|
|-Pages Added or Edited in This Space
 |-- TestPlanCpp2.2 was last edited by eaepstein (10:16 AM).
 |   http://cwiki.apache.org/confluence/display/UIMA/TestPlanCpp2.2

Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET
|
|-Pages Added or Edited in This Space
 |-- Simple FBML redirect with Wicket was created by ll (01:10 PM).
 |   
http://cwiki.apache.org/confluence/display/WICKET/Simple+FBML+redirect+with+Wicket


-
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: r658646 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java

2008-05-21 Thread davenewton
Author: davenewton
Date: Wed May 21 05:16:53 2008
New Revision: 658646

URL: http://svn.apache.org/viewvc?rev=658646&view=rev
Log:
Minor TLD doc spelling.

Modified:

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

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java?rev=658646&r1=658645&r2=658646&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
 Wed May 21 05:16:53 2008
@@ -1049,7 +1049,7 @@
 this.label = label;
 }
 
-@StrutsTagAttribute(description="String that will be appended to the 
labe", defaultValue=":")
+@StrutsTagAttribute(description="String that will be appended to the 
label", defaultValue=":")
 public void setLabelSeparator(String labelseparator) {
 this.labelSeparator = labelseparator;
 }




svn commit: r658683 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java

2008-05-21 Thread musachy
Author: musachy
Date: Wed May 21 06:44:40 2008
New Revision: 658683

URL: http://svn.apache.org/viewvc?rev=658683&view=rev
Log:
WW-2651 FileUploadInterceptor.java javadoc is not formatted correctly for 
Confluence snippets

Thanks to Matthieu Chase Heimer for the patch

Modified:

struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java?rev=658683&r1=658682&r2=658683&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java
 Wed May 21 06:44:40 2008
@@ -108,7 +108,7 @@
  *
  * 
  *
- * You can extend this interceptor and override the [EMAIL PROTECTED] 
#acceptFile} method to provide more control over which files
+ * You can extend this interceptor and override the acceptFile method to 
provide more control over which files
  * are supported and which are not.
  *
  * 
@@ -116,27 +116,41 @@
  *  Example code:
  *
  * 
- * 
- * 
+ * 
+ * 
  * 
  * 
- * good_result.ftl
+ * good_result.jsp
  * 
+ * 
  * 
  *
- * And then you need to set encoding multipart/form-data in the 
form where the user selects the file to upload.
+ * 
+ *
+ * You must set the encoding to multipart/form-data in the form 
where the user selects the file to upload.
+ *
+ * 
+ *
  * 
+ * 
  *   
  *   
  *   
  *   
+ * 
  * 
  *
  * And then in your action code you'll have access to the File object if you 
provide setters according to the
  * naming convention documented in the start.
  *
  * 
- *public com.examples.UploadAction implemements Action {
+ * 
+ *package com.example;
+ *
+ *import java.io.File;
+ *import com.opensymphony.xwork2.ActionSupport;
+ *
+ *public UploadAction extends ActionSupport {
  *   private File file;
  *   private String contentType;
  *   private String filename;
@@ -153,10 +167,13 @@
  *  this.filename = filename;
  *   }
  *
- *   ...
+ *   public String execute() {
+ *  //...
+ *  return SUCCESS;
+ *   }
  *  }
+ * 
  * 
- * 
  *
  */
 public class FileUploadInterceptor extends AbstractInterceptor {




svn commit: r658883 - in /struts/struts2/trunk/core/src/main/java/org/apache/struts2: dispatcher/ServletDispatcherResult.java views/util/UrlHelper.java

2008-05-21 Thread musachy
Author: musachy
Date: Wed May 21 14:31:04 2008
New Revision: 658883

URL: http://svn.apache.org/viewvc?rev=658883&view=rev
Log:
WW-2120  Dispatcher does not put request parameters of new url on the value 
stack.

Modified:

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

struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/util/UrlHelper.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletDispatcherResult.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletDispatcherResult.java?rev=658883&r1=658882&r2=658883&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletDispatcherResult.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletDispatcherResult.java
 Wed May 21 14:31:04 2008
@@ -21,12 +21,15 @@
 
 package org.apache.struts2.dispatcher;
 
+import java.util.Map;
+
 import javax.servlet.RequestDispatcher;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 import javax.servlet.jsp.PageContext;
 
 import org.apache.struts2.ServletActionContext;
+import org.apache.struts2.views.util.UrlHelper;
 
 import com.opensymphony.xwork2.ActionInvocation;
 import com.opensymphony.xwork2.util.logging.Logger;
@@ -123,6 +126,17 @@
 HttpServletResponse response = ServletActionContext.getResponse();
 RequestDispatcher dispatcher = 
request.getRequestDispatcher(finalLocation);
 
+//add parameters passed on the location to #parameters
+// see WW-2120
+if (invocation != null && finalLocation != null && 
finalLocation.length() > 0
+&& finalLocation.indexOf("?") > 0) {
+String queryString = 
finalLocation.substring(finalLocation.indexOf("?") + 1);
+Map parameters = (Map) 
invocation.getInvocationContext().getContextMap().get("parameters");
+Map queryParams = UrlHelper.parseQueryString(queryString, 
true);
+if (queryParams != null && !queryParams.isEmpty())
+parameters.putAll(queryParams);
+}
+
 // if the view doesn't exist, let's do a 404
 if (dispatcher == null) {
 response.sendError(404, "result '" + finalLocation + "' not 
found");

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/util/UrlHelper.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/util/UrlHelper.java?rev=658883&r1=658882&r2=658883&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/util/UrlHelper.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/util/UrlHelper.java
 Wed May 21 14:31:04 2008
@@ -75,12 +75,12 @@
 public static String buildUrl(String action, HttpServletRequest request, 
HttpServletResponse response, Map params, String scheme, boolean 
includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort) {
return buildUrl(action, request, response, params, scheme, 
includeContext, encodeResult, forceAddSchemeHostAndPort, true);
 }
-
+
 public static String buildUrl(String action, HttpServletRequest request, 
HttpServletResponse response, Map params, String scheme, boolean 
includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort, 
boolean escapeAmp) {
 StringBuffer link = new StringBuffer();
 
 boolean changedScheme = false;
-
+
 // FIXME: temporary hack until class is made a properly injected bean
 Container cont = ActionContext.getContext().getContainer();
 int httpPort = Integer.parseInt(cont.getInstance(String.class, 
StrutsConstants.STRUTS_URL_HTTP_PORT));
@@ -173,13 +173,13 @@
 buildParametersString(params, link);
 } else {
 buildParametersString(params, link, "&");
-} 
+}
 
 String result = link.toString();
-
+
 while (result.indexOf("

svn commit: r658887 - /struts/struts2/trunk/plugins/config-browser/src/main/resources/config-browser/config-styles.css

2008-05-21 Thread musachy
Author: musachy
Date: Wed May 21 14:43:25 2008
New Revision: 658887

URL: http://svn.apache.org/viewvc?rev=658887&view=rev
Log:
Remove duplicated license header
Move license header inside 

svn commit: r658958 - in /struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components: Bind.java Submit.java

2008-05-21 Thread davenewton
Author: davenewton
Date: Wed May 21 17:39:06 2008
New Revision: 658958

URL: http://svn.apache.org/viewvc?rev=658958&view=rev
Log:
Minor spelling

Modified:

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Submit.java

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java?rev=658958&r1=658957&r2=658958&view=diff
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java
 Wed May 21 17:39:06 2008
@@ -271,7 +271,7 @@
 this.highlightDuration = highlightDuration;
 }
 
-@StrutsTagAttribute(description = "Perform Ajax calidation. 
'ajaxValidation' interceptor must be applied to action", type="Boolean", 
+@StrutsTagAttribute(description = "Perform Ajax validation. 
'ajaxValidation' interceptor must be applied to action", type="Boolean", 
 defaultValue = "false")
 public void setValidate(String validate) {
 this.validate = validate;

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Submit.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Submit.java?rev=658958&r1=658957&r2=658958&view=diff
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Submit.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Submit.java
 Wed May 21 17:39:06 2008
@@ -425,7 +425,7 @@
 this.highlightDuration = highlightDuration;
 }
 
-@StrutsTagAttribute(description = "Perform Ajax calidation. 
'ajaxValidation' interceptor must be applied to action", type="Boolean", 
+@StrutsTagAttribute(description = "Perform Ajax validation. 
'ajaxValidation' interceptor must be applied to action", type="Boolean", 
 defaultValue = "false")
 public void setValidate(String validate) {
 this.validate = validate;