[CONF] Confluence Changes in the last 24 hours
- 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 |-- tutorial-osgi-camel-part2 was last edited by cmoulli...@xpectis.com (08:52 AM). | http://cwiki.apache.org/confluence/display/CAMEL/tutorial-osgi-camel-part2 |-- Camel 2.0.0 Release was last edited by davsclaus (08:21 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Camel+2.0.0+Release |-- Enterprise Integration Patterns was last edited by cmoulli...@xpectis.com (07:46 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Enterprise+Integration+Patterns |-- Bindy was last edited by cmoulli...@xpectis.com (05:28 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Bindy |-- Articles was last edited by davsclaus (02:10 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Articles |-- Download was last edited by davsclaus (01:40 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Download |-- Camel 2.0 Design was last edited by davsclaus (12:41 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Camel+2.0+Design Apache ActiveMQ CPP (AMQCPP) http://cwiki.apache.org/confluence/display/AMQCPP | |-Pages Added or Edited in This Space |-- Download was last edited by tabish121 (10:50 AM). | http://cwiki.apache.org/confluence/display/AMQCPP/Download Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW | |-Pages Added or Edited in This Space |-- AJAX Validation was last edited by newton.d...@yahoo.com (10:04 AM). | http://cwiki.apache.org/confluence/display/WW/AJAX+Validation Apache VCL (VCL) http://cwiki.apache.org/confluence/display/VCL | |-Pages Added or Edited in This Space |-- Documentation Organization was last edited by fapeeler (09:32 AM). | http://cwiki.apache.org/confluence/display/VCL/Documentation+Organization Apache Pivot (PIVOT) http://cwiki.apache.org/confluence/display/PIVOT | |-Pages Added or Edited in This Space |-- Push Client Demo was last edited by gkbr...@mac.com (10:43 AM). | http://cwiki.apache.org/confluence/display/PIVOT/Push+Client+Demo |-- Stock Tracker Demo was last edited by gkbr...@mac.com (07:20 AM). | http://cwiki.apache.org/confluence/display/PIVOT/Stock+Tracker+Demo |-- Kitchen Sink Demo was last edited by gkbr...@mac.com (07:15 AM). | http://cwiki.apache.org/confluence/display/PIVOT/Kitchen+Sink+Demo |-- Fixed Column Table Demo was last edited by gkbr...@mac.com (07:14 AM). | http://cwiki.apache.org/confluence/display/PIVOT/Fixed+Column+Table+Demo |-- Table Row Editor Demo was last edited by gkbr...@mac.com (07:13 AM). | http://cwiki.apache.org/confluence/display/PIVOT/Table+Row+Editor+Demo |-- Large Data Sets Demo was last edited by gkbr...@mac.com (07:12 AM). | http://cwiki.apache.org/confluence/display/PIVOT/Large+Data+Sets+Demo |-- Google Contacts Demo was last edited by gkbr...@mac.com (07:11 AM). | http://cwiki.apache.org/confluence/display/PIVOT/Google+Contacts+Demo |-- File Browser Demo was last edited by gkbr...@mac.com (07:11 AM). | http://cwiki.apache.org/confluence/display/PIVOT/File+Browser+Demo |-- DOM Demo was last edited by gkbr...@mac.com (07:10 AM). | http://cwiki.apache.org/confluence/display/PIVOT/DOM+Demo |-- File Drag & Drop Demo was last edited by gkbr...@mac.com (07:09 AM). | http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=113441 |-- Decorator Demo was last edited by gkbr...@mac.com (07:08 AM). | http://cwiki.apache.org/confluence/display/PIVOT/Decorator+Demo |-- Charting Demo was last edited by gkbr...@mac.com (07:07 AM). | http://cwiki.apache.org/confluence/display/PIVOT/Charting+Demo Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET | |-Pages Added or Edited in This Space |-- How to switch to SSL mode was last edited by ivaynberg (10:44 AM). | http://cwiki.apache.org/confluence/display/WICKET/How+to+switch+to+SSL+mode Apache Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX | |-Pages Added or Edited in This Space |-- Building Felix was last edited by mcculls (06:29 PM). | http://cwiki.apache.org/confluence/display/FELIX/Building+Felix |-- apache-felix-ipojo-api was last edited by clement.escoffier (07:49 AM). | http://cwiki.apache.org/confluence/display/FELIX/apache-felix-ipojo-api Apache Cassandra (CSDR) http://cwiki.apache.org/confluence/display/CSDR | |-Pages Added or Edited in This Space |-- Data Model was last edited by jbellis (07:02 PM). | http://cwiki.apache.org/confluence/display/CSDR/Data+Model |-- GettingStarted was last edited by jbellis (06:51 PM). | http://cwiki.apache.org/confluence/display/CSDR/GettingStarted |-- Index was last
svn commit: r766357 - in /struts/struts2/trunk/core/src: main/java/org/apache/struts2/dispatcher/ng/ main/java/org/apache/struts2/dispatcher/ng/filter/ test/java/org/apache/struts2/dispatcher/ng/
Author: musachy Date: Sat Apr 18 17:09:01 2009 New Revision: 766357 URL: http://svn.apache.org/viewvc?rev=766357&view=rev Log: WW-3000 force StrutsPrepareAndExecuteFilter to always lookup action mapping, to prevent infinite recursion when the filter is applied to FORWARD Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/PrepareOperations.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/ng/StrutsPrepareAndExecuteFilterIntegrationTest.java Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/PrepareOperations.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/PrepareOperations.java?rev=766357&r1=766356&r2=766357&view=diff == --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/PrepareOperations.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/PrepareOperations.java Sat Apr 18 17:09:01 2009 @@ -134,13 +134,24 @@ } /** - * Finds and optionally creates an {...@link ActionMapping}. It first looks in the current request to see if one + * Finds and optionally creates an {...@link ActionMapping}. It first looks in the current request to see if one * has already been found, otherwise, it creates it and stores it in the request. No mapping will be created in the * case of static resource requests or unidentifiable requests for other servlets, for example. */ public ActionMapping findActionMapping(HttpServletRequest request, HttpServletResponse response) { +return findActionMapping(request, response, false); +} + +/** + * Finds and optionally creates an {...@link ActionMapping}. if forceLookup is false, it first looks in the current request to see if one + * has already been found, otherwise, it creates it and stores it in the request. No mapping will be created in the + * case of static resource requests or unidentifiable requests for other servlets, for example. + * @param forceLookup if true, the action mapping will be looked up from the ActionMapper instance, ignoring if there is one + * in the request or not + */ +public ActionMapping findActionMapping(HttpServletRequest request, HttpServletResponse response, boolean forceLookup) { ActionMapping mapping = (ActionMapping) request.getAttribute(STRUTS_ACTION_MAPPING_KEY); -if (mapping == null) { +if (mapping == null || forceLookup) { try { mapping = dispatcher.getContainer().getInstance(ActionMapper.class).getMapping(request, dispatcher.getConfigurationManager()); if (mapping != null) { Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java?rev=766357&r1=766356&r2=766357&view=diff == --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java Sat Apr 18 17:09:01 2009 @@ -66,7 +66,7 @@ prepare.assignDispatcherToThread(); prepare.setEncodingAndLocale(request, response); request = prepare.wrapRequest(request); -ActionMapping mapping = prepare.findActionMapping(request, response); +ActionMapping mapping = prepare.findActionMapping(request, response, true); if (mapping == null) { boolean handled = execute.executeStaticResourceRequest(request, response); if (!handled) { Modified: struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/ng/StrutsPrepareAndExecuteFilterIntegrationTest.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/ng/StrutsPrepareAndExecuteFilterIntegrationTest.java?rev=766357&r1=766356&r2=766357&view=diff == --- struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/ng/StrutsPrepareAndExecuteFilterIntegrationTest.java (original) +++ struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/ng/StrutsPrepareAndExecuteFilterIntegrationTest.java Sat Apr 18 17:09:01 2009 @@ -79,6 +79,40 @@ assertNull(Dispatcher.getInstance()); } +public void testActionMappingLookup(
[OSS Bamboo] Struts 2 SVN - Main Build build 1093 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAIN-1093 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1093/ -- Code Changes -- Musachy Barroso (766357): >WW-3000 force StrutsPrepareAndExecuteFilter to always lookup action mapping, >to prevent infinite recursion when the filter is applied to FORWARD -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[71,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[116,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[121,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[202,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[227,5] method does not override a method from its superclass [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 809 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAINJ6-809 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-809/ -- Code Changes -- Musachy Barroso (766357): >WW-3000 force StrutsPrepareAndExecuteFilter to always lookup action mapping, >to prevent infinite recursion when the filter is applied to FORWARD -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[39,42] cannot find symbol symbol : class ClassLoaderInterface location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[40,42] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[44,36] cannot find symbol symbol : class ObjectUtils location: package org.apache.commons.lang.xwork /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[299,14] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[36,36] cannot find symbol symbol : class ObjectUtils location: package org.apache.commons.lang.xwork /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[48,42] cannot find symbol symbol : class ClassLoaderInterface location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[49,42] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[299,14] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.DefaultResultMapBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[301,23] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[311,12] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[314,40] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[314,70] cannot find symbol symbol : variable ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[316,20] cannot find symbol symbol
svn commit: r766360 - in /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter: StrutsPrepareAndExecuteFilter.java StrutsPrepareFilter.java
Author: musachy Date: Sat Apr 18 17:23:53 2009 New Revision: 766360 URL: http://svn.apache.org/viewvc?rev=766360&view=rev Log: WW-3075 StrutsPrepareAndExecuteFilter accesses request parameters before setting request encoding patch provided by Roman Shevchenko Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareFilter.java Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java?rev=766360&r1=766359&r2=766360&view=diff == --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.java Sat Apr 18 17:23:53 2009 @@ -62,9 +62,9 @@ HttpServletResponse response = (HttpServletResponse) res; try { +prepare.setEncodingAndLocale(request, response); prepare.createActionContext(request, response); prepare.assignDispatcherToThread(); -prepare.setEncodingAndLocale(request, response); request = prepare.wrapRequest(request); ActionMapping mapping = prepare.findActionMapping(request, response, true); if (mapping == null) { Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareFilter.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareFilter.java?rev=766360&r1=766359&r2=766360&view=diff == --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareFilter.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareFilter.java Sat Apr 18 17:23:53 2009 @@ -56,9 +56,9 @@ HttpServletResponse response = (HttpServletResponse) res; try { +prepare.setEncodingAndLocale(request, response); prepare.createActionContext(request, response); prepare.assignDispatcherToThread(); -prepare.setEncodingAndLocale(request, response); request = prepare.wrapRequest(request); prepare.findActionMapping(request, response);
[OSS Bamboo] Struts 2 SVN - Main Build build 1094 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAIN-1094 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1094/ -- Code Changes -- Musachy Barroso (766360): >WW-3075 StrutsPrepareAndExecuteFilter accesses request parameters before >setting request encoding > >patch provided by Roman Shevchenko -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[71,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[116,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[121,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[202,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[227,5] method does not override a method from its superclass [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 810 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAINJ6-810 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-810/ -- Code Changes -- Musachy Barroso (766360): >WW-3075 StrutsPrepareAndExecuteFilter accesses request parameters before >setting request encoding > >patch provided by Roman Shevchenko -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[39,42] cannot find symbol symbol : class ClassLoaderInterface location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[40,42] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[44,36] cannot find symbol symbol : class ObjectUtils location: package org.apache.commons.lang.xwork /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[299,14] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[36,36] cannot find symbol symbol : class ObjectUtils location: package org.apache.commons.lang.xwork /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[48,42] cannot find symbol symbol : class ClassLoaderInterface location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[49,42] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[299,14] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.DefaultResultMapBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[301,23] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[311,12] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[314,40] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[314,70] cannot find symbol symbol : variable ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[316,20] cannot find symbol symbol : class C
svn commit: r766376 - in /struts/struts2/trunk/core/src: main/java/org/apache/struts2/components/ test/java/org/apache/struts2/views/jsp/ui/ test/resources/org/apache/struts2/views/jsp/ui/
Author: musachy Date: Sat Apr 18 18:48:47 2009 New Revision: 766376 URL: http://svn.apache.org/viewvc?rev=766376&view=rev Log: WW-2951 Add a default "name" to form, when it is not set (same as the "id") Added: struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-25.txt Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/FormTagTest.java struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-1.txt struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-4.txt struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-7.txt Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java?rev=766376&r1=766375&r2=766376&view=diff == --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java Sat Apr 18 18:48:47 2009 @@ -36,6 +36,7 @@ import org.apache.struts2.StrutsConstants; import org.apache.struts2.views.annotations.StrutsTag; import org.apache.struts2.views.annotations.StrutsTagAttribute; +import org.apache.commons.lang.xwork.StringUtils; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -153,28 +154,18 @@ */ protected void evaluateExtraParams() { super.evaluateExtraParams(); - -//boolean isAjax = "ajax".equalsIgnoreCase(this.theme); - if (validate != null) { addParameter("validate", findValue(validate, Boolean.class)); } -// calculate the action and namespace -/*String action = null; -if (this.action != null) { -// if it isn't specified, we'll make somethig up -action = findString(this.action); +if (name == null) { +//make the name the same as the id +String id = (String) getParameters().get("id"); + if (StringUtils.isNotEmpty(id)) { +addParameter("name", id); + } } -if (Dispatcher.getInstance().isPortletSupportActive() && PortletActionContext.isPortletRequest()) { -evaluateExtraParamsPortletRequest(namespace, action); -} else { -String namespace = determineNamespace(this.namespace, getStack(), -request); -evaluateExtraParamsServletRequest(action, namespace, isAjax); -}*/ - if (onsubmit != null) { addParameter("onsubmit", findString(onsubmit)); } Modified: struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/FormTagTest.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/FormTagTest.java?rev=766376&r1=766375&r2=766376&view=diff == --- struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/FormTagTest.java (original) +++ struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/FormTagTest.java Sat Apr 18 18:48:47 2009 @@ -130,6 +130,7 @@ tag.setEnctype("myEncType"); tag.setTitle("mytitle"); tag.setOnsubmit("submitMe()"); +tag.setId("myid"); tag.doStartTag(); tag.doEndTag(); @@ -137,6 +138,28 @@ verify(FormTag.class.getResource("Formtag-1.txt")); } + public void testFormNoNameOrId() throws Exception { + +request.setupGetServletPath("/testAction"); + +TestAction testAction = (TestAction) action; +testAction.setFoo("bar"); + +FormTag tag = new FormTag(); +tag.setPageContext(pageContext); +tag.setMethod("post"); +tag.setAcceptcharset("UTF-8"); +tag.setAction("myAction"); +tag.setEnctype("myEncType"); +tag.setTitle("mytitle"); +tag.setOnsubmit("submitMe()"); + +tag.doStartTag(); +tag.doEndTag(); + +verify(FormTag.class.getResource("Formtag-25.txt")); +} + /** * This test with form tag validation enabled. Js validation script will appear * cause action submited by the form is intercepted by validation interceptor which Modified: struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-1.txt URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-1.txt?rev=766376&r1=766375&r2=766376&view=diff == --- struts/struts2
[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 811 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAINJ6-811 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-811/ -- Code Changes -- Musachy Barroso (766376): >WW-2951 Add a default "name" to form, when it is not set (same as the "id") -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[39,42] cannot find symbol symbol : class ClassLoaderInterface location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[40,42] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[44,36] cannot find symbol symbol : class ObjectUtils location: package org.apache.commons.lang.xwork /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[299,14] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[36,36] cannot find symbol symbol : class ObjectUtils location: package org.apache.commons.lang.xwork /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[48,42] cannot find symbol symbol : class ClassLoaderInterface location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[49,42] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[299,14] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.DefaultResultMapBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[301,23] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[311,12] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[314,40] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[314,70] cannot find symbol symbol : variable ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[316,20] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.conv
[OSS Bamboo] Struts 2 SVN - Main Build build 1095 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAIN-1095 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1095/ -- Code Changes -- Musachy Barroso (766376): >WW-2951 Add a default "name" to form, when it is not set (same as the "id") -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[71,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[116,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[121,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[202,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[227,5] method does not override a method from its superclass [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
svn commit: r766401 - /struts/struts2/trunk/core/src/main/resources/struts-default.xml
Author: musachy Date: Sat Apr 18 22:30:48 2009 New Revision: 766401 URL: http://svn.apache.org/viewvc?rev=766401&view=rev Log: WW-3092 Rename bean from "named-variable" to "namedVariable" Modified: struts/struts2/trunk/core/src/main/resources/struts-default.xml Modified: struts/struts2/trunk/core/src/main/resources/struts-default.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/struts-default.xml?rev=766401&r1=766400&r2=766401&view=diff == --- struts/struts2/trunk/core/src/main/resources/struts-default.xml (original) +++ struts/struts2/trunk/core/src/main/resources/struts-default.xml Sat Apr 18 22:30:48 2009 @@ -37,7 +37,7 @@ - +
[OSS Bamboo] Struts 2 SVN - Main Build build 1096 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAIN-1096 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1096/ -- Code Changes -- Musachy Barroso (766401): >WW-3092 Rename bean from "named-variable" to "namedVariable" -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[71,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[116,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[121,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[202,5] method does not override a method from its superclass /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java:[227,5] method does not override a method from its superclass [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 812 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAINJ6-812 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-812/ -- Code Changes -- Musachy Barroso (766401): >WW-3092 Rename bean from "named-variable" to "namedVariable" -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[39,42] cannot find symbol symbol : class ClassLoaderInterface location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[40,42] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[44,36] cannot find symbol symbol : class ObjectUtils location: package org.apache.commons.lang.xwork /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[299,14] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[36,36] cannot find symbol symbol : class ObjectUtils location: package org.apache.commons.lang.xwork /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[48,42] cannot find symbol symbol : class ClassLoaderInterface location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[49,42] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: package com.opensymphony.xwork2.util.finder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java:[299,14] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.DefaultResultMapBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[301,23] cannot find symbol symbol : class ClassLoaderInterfaceDelegate location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[311,12] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[314,40] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[314,70] cannot find symbol symbol : variable ClassLoaderInterface location: class org.apache.struts2.convention.PackageBasedActionConfigBuilder /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java:[316,20] cannot find symbol symbol : class ClassLoaderInterface location: class org.apache.struts2.convention.PackageB