[CONF] Confluence Changes in the last 24 hours

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

-
Updated Spaces:
-

Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL
|
|-Pages Added or Edited in This Space
 |-- How do I retrieve the thrown Exception during processing an Exchange was 
created by davsclaus (11:48 PM).
 |   
http://cwiki.apache.org/confluence/display/CAMEL/How+do+I+retrieve+the+thrown+Exception+during+processing+an+Exchange
 |-- StringTemplate was last edited by davsclaus (09:57 PM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/StringTemplate
 |-- Velocity was last edited by davsclaus (09:47 PM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Velocity
 |-- HTTP was last edited by njiang (02:21 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/HTTP

Apache CXF Documentation (CXF20DOC) 
http://cwiki.apache.org/confluence/display/CXF20DOC
|
|-Pages Added or Edited in This Space
 |-- Introduction to Aegis (2.1) was last edited by [EMAIL PROTECTED] (05:51 
AM).
 |   
http://cwiki.apache.org/confluence/display/CXF20DOC/Introduction+to+Aegis+%282.1%29

Apache Directory Server v1.5 (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- Core Integration Testing Framework was last edited by elecharny (04:39 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Core+Integration+Testing+Framework

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

Apache Abdera (ABDERA) http://cwiki.apache.org/confluence/display/ABDERA
 |
 |-New Comments in This Space
 |-- http://cwiki.apache.org/confluence/display/ABDERA/Getting+Started (1)

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- FAQs was last edited by [EMAIL PROTECTED] (08:17 PM).
 |   http://cwiki.apache.org/confluence/display/WW/FAQs
 |
 |-New Comments in This Space
 |-- http://cwiki.apache.org/confluence/display/WW/REST+Plugin (1)
 |-- http://cwiki.apache.org/confluence/display/WW/Validating+Input (1)

Apache ServiceMix Kernel (SMX4KNL) 
http://cwiki.apache.org/confluence/display/SMX4KNL
|
|-Pages Added or Edited in This Space
 |-- 4.7. Administration was created by gnodet (01:24 AM).
 |   http://cwiki.apache.org/confluence/display/SMX4KNL/4.7.+Administration

Apache Geronimo v2.1 (GMOxDOC21) 
http://cwiki.apache.org/confluence/display/GMOxDOC21
|
|-Pages Added or Edited in This Space
 |-- geronimo-web.xml was last edited by mcconne (09:10 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC21/geronimo-web.xml
 |-- Multiple Repositories was last edited by jbohn (02:55 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC21/Multiple+Repositories
 |-- geronimo-application.xml was last edited by mcconne (12:43 PM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC21/geronimo-application.xml
 |-- openejb-jar.xml was last edited by mcconne (12:42 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC21/openejb-jar.xml
 |-- geronimo-application-client.xml was last edited by mcconne (12:41 PM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC21/geronimo-application-client.xml
 |-- Deployment was last edited by mcconne (12:41 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC21/Deployment
 |-- Documentation was last edited by hcunico (11:16 AM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC21/Documentation
 |-- Configuring login modules was last edited by bjreed (11:14 AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC21/Configuring+login+modules
 |-- WADI Clustering Support was last edited by hcunico (11:07 AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC21/WADI+Clustering+Support
 |-- Farming was last edited by hcunico (11:06 AM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC21/Farming
 |-- app-per-port - Running multiple web apps on different ports was last 
edited by jbohn (10:49 AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC21/app-per-port+-+Running+multiple+web+apps+on+different+ports
 |-- Sample applications was last edited by jbohn (10:39 AM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC21/Sample+applications
 |-- bank - EJB sample application was last edited by jbohn (10:35 AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC21/bank+-+EJB+sample+application
 |-- Configuring JavaEE App Client Security was last edited by bjreed (08:45 
AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC21/Configuring+JavaEE+App+Client+Security
 |-- Annotations w

Issues Closed: week of 2008-06-06

2008-06-06 Thread dblevins

Struts2 - Friday, June 6, 2008

  10 closed in last 7 days

[WW-992] Fixes broken checkbox and checkboxlist implementation.
  - Type: Bug
  - Assignee: Don Brown
  - Components: [Core Actions, Core Interceptors, Plugin - Tags]
  - Fix Versions: [2.1.1]
  - http://issues.apache.org/struts/browse/WW-992

[WW-32] FAQ - Added links to search the mailing lists
  - Type: Task
  - Assignee: Matt Baldree
  - Components: []
  - Fix Versions: [WW 1.0.3]
  - http://issues.apache.org/struts/browse/WW-32

[WW-2261] Add inheritance for SkipValidation annotation
  - Type: Improvement
  - Assignee: Unassigned
  - Components: [Plugin - CodeBehind]
  - Fix Versions: [2.1.4]
  - http://issues.apache.org/struts/browse/WW-2261

[WW-2587] @SkipValidation not found on superclass method
  - Type: Bug
  - Assignee: Unassigned
  - Components: [Core Interceptors]
  - Fix Versions: [2.1.3]
  - http://issues.apache.org/struts/browse/WW-2587

[WW-2667] REST should not extend Codebehind
  - Type: Bug
  - Assignee: Musachy Barroso
  - Components: [Plugin - REST]
  - Fix Versions: [2.1.3]
  - http://issues.apache.org/struts/browse/WW-2667

[WW-2662] action tag and sitemesh issue
  - Type: Bug
  - Assignee: Unassigned
  - Components: [Core Actions]
  - Fix Versions: []
  - http://issues.apache.org/struts/browse/WW-2662

[WW-2664] Update freemarker dependency to 2.3.13
  - Type: Improvement
  - Assignee: James Holmes
  - Components: [Build Management]
  - Fix Versions: [2.1.3]
  - http://issues.apache.org/struts/browse/WW-2664

[WW-2336] @Resource annotation not used with beans defined by id
  - Type: Bug
  - Assignee: Unassigned
  - Components: [Plugin - Spring]
  - Fix Versions: [Future]
  - http://issues.apache.org/struts/browse/WW-2336

[WW-2616] Struts 2.1.2 omnibus ticket
  - Type: Task
  - Assignee: Don Brown
  - Components: []
  - Fix Versions: [2.1.2]
  - http://issues.apache.org/struts/browse/WW-2616

[WW-] The autocompleter bugs in struts2.0
  - Type: Bug
  - Assignee: Stone.Hong
  - Components: [Plugin - Tags]
  - Fix Versions: [2.1.1]
  - http://issues.apache.org/struts/browse/WW-



svn commit: r663990 - /struts/struts2/trunk/apps/rest-showcase/pom.xml

2008-06-06 Thread musachy
Author: musachy
Date: Fri Jun  6 08:53:47 2008
New Revision: 663990

URL: http://svn.apache.org/viewvc?rev=663990&view=rev
Log:
WW-2667 REST should not extend Codebehind
* Applications that use REST must include a Codebehind's jar

Modified:
struts/struts2/trunk/apps/rest-showcase/pom.xml

Modified: struts/struts2/trunk/apps/rest-showcase/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/rest-showcase/pom.xml?rev=663990&r1=663989&r2=663990&view=diff
==
--- struts/struts2/trunk/apps/rest-showcase/pom.xml (original)
+++ struts/struts2/trunk/apps/rest-showcase/pom.xml Fri Jun  6 08:53:47 2008
@@ -35,7 +35,7 @@
2.1.3-SNAPSHOT
Struts 2 Rest Showcase Example
Struts 2 Rest Showcase Example
-   
+

 
 org.apache.struts
@@ -43,6 +43,11 @@
 ${pom.version}
 
 
+org.apache.struts
+struts2-codebehind-plugin
+${pom.version}
+
+
 junit
 junit
 3.8.2
@@ -51,7 +56,7 @@
 
 
 
-   
+
 
   struts2-rest-showcase





svn commit: r664051 - in /struts/sandbox/trunk/struts2-convention-plugin/src/main: java/org/apache/struts2/convention/DefaultResultMapBuilder.java resources/struts-plugin.xml

2008-06-06 Thread musachy
Author: musachy
Date: Fri Jun  6 10:36:17 2008
New Revision: 664051

URL: http://svn.apache.org/viewvc?rev=664051&view=rev
Log:
Add new configuration setting to enable results to be in a subdir

Modified:

struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java

struts/sandbox/trunk/struts2-convention-plugin/src/main/resources/struts-plugin.xml

Modified: 
struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java?rev=664051&r1=664050&r2=664051&view=diff
==
--- 
struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
 (original)
+++ 
struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
 Fri Jun  6 10:36:17 2008
@@ -116,6 +116,7 @@
 private final ServletContext servletContext;
 private Set relativeResultTypes;
 private ConventionsService conventionsService;
+private boolean flatResultLayout = true;
 
 /**
  * Constructs the SimpleResultMapBuilder using the given result location.
@@ -134,6 +135,16 @@
 }
 
 /**
+ * @param flatResultLayout If 'true' result resources will be expected to 
be in the form
+ *  ${namespace}/${actionName}-${result}.${extension}, otherwise 
in the form
+ *  ${namespace}/${actionName}/${result}.${extension}
+ */
+@Inject("struts.convention.result.flatLayout")
+public void setFlatResultLayout(String flatResultLayout) {
+this.flatResultLayout = "true".equals(flatResultLayout);
+}
+
+/**
  * [EMAIL PROTECTED]
  */
 public Map build(Class actionClass,
@@ -213,7 +224,7 @@
 
 // Build from web application using the ServletContext
 @SuppressWarnings("unchecked")
-Set paths = servletContext.getResourcePaths(resultPath);
+Set paths = servletContext.getResourcePaths(flatResultLayout ? 
resultPath : resultPrefix);
 if (paths != null) {
 for (String path : paths) {
 if (LOG.isTraceEnabled()) {
@@ -288,7 +299,7 @@
 int indexOfDot = path.indexOf('.', resultPrefix.length());
 
 // This case is when the path doesn't contain a result code
-if (indexOfDot == resultPrefix.length()) {
+if (indexOfDot == resultPrefix.length() || !flatResultLayout) {
 if (LOG.isTraceEnabled()) {
 LOG.trace("The result file [#0] has no result code and 
therefore" +
 " will be associated with success, input and error by 
default. This might" +

Modified: 
struts/sandbox/trunk/struts2-convention-plugin/src/main/resources/struts-plugin.xml
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-convention-plugin/src/main/resources/struts-plugin.xml?rev=664051&r1=664050&r2=664051&view=diff
==
--- 
struts/sandbox/trunk/struts2-convention-plugin/src/main/resources/struts-plugin.xml
 (original)
+++ 
struts/sandbox/trunk/struts2-convention-plugin/src/main/resources/struts-plugin.xml
 Fri Jun  6 10:36:17 2008
@@ -38,6 +38,7 @@
   
 
   
+