[CONF] Confluence Changes in the last 24 hours

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

-
Updated Spaces:
-

Apache Continuum Developers (CONTINUUMDEV) 
http://cwiki.apache.org/confluence/display/CONTINUUMDEV
|
|-Pages Added or Edited in This Space
 |-- Continuum - Home was last edited by [EMAIL PROTECTED] (04:42 PM).
 |   http://cwiki.apache.org/confluence/display/CONTINUUMDEV/Continuum+-+Home

Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL
|
|-Pages Added or Edited in This Space
 |-- How does Camel compare to ServiceMix EIP was last edited by jstrachan 
(07:48 AM).
 |   
http://cwiki.apache.org/confluence/display/CAMEL/How+does+Camel+compare+to+ServiceMix+EIP
 |-- FIX was created by jstrachan (04:48 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/FIX
 |-- Component List was last edited by jstrachan (04:49 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Component+List

Apache Sling (SLING) http://cwiki.apache.org/confluence/display/SLING
|
|-Pages Added or Edited in This Space
 |-- Outstanding features was created by [EMAIL PROTECTED] (09:36 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Outstanding+features
 |-- Introductions was created by [EMAIL PROTECTED] (09:04 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Introductions
 |-- Sling in a few words was created by [EMAIL PROTECTED] (09:15 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Sling+in+a+few+words
 |-- Sling for a RESTafarian was created by [EMAIL PROTECTED] (09:14 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Sling+for+a+RESTafarian
 |-- Documentation was created by [EMAIL PROTECTED] (07:50 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Documentation
 |-- Sling API Redesign was last edited by fmeschbe (04:58 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Sling+API+Redesign
 |-- Module Reorganization Proposal was last edited by fmeschbe (04:57 AM).
 |   
http://cwiki.apache.org/confluence/display/SLING/Module+Reorganization+Proposal
 |-- Concepts and Ideas was last edited by fmeschbe (04:57 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Concepts+and+Ideas
 |-- Everything is a Resource was last edited by fmeschbe (04:56 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Everything+is+a+Resource
 |-- Effective Exceptions was last edited by fmeschbe (04:56 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Effective+Exceptions
 |-- Index was last edited by fmeschbe (04:55 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Index
 |-- Reports was last edited by fmeschbe (04:52 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Reports

Apache Sling Website (SLINGxSITE) 
http://cwiki.apache.org/confluence/display/SLINGxSITE
|
|-Pages Added or Edited in This Space
 |-- Index was last edited by fmeschbe (07:46 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Index
 |-- Links was last edited by fmeschbe (07:40 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Links
 |-- Development was created by fmeschbe (06:38 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Development
 |-- Repository Based Development was last edited by fmeschbe (07:38 AM).
 |   
http://cwiki.apache.org/confluence/display/SLINGxSITE/Repository+Based+Development
 |-- Guides was last edited by fmeschbe (07:38 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Guides
 |-- Advanced Topics was created by fmeschbe (06:37 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Advanced+Topics
 |-- Documentation was last edited by fmeschbe (07:32 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Documentation
 |-- Resources was last edited by fmeschbe (07:19 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Resources
 |-- Request Parameters was last edited by fmeschbe (07:18 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Request+Parameters
 |-- Dispatching Requests was last edited by fmeschbe (07:16 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Dispatching+Requests
 |-- Getting and Building Sling was last edited by fmeschbe (07:15 AM).
 |   
http://cwiki.apache.org/confluence/display/SLINGxSITE/Getting+and+Building+Sling
 |-- Default Mapping and Rendering was last edited by fmeschbe (07:13 AM).
 |   
http://cwiki.apache.org/confluence/display/SLINGxSITE/Default+Mapping+and+Rendering
 |-- Request Processing was last edited by fmeschbe (07:10 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Request+Processing
 |-- Project Information was last edited by fmeschbe (06:42 AM).
 |   http://cwiki.apache.org/confluence/display/SLINGxSITE/Project+Information
 |-- Navigation was last edited by fmeschbe (06:36 AM).
 |   http://

svn commit: r627920 - /struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java

2008-02-14 Thread wesw
Author: wesw
Date: Thu Feb 14 16:31:23 2008
New Revision: 627920

URL: http://svn.apache.org/viewvc?rev=627920&view=rev
Log:
fixes IllegalStateException when running with Jetty 6.1.6, addresses WW-2350

Modified:

struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java

Modified: 
struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java?rev=627920&r1=627919&r2=627920&view=diff
==
--- 
struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java
 (original)
+++ 
struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java
 Thu Feb 14 16:31:23 2008
@@ -20,6 +20,10 @@
  */
 package org.apache.struts2.rest;
 
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.Reader;
+
 import javax.servlet.http.HttpServletRequest;
 
 import org.apache.struts2.ServletActionContext;
@@ -57,7 +61,9 @@
 }
 
 if (request.getContentLength() > 0) {
-handler.toObject(request.getReader(), target);
+InputStream is = (InputStream) request.getInputStream();
+InputStreamReader reader = new InputStreamReader(is);
+handler.toObject((Reader) reader, target);
 }
 return invocation.invoke();
 }




svn commit: r627922 - /struts/struts2/trunk/core/src/main/resources/template/xhtml/form-close-validate.ftl

2008-02-14 Thread wesw
Author: wesw
Date: Thu Feb 14 16:41:16 2008
New Revision: 627922

URL: http://svn.apache.org/viewvc?rev=627922&view=rev
Log:
Using the 'c' builtin in freemarker so that numbers are output in a fashion 
usable in JavaScript, address WW-2254

Modified:

struts/struts2/trunk/core/src/main/resources/template/xhtml/form-close-validate.ftl

Modified: 
struts/struts2/trunk/core/src/main/resources/template/xhtml/form-close-validate.ftl
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/xhtml/form-close-validate.ftl?rev=627922&r1=627921&r2=627922&view=diff
==
--- 
struts/struts2/trunk/core/src/main/resources/template/xhtml/form-close-validate.ftl
 (original)
+++ 
struts/struts2/trunk/core/src/main/resources/template/xhtml/form-close-validate.ftl
 Thu Feb 14 16:41:16 2008
@@ -68,8 +68,8 @@
 while (value.substring(value.length-1, value.length) == ' 
')
 value = value.substring(0, value.length-1);
 
-if ((${validator.minLength?string} > -1 && value.length < 
${validator.minLength?string}) ||
-(${validator.maxLength?string} > -1 && value.length > 
${validator.maxLength?string})) {
+if ((${validator.minLength?c} > -1 && value.length < 
${validator.minLength?c}) ||
+(${validator.maxLength?c} > -1 && value.length > 
${validator.maxLength?c})) {
 addError(field, error);
 errors = true;
 }