[CONF] Confluence Changes in the last 24 hours
- 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 |-- Board Report (2008-12) was last edited by [EMAIL PROTECTED] (11:53 AM). | http://cwiki.apache.org/confluence/display/FELIX/Board+Report+%282008-12%29 Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL | |-Pages Added or Edited in This Space |-- Book In One Page was last edited by janstey (05:56 PM). | http://cwiki.apache.org/confluence/display/CAMEL/Book+In+One+Page |-- Book Front Cover was created by janstey (05:55 PM). | http://cwiki.apache.org/confluence/display/CAMEL/Book+Front+Cover |-- RSS was last edited by janstey (10:30 AM). | http://cwiki.apache.org/confluence/display/CAMEL/RSS |-- Navigation was last edited by jstrachan (07:27 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Navigation |-- Manual Downloads was created by jstrachan (07:25 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Manual+Downloads |-- Manual was last edited by jstrachan (07:24 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Manual |-- User Guide was last edited by jstrachan (07:23 AM). | http://cwiki.apache.org/confluence/display/CAMEL/User+Guide |-- Release Guide was last edited by jstrachan (07:23 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Release+Guide |-- JMS was last edited by jstrachan (05:10 AM). | http://cwiki.apache.org/confluence/display/CAMEL/JMS |-- Using Exchange Pattern Annotations was last edited by jstrachan (05:09 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Using+Exchange+Pattern+Annotations |-- Spring Remoting was last edited by jstrachan (05:08 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Spring+Remoting |-- Exchange Pattern was created by jstrachan (03:02 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Exchange+Pattern |-- Event Message was created by jstrachan (03:15 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Event+Message |-- Request Reply was created by jstrachan (03:06 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Request+Reply |-- tutorial-osgi-camel-part1 was last edited by [EMAIL PROTECTED] (03:58 AM). | http://cwiki.apache.org/confluence/display/CAMEL/tutorial-osgi-camel-part1 |-- Exchange was created by jstrachan (03:21 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Exchange |-- Message was last edited by jstrachan (03:24 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Message |-- Enterprise Integration Patterns was last edited by jstrachan (03:05 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Enterprise+Integration+Patterns |-- Tutorials was last edited by [EMAIL PROTECTED] (02:36 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Tutorials | |-New Comments in This Space |-- http://cwiki.apache.org/confluence/display/CAMEL/tutorial-osgi-camel-part1 (1) Apache CXF Documentation (CXF20DOC) http://cwiki.apache.org/confluence/display/CXF20DOC | |-Pages Added or Edited in This Space |-- JAX-WS Configuration was last edited by seanoc (04:26 AM). | http://cwiki.apache.org/confluence/display/CXF20DOC/JAX-WS+Configuration Apache MINA FtpServer (FTPSERVER) http://cwiki.apache.org/confluence/display/FTPSERVER | |-Pages Added or Edited in This Space |-- Apache FtpServer 1.0.0-M4 release was created by ngn (01:13 PM). | http://cwiki.apache.org/confluence/display/FTPSERVER/Apache+FtpServer+1.0.0-M4+release |-- Downloads was last edited by ngn (01:09 PM). | http://cwiki.apache.org/confluence/display/FTPSERVER/Downloads |-- Index was last edited by ngn (01:08 PM). | http://cwiki.apache.org/confluence/display/FTPSERVER/Index |-- Apache FtpServer 1.0.0-M4 released was created by ngn (01:07 PM). | http://cwiki.apache.org/confluence/display/FTPSERVER/2008/12/09/Apache+FtpServer+1.0.0-M4+released Apache Sling Website (SLINGxSITE) http://cwiki.apache.org/confluence/display/SLINGxSITE | |-Pages Added or Edited in This Space |-- Groovy Support was created by fmeschbe (12:41 AM). | http://cwiki.apache.org/confluence/display/SLINGxSITE/Groovy+Support |-- ScriptEngineIntegration was last edited by fmeschbe (12:45 AM). | http://cwiki.apache.org/confluence/display/SLINGxSITE/ScriptEngineIntegration Apache Roller (ROLLER) http://cwiki.apache.org/confluence/display/ROLLER | |-Pages Added or Edited in This Space |-- Proposal - Clusterable Search Via Solr was created by snoopdave (02:46 PM). | http://cwiki.apache.org/confluence/display/ROLLER/Proposal+-+Clusterable+Search+Via+Solr |-- Roller Proposals was last edited by snoopdave (05:51 PM). | http://cwiki.apache.
svn commit: r725294 - in /struts/sandbox/trunk/struts2-convention-plugin: pom.xml src/main/java/org/apache/struts2/convention/ConventionUnknownHandler.java src/test/java/org/apache/struts2/convention/
Author: musachy Date: Wed Dec 10 06:24:56 2008 New Revision: 725294 URL: http://svn.apache.org/viewvc?rev=725294&view=rev Log: WW-2733 Use name separator as the character used to separate the action name and the result Modified: struts/sandbox/trunk/struts2-convention-plugin/pom.xml struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/ConventionUnknownHandler.java struts/sandbox/trunk/struts2-convention-plugin/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java Modified: struts/sandbox/trunk/struts2-convention-plugin/pom.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-convention-plugin/pom.xml?rev=725294&r1=725293&r2=725294&view=diff == --- struts/sandbox/trunk/struts2-convention-plugin/pom.xml (original) +++ struts/sandbox/trunk/struts2-convention-plugin/pom.xml Wed Dec 10 06:24:56 2008 @@ -20,7 +20,9 @@ * specific language governing permissions and limitations * under the License. */ --->http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> +--> +http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"; + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> 4.0.0 org.apache.struts @@ -38,6 +40,23 @@ http://svn.apache.org/viewcvs.cgi/struts/sandbox/trunk/struts2-convention-plugin + + + +true +org.apache.maven.plugins +maven-source-plugin + + +attach-sources + +jar + + + + + + org.apache.struts @@ -68,5 +87,5 @@ 2.0 provided - + \ No newline at end of file Modified: struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/ConventionUnknownHandler.java URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/ConventionUnknownHandler.java?rev=725294&r1=725293&r2=725294&view=diff == --- struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/ConventionUnknownHandler.java (original) +++ struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/ConventionUnknownHandler.java Wed Dec 10 06:24:56 2008 @@ -73,6 +73,7 @@ private boolean redirectToSlash; private ConventionsService conventionsService; +private String nameSeparator; /** * Constructs the unknown handler. @@ -89,19 +90,22 @@ * unknown actions in the same manner as Apache, Tomcat and other web servers. This * handling will send back a redirect for URLs such as /foo to /foo/ if there doesn't * exist an action that responds to /foo. + * @param nameSeparator The character used as word separator in the action names. "-" by default */ @Inject public ConventionUnknownHandler(Configuration configuration, ObjectFactory objectFactory, ServletContext servletContext, ResultMapBuilder resultMapBuilder, ConventionsService conventionsService, @Inject("struts.convention.default.parent.package") String defaultParentPackageName, -@Inject("struts.convention.redirect.to.slash") String redirectToSlash) { +@Inject("struts.convention.redirect.to.slash") String redirectToSlash, +@Inject("struts.convention.action.name.separator") String nameSeparator) { this.configuration = configuration; this.objectFactory = objectFactory; this.servletContext = servletContext; this.resultMapBuilder = resultMapBuilder; this.conventionsService = conventionsService; this.defaultParentPackageName = defaultParentPackageName; +this.nameSeparator = nameSeparator; this.parentPackage = configuration.getPackageConfig(defaultParentPackageName); if (parentPackage == null) { @@ -233,7 +237,7 @@ fqan, ext, pathPrefix, resultCode); } -String path = string(pathPrefix, actionName, "-", resultCode, "." , ext); +String path = string(pathPrefix, actionName, nameSeparator, resultCode, "." , ext); result = findResult(path, resultCode, ext, actionContext, resultsByExtension); if (result != null) { break; @@ -274,7 +278,7 @@ LOG.trace("Checking for [#0/index.#1]", fqan, ext); } -