[CONF] Confluence Changes in the last 24 hours
- This is a daily summary of all recent changes in Confluence. - Updated Spaces: - OpenJPA (openjpa) http://cwiki.apache.org/confluence/display/openjpa | |-Pages Added or Edited in This Space |-- Releasing OpenJPA was last edited by pcl (03:27 PM). | http://cwiki.apache.org/confluence/display/openjpa/Releasing+OpenJPA Apache Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX | |-Pages Added or Edited in This Space |-- Extender Pattern Handler was last edited by clement.escoffier (10:41 AM). | http://cwiki.apache.org/confluence/display/FELIX/Extender+Pattern+Handler |-- Constructing POJO objects with factory methods was created by clement.escoffier (10:38 AM). | http://cwiki.apache.org/confluence/display/FELIX/Constructing+POJO+objects+with+factory+methods |-- iPOJO Advanced Topics was last edited by clement.escoffier (10:39 AM). | http://cwiki.apache.org/confluence/display/FELIX/iPOJO+Advanced+Topics |-- Setting the iPOJO Log Level was created by clement.escoffier (08:30 AM). | http://cwiki.apache.org/confluence/display/FELIX/Setting+the+iPOJO+Log+Level Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL | |-Pages Added or Edited in This Space |-- Component List was last edited by davsclaus (10:30 PM). | http://cwiki.apache.org/confluence/display/CAMEL/Component+List |-- Atom was created by davsclaus (09:54 PM). | http://cwiki.apache.org/confluence/display/CAMEL/Atom |-- Running Camel standalone was created by davsclaus (06:50 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Running+Camel+standalone OpenEJB (OPENEJB) http://cwiki.apache.org/confluence/display/OPENEJB | |-Pages Added or Edited in This Space |-- Remote Server was last edited by dblevins (04:33 PM). | http://cwiki.apache.org/confluence/display/OPENEJB/Remote+Server Apache ActiveMQ (ACTIVEMQ) http://cwiki.apache.org/confluence/display/ACTIVEMQ | |-Pages Added or Edited in This Space |-- Consumer Dispatch Async was last edited by rajdavies (05:00 AM). | http://cwiki.apache.org/confluence/display/ACTIVEMQ/Consumer+Dispatch+Async Apache Sling Website (SLINGxSITE) http://cwiki.apache.org/confluence/display/SLINGxSITE | |-Pages Added or Edited in This Space |-- Manipulating Content - The SlingPostServlet was created by fmeschbe (12:01 AM). | http://cwiki.apache.org/confluence/display/SLINGxSITE/Manipulating+Content+-+The+SlingPostServlet |-- Advanced Topics was last edited by fmeschbe (05:01 AM). | http://cwiki.apache.org/confluence/display/SLINGxSITE/Advanced+Topics Apache ServiceMix NMR (SMX4NMR) http://cwiki.apache.org/confluence/display/SMX4NMR | |-Pages Added or Edited in This Space |-- 4. Installing the NMR in Equinox was created by gnodet (06:01 AM). | http://cwiki.apache.org/confluence/display/SMX4NMR/4.+Installing+the+NMR+in+Equinox |-- 1. Quick Start was last edited by edelln (06:57 AM). | http://cwiki.apache.org/confluence/display/SMX4NMR/1.+Quick+Start Apache ServiceMix (SM) http://cwiki.apache.org/confluence/display/SM | |-Pages Added or Edited in This Space |-- servicemix-cxf-bc was last edited by ffang (08:59 PM). | http://cwiki.apache.org/confluence/display/SM/servicemix-cxf-bc Tuscany Wiki (TUSCANYWIKI) http://cwiki.apache.org/confluence/display/TUSCANYWIKI | |-Pages Added or Edited in This Space |-- SDO 简介 was created by [EMAIL PROTECTED] (07:53 AM). | http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=85832 |-- SCA简介 was created by [EMAIL PROTECTED] (07:43 AM). | http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=85830 UIMA (UIMA) http://cwiki.apache.org/confluence/display/UIMA | |-Pages Added or Edited in This Space |-- TestPlanAs2.2.2 was last edited by bhavani (10:49 AM). | http://cwiki.apache.org/confluence/display/UIMA/TestPlanAs2.2.2 Apache Archiva (ARCHIVA) http://cwiki.apache.org/confluence/display/ARCHIVA | |-Pages Added or Edited in This Space |-- Archiva FAQ was last edited by wsmoak (04:03 PM). | http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+FAQ Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET | |-Pages Added or Edited in This Space |-- Sites using Wicket was last edited by trung (08:14 PM). | http://cwiki.apache.org/confluence/display/WICKET/Sites+using+Wicket |-- Companies that provide services was last edited by jweekend (05:27 AM). | http://cwiki.apache.org/confluence/display/WICKET/Companies+that+provide+services - 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 incorr
Issues Closed: week of 2008-05-16
Struts2 - Friday, May 16, 2008 7 closed in last 7 days [WW-1796] @InterceptorRef and @InterceptorRefs annotations to configure actions with custom interceptor-refs - Type: Improvement - Assignee: Unassigned - Components: [Plugin - CodeBehind] - Fix Versions: [Future] - http://issues.apache.org/struts/browse/WW-1796 [WW-2461] SlashesInActionNames does not work when namespace is the root context (i.e. namespace="/") - Type: Bug - Assignee: Don Brown - Components: [Core Interceptors] - Fix Versions: [] - http://issues.apache.org/struts/browse/WW-2461 [WW-2644] Tag - Type: Bug - Assignee: Himanshu Rathore - Components: [Plugin - Tags] - Fix Versions: [] - http://issues.apache.org/struts/browse/WW-2644 [WW-2646] Resource urls are not built correctly in struts2-portlet2-plugin - Type: Bug - Assignee: Unassigned - Components: [Plugin - Portlet] - Fix Versions: [] - http://issues.apache.org/struts/browse/WW-2646 [WW-2649] Update Struts' FreeMarker BeanWrapper to support FreeMarker's recent performance improvements - Type: Improvement - Assignee: James Holmes - Components: [] - Fix Versions: [2.1.3] - http://issues.apache.org/struts/browse/WW-2649 [WW-2650] Struts validation problem - Type: Bug - Assignee: Unassigned - Components: [XML Validators] - Fix Versions: [] - http://issues.apache.org/struts/browse/WW-2650 [WW-2627] struts - Type: Bug - Assignee: Unassigned - Components: [XML Validators] - Fix Versions: [] - http://issues.apache.org/struts/browse/WW-2627
svn commit: r657105 - /struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp
Author: jholmes Date: Fri May 16 08:33:10 2008 New Revision: 657105 URL: http://svn.apache.org/viewvc?rev=657105&view=rev Log: Fix styling issue that was preventing the header on all of the showcase app pages from displaying properly in IE7. Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp?rev=657105&r1=657104&r2=657105&view=diff == --- struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp (original) +++ struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp Fri May 16 08:33:10 2008 @@ -49,6 +49,7 @@ +
svn commit: r657156 - in /struts/sandbox/trunk/struts2-convention-plugin/src/main: java/org/apache/struts2/convention/ resources/
Author: musachy Date: Fri May 16 11:33:03 2008 New Revision: 657156 URL: http://svn.apache.org/viewvc?rev=657156&view=rev Log: Add configuration properties to disable class scanning, and to overwrite the action suffix (defaults to "Action") Modified: struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultActionNameBuilder.java struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/SEOActionNameBuilder.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/DefaultActionNameBuilder.java URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultActionNameBuilder.java?rev=657156&r1=657155&r2=657156&view=diff == --- struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultActionNameBuilder.java (original) +++ struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultActionNameBuilder.java Fri May 16 11:33:03 2008 @@ -32,7 +32,7 @@ * */ public class DefaultActionNameBuilder implements ActionNameBuilder { -private static final String ACTION = "Action"; +private String actionSuffix = "Action"; private boolean lowerCase; @Inject @@ -40,12 +40,23 @@ this.lowerCase = Boolean.parseBoolean(lowerCase); } +/** + * @param actionSuffix (Optional) Classes that end with these value will be mapped as actions + * (defaults to "Action") + */ +@Inject(value = "struts.convention.action.suffix", required = false) +public void setActionSuffix(String actionSuffix) { +if (!StringTools.isTrimmedEmpty(actionSuffix)) { +this.actionSuffix = actionSuffix; +} +} + public String build(String className) { String actionName = className; // Truncate Action suffix if found -if (actionName.endsWith(ACTION)) { -actionName = actionName.substring(0, actionName.length() - ACTION.length()); +if (actionName.endsWith(actionSuffix)) { +actionName = actionName.substring(0, actionName.length() - actionSuffix.length()); } // Force initial letter of action to lowercase, if desired Modified: struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java?rev=657156&r1=657155&r2=657156&view=diff == --- struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java (original) +++ struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java Fri May 16 11:33:03 2008 @@ -68,6 +68,9 @@ private String[] actionPackages; private String[] excludePackages; private String[] packageLocators; +private boolean disableActionScanning = false; +private String actionSuffix = "Action"; +private boolean checkImplementsAction = true; /** * Constructs actions based on a list of packages. @@ -120,6 +123,26 @@ } /** + * @param actionPackages (Optional) Map classes that implement com.opensymphony.xwork2.Action + * as actions + */ +@Inject(value = "struts.convention.action.checkImplementsAction", required = false) +public void setCheckImplementsAction(String checkImplementsAction) { +this.checkImplementsAction = "true".equals(checkImplementsAction); +} + +/** + * @param actionSuffix (Optional) Classes that end with these value will be mapped as actions + * (defaults to "Action") + */ +@Inject(value = "struts.convention.action.suffix", required = false) +public void setActionSuffix(String actionSuffix) { +if (!StringTools.isTrimmedEmpty(actionSuffix)) { +this.actionSuffix = actionSuffix; +} +} + +/** * @param excludePackages (Optional) A list of packages that should be skipped when building * configuration. */ @@ -149,55 +172,61 @@ * [EMAIL PROTECTED] ResultMapBuilder} is used to create ResultConfig instances of the action. */ public void buildActionConfigs() { -if (actionPackages == null && packageLocators == null) { -throw new Config