[CONF] Confluence Changes in the last 24 hours
- This is a daily summary of all recent changes in Confluence. - Updated Spaces: - Apache Roller (ROLLER) http://cwiki.apache.org/confluence/display/ROLLER | |-Pages Added or Edited in This Space |-- Proposal Stylesheet Overrides for Weblogs was created by agilliland (05:42 PM). | http://cwiki.apache.org/confluence/display/ROLLER/Proposal+Stylesheet+Overrides+for+Weblogs |-- Proposal Easier Weblog Design Customization was created by agilliland (12:44 PM). | http://cwiki.apache.org/confluence/display/ROLLER/Proposal+Easier+Weblog+Design+Customization |-- Proposal Individual Templates by Action was created by agilliland (04:11 PM). | http://cwiki.apache.org/confluence/display/ROLLER/Proposal+Individual+Templates+by+Action |-- Proposal_SearchFeeds was created by eliast (07:45 AM). | http://cwiki.apache.org/confluence/display/ROLLER/Proposal_SearchFeeds |-- Roller Proposals was last edited by eliast (07:45 AM). | http://cwiki.apache.org/confluence/display/ROLLER/Roller+Proposals |-- Proposal Template was last edited by eliast (07:33 AM). | http://cwiki.apache.org/confluence/display/ROLLER/Proposal+Template |-- Proposal_FeedHistory was created by eliast (07:04 AM). | http://cwiki.apache.org/confluence/display/ROLLER/Proposal_FeedHistory Apache Struts 2 Plugin Registry (S2PLUGINS) http://cwiki.apache.org/confluence/display/S2PLUGINS | |-Pages Added or Edited in This Space |-- Groovy Standalone Plugin was created by phil (01:15 AM). | http://cwiki.apache.org/confluence/display/S2PLUGINS/Groovy+Standalone+Plugin |-- Rome Plugin was created by phil (01:05 AM). | http://cwiki.apache.org/confluence/display/S2PLUGINS/Rome+Plugin Apache Geronimo Project Management (GMOxPMGT) http://cwiki.apache.org/confluence/display/GMOxPMGT | |-Pages Added or Edited in This Space |-- Geronimo 2.0 Web Services support was last edited by nagy (01:14 PM). | http://cwiki.apache.org/confluence/display/GMOxPMGT/Geronimo+2.0+Web+Services+support Apache Geronimo v1.1 (GMOxDOC11) http://cwiki.apache.org/confluence/display/GMOxDOC11 | |-Pages Added or Edited in This Space |-- Documentation was last edited by hcunico (12:04 PM). | http://cwiki.apache.org/confluence/display/GMOxDOC11/Documentation |-- Apache Geronimo v1.1 - User's Guide was last edited by hcunico (12:04 PM). | http://cwiki.apache.org/confluence/display/GMOxDOC11/Apache+Geronimo+v1.1+-+User%27s+Guide Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW | |-Pages Added or Edited in This Space |-- Tag Syntax was last edited by [EMAIL PROTECTED] (06:30 AM). | http://cwiki.apache.org/confluence/display/WW/Tag+Syntax Apache Directory Server v1.0 (DIRxSRVx10) http://cwiki.apache.org/confluence/display/DIRxSRVx10 | |-Pages Added or Edited in This Space |-- Implementing an alternative Backend was created by ck (12:57 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx10/Implementing+an+alternative+Backend Apache Tuscany (TUSCANY) http://cwiki.apache.org/confluence/display/TUSCANY | |-Pages Added or Edited in This Space |-- Index was last edited by jmarino (06:11 PM). | http://cwiki.apache.org/confluence/display/TUSCANY/Index Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET | |-Pages Added or Edited in This Space |-- Creating a behavior to use a Javascript library was created by kinabalu (10:49 AM). | http://cwiki.apache.org/confluence/display/WICKET/Creating+a+behavior+to+use+a+Javascript+library |-- Adding Javascript or CSS using a Resource was created by kinabalu (09:58 AM). | http://cwiki.apache.org/confluence/display/WICKET/Adding+Javascript+or+CSS+using+a+Resource Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX | |-Pages Added or Edited in This Space |-- iPOJO Tutorial (0.7) was last edited by [EMAIL PROTECTED] (01:48 PM). | http://cwiki.apache.org/confluence/display/FELIX/iPOJO+Tutorial+%280.7%29 Apache FTPServer Project (FTPSERVER) http://cwiki.apache.org/confluence/display/FTPSERVER | |-Pages Added or Edited in This Space |-- FAQ was last edited by ngn (10:51 AM). | http://cwiki.apache.org/confluence/display/FTPSERVER/FAQ Apache HiveMind 2 (HIVEMIND2) http://cwiki.apache.org/confluence/display/HIVEMIND2 | |-Pages Added or Edited in This Space |-- HiveMind2BackwardCompatibility was last edited by ahuegen (01:17 PM). | http://cwiki.apache.org/confluence/display/HIVEMIND2/HiveMind2BackwardCompatibility |-- User Guide was last edited by ahuegen (12:04 PM). | http://cwiki.apache.org/confluence/display/HIVEMIND2/User+Guide Apache ActiveMQ (ACTIVEMQ) http://cwiki.apache.org/confluence/display/ACTIVEMQ | |-Pages Added or Edited in This Space |-- Web Samples was last edited by jstrachan (10:30 AM).
svn commit: r513692 - /struts/struts1/trunk/tiles2/pom.xml
Author: apetrelli Date: Fri Mar 2 02:26:47 2007 New Revision: 513692 URL: http://svn.apache.org/viewvc?view=rev&rev=513692 Log: Corrected a problem during testing of Struts 1 - Tiles 2 integration build. Modified: struts/struts1/trunk/tiles2/pom.xml Modified: struts/struts1/trunk/tiles2/pom.xml URL: http://svn.apache.org/viewvc/struts/struts1/trunk/tiles2/pom.xml?view=diff&rev=513692&r1=513691&r2=513692 == --- struts/struts1/trunk/tiles2/pom.xml (original) +++ struts/struts1/trunk/tiles2/pom.xml Fri Mar 2 02:26:47 2007 @@ -82,8 +82,15 @@ javax.servlet servlet-api - 2.3 + 2.4 provided + + + + javax.servlet + jsp-api + 2.0 + test
svn commit: r513693 - in /struts/struts1/trunk/assembly: pom.xml src/main/assembly/all.xml src/main/assembly/docs.xml src/main/assembly/src.xml
Author: apetrelli Date: Fri Mar 2 02:27:47 2007 New Revision: 513693 URL: http://svn.apache.org/viewvc?view=rev&rev=513693 Log: Added inclusion of Struts 1 - Tiles 2 integration module in assemblies. Modified: struts/struts1/trunk/assembly/pom.xml struts/struts1/trunk/assembly/src/main/assembly/all.xml struts/struts1/trunk/assembly/src/main/assembly/docs.xml struts/struts1/trunk/assembly/src/main/assembly/src.xml Modified: struts/struts1/trunk/assembly/pom.xml URL: http://svn.apache.org/viewvc/struts/struts1/trunk/assembly/pom.xml?view=diff&rev=513693&r1=513692&r2=513693 == --- struts/struts1/trunk/assembly/pom.xml (original) +++ struts/struts1/trunk/assembly/pom.xml Fri Mar 2 02:27:47 2007 @@ -167,6 +167,11 @@ org.apache.struts + struts-tiles2 + ${version} + + + org.apache.struts struts-mailreader-dao ${version} Modified: struts/struts1/trunk/assembly/src/main/assembly/all.xml URL: http://svn.apache.org/viewvc/struts/struts1/trunk/assembly/src/main/assembly/all.xml?view=diff&rev=513693&r1=513692&r2=513693 == --- struts/struts1/trunk/assembly/src/main/assembly/all.xml (original) +++ struts/struts1/trunk/assembly/src/main/assembly/all.xml Fri Mar 2 02:27:47 2007 @@ -215,6 +215,14 @@ src/ + + ../tiles2 + src/tiles2 + +pom.xml +src/ + + @@ -285,6 +293,10 @@ ../tiles/target/site docs/struts-tiles + + + ../tiles2/target/site + docs/struts-tiles2 Modified: struts/struts1/trunk/assembly/src/main/assembly/docs.xml URL: http://svn.apache.org/viewvc/struts/struts1/trunk/assembly/src/main/assembly/docs.xml?view=diff&rev=513693&r1=513692&r2=513693 == --- struts/struts1/trunk/assembly/src/main/assembly/docs.xml (original) +++ struts/struts1/trunk/assembly/src/main/assembly/docs.xml Fri Mar 2 02:27:47 2007 @@ -101,6 +101,10 @@ ../tiles/target/site docs/struts-tiles + + ../tiles2/target/site + docs/struts-tiles2 + Modified: struts/struts1/trunk/assembly/src/main/assembly/src.xml URL: http://svn.apache.org/viewvc/struts/struts1/trunk/assembly/src/main/assembly/src.xml?view=diff&rev=513693&r1=513692&r2=513693 == --- struts/struts1/trunk/assembly/src/main/assembly/src.xml (original) +++ struts/struts1/trunk/assembly/src/main/assembly/src.xml Fri Mar 2 02:27:47 2007 @@ -203,5 +203,13 @@ src/ + + ../tiles2 + src/tiles2 + +pom.xml +src/ + +
Issues Closed: week of 2007-03-02
Struts2 - Friday, March 2, 2007 22 closed in last 7 days [WW-205] CSS implementation of ui:tabbedpane Don Brown - Improvement - [2.1.0] http://issues.apache.org/struts/browse/WW-205 [WW-1589] Linked autocompleter reset on page reload Musachy Barroso - Bug - [2.0.7] http://issues.apache.org/struts/browse/WW-1589 [WW-1609] Extract Ajax Theme to Dojo Plugin Unassigned - Improvement - [2.1.0] http://issues.apache.org/struts/browse/WW-1609 [WW-1779] remote button always expects its target defined before and outsite the form in IE Unassigned - Bug - [2.0.6] http://issues.apache.org/struts/browse/WW-1779 [WW-1567] Poor error reporting in the select freemarker template Don Brown - Improvement - [2.0.3] http://issues.apache.org/struts/browse/WW-1567 [WW-1733] Evaluating EL statements not working consistently Tom Schneider - Bug - [2.0.7, 2.1.0] http://issues.apache.org/struts/browse/WW-1733 [WW-1747] select tag doesn't work with "multiple" if list keys are not strings Rene Gielen - Bug - [2.0.7] http://issues.apache.org/struts/browse/WW-1747 [WW-978] ww:sort ww:generator and ww:subset tags are broken Rainer Hermanns - Bug - [2.0.5] http://issues.apache.org/struts/browse/WW-978 [WW-1761] templates don't specify type="text/javascript"; break W3C validation Musachy Barroso - Bug - [2.0.7] http://issues.apache.org/struts/browse/WW-1761 [WW-1066] ImageValidator Philip Luppens - New Feature - [2.1.0] http://issues.apache.org/struts/browse/WW-1066 [WW-1598] Ajax forms do not get submitted Don Brown - Bug - [2.0.6] http://issues.apache.org/struts/browse/WW-1598 [WW-1673] Performance issues regarding ognl library Tom Schneider - Improvement - [2.0.7] http://issues.apache.org/struts/browse/WW-1673 [WW-1280] Image Tag Philip Luppens - New Feature - [2.1.0] http://issues.apache.org/struts/browse/WW-1280 [WW-1570] Add "showLoading" to ajax tags Musachy Barroso - Improvement - [2.0.6] http://issues.apache.org/struts/browse/WW-1570 [WW-1493] Java 4 jars don't work with JRockit JDK Unassigned - Bug - [2.0.5] http://issues.apache.org/struts/browse/WW-1493 [WW-1755] dojo binddiv fails to load onLoad functions on refresh. Musachy Barroso - Bug - [] http://issues.apache.org/struts/browse/WW-1755 [WW-1538] Showcase Examples Broken Ted Husted - Bug - [2.0.6] http://issues.apache.org/struts/browse/WW-1538 [WW-1665] issues when submitting form with s:a and targetting parent div Musachy Barroso - Bug - [2.0.6] http://issues.apache.org/struts/browse/WW-1665 [WW-1615] Race condition in OGNL's invokeMethod Rainer Hermanns - Bug - [2.0.6, 2.1.0] http://issues.apache.org/struts/browse/WW-1615 [WW-1766] s:div tag needs the scriptSeparation attribute Musachy Barroso - Improvement - [2.0.7] http://issues.apache.org/struts/browse/WW-1766 [WW-1777] DateTimePicker doesn't support expressions in the property "displayFormat" - WITH SOLUTION Musachy Barroso - Bug - [2.0.7] http://issues.apache.org/struts/browse/WW-1777 [WW-1603] Copy relevant entries from the WW to the S2 Jira Philip Luppens - Task - [2.0.6] http://issues.apache.org/struts/browse/WW-1603
[Struts Wiki] Update of "StrutsRelease137" by Paul Benedict
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Paul Benedict: http://wiki.apache.org/struts/StrutsRelease137 -- || A9. || Post release-quality vote on dev@ list || || == Vote (A) == + 1 GA + 1 Beta + + Working on to 1.3.8... == Vote (B) ==
[Struts Wiki] Update of "StrutsRelease137" by Paul Benedict
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Paul Benedict: http://wiki.apache.org/struts/StrutsRelease137 -- || A6. || Update all pom.xml files to "1.3.8-SNAPSHOT" || (./) || || A7. || Create a new JIRA version level (1.x next) || (./) || || A8. || Announce the Test Build on dev@ only || (./) || - || A9. || Post release-quality vote on dev@ list || || + || A9. || Post release-quality vote on dev@ list || (./) || == Vote (A) == - 1 GA - 1 Beta + ||1 ||GA|| + ||1 ||Beta|| - Working on to 1.3.8... - - == Vote (B) == - - == General Availability Checklist (C) == - - || '''#''' || '''Description''' || '''Completed''' || - || C1. || Update top-level website: index.html, download pages, menus || || - || C2. || Update the 'current' symlinks in www.apache.org/dist/struts || || - || C3. || Post an announcement to lists and website || _ || - - - - == Proposed Release Announcement == -
svn commit: r514052 - /struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java
Author: pbenedict Date: Fri Mar 2 18:00:37 2007 New Revision: 514052 URL: http://svn.apache.org/viewvc?view=rev&rev=514052 Log: STR-3009: Modify test to match reverted behavior Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java?view=diff&rev=514052&r1=514051&r2=514052 == --- struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java (original) +++ struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java Fri Mar 2 18:00:37 2007 @@ -104,7 +104,7 @@ /** * Test creating an ActionRedirect which copies its configuration from an - * existing ActionForward. + * existing ActionForward (except for the "redirect" property). */ public void testActionRedirectFromExistingForward() { ActionForward forward = new ActionForward("/path.do?param=param1"); @@ -123,7 +123,7 @@ ar.getOriginalPath()); assertEquals("Incorrect or missing property", "value", ar.getProperty("key")); -assertTrue("Original had redirect to false", !ar.getRedirect()); +assertTrue("Original had redirect to false", ar.getRedirect()); } /**
[Struts Wiki] Update of "StrutsRelease138" by Paul Benedict
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Paul Benedict: http://wiki.apache.org/struts/StrutsRelease138 New page: = Struts 1.3.8 Release = == Info == 1. Struts [http://struts.apache.org/releases.html#Releases Release Guidelines] 2. [http://wiki.apache.org/incubator/SigningReleases Signing Releases] 3. Apache [http://apache.org/dev/mirrors.html Mirroring Guidelines] == Release Manager == The release managers is '''Paul Benedict''' == How to Help == Everyone in the Struts community, users, developers, and committers, is encouraged to test a release, report any issues, and post to dev@ any comments on the overall quality of the release. '''The Struts 1.3.8 distribution will be available here:''' http://people.apache.org/builds/struts/1.3.8 To help everyone get started with Struts 1.3.8, here are the simplest installation instructions that can possibly work: * Download the Struts 1.3.8 distribution (when it is available) * Extract the distribution to a likely location (/opt/struts-1.3.6). * If possible, try the JARs in a 1.2.x application that already compiles WITHOUT deprecations. * Deploy and play-test the example applications from the /webapps folder to your web container * '''If you see any error messages,''' please do a quick search of the mail archives and/or post them on the Dev list, and if they appear to be newly introduced issues, a JIRA tickets will need to be created so we can track and resolve the issue as quickly as possible. * Vesion 1.3.8 is tagged. The issue can be logged against 1.3.8, but the fix would happen in 1.3.9 or later. * Change to the /docs directory and click-thru the documentation. If you notice anything awry, follow the "error messages" advice. To test building Struts 1.3.8 * Install Java 1.5 and set JAVA_HOME * Install Maven 2 and set MAVEN_HOME ** http://wiki.apache.org/struts/StrutsMaintenanceMaven * Change to the new folder (e.g., /opt/struts-1.3.8/src) * $ mvn install * Wait five minutes or more for Maven to download and build everything * $ cd assmbly * $ mvn assembly:assembly * The distribution will be deposited in 'assembly/target/assembly/out'. * If you encounter any problems with the build, follow the "error messages" advice. * Oh, and THANK YOU for your help. :) == Issues == * [https://issues.apache.org/struts/secure/IssueNavigator.jspa?reset=true&pid=10121&fixfor=21799 JIRA Release Notes] == TO DO == == Preparation Checklist == || '''#''' || '''Description''' || '''Status''' || || 1. || Announce plan to dev@ list || (./) || || 2. || Review/Resolve Outstanding Bugs || (./) || || 3. || Update Release Notes || (./) || || 4. || Check Dependencies || (./) || The Commons [http://jakarta.apache.org/commons/releases/prepare.html Preparation Guide] is a helpful preparation backgrounder, but Commons uses the "beta/release-candidate/final" process. Likewise, the [http://httpd.apache.org/dev/release.html HTTPD Release Guidelines] is a helpful "overall process" backgrounder, but HTTPD does not use a test-build stage. External Dependency versions for this release: || '''Dependency''' || '''Version''' || '''Status''' ||'''Used In''' || || Antlr || 2.7.2 || Released || Struts Validator || || Bean Scripting Framework || 2.3.0 || Released || Scripting || || Commons !BeanUtils || 1.7.0 || Released || core (!ActionServlet, configuration, !DynaActionForm) || || Commons Chain || 1.1 || Released || core (!RequestProcessor) || || Commons Digester || 1.8 || Released || core (!ActionServlet, configuration) || || Commons !FileUpload || 1.1.1 || Released || Struts Upload || || Commons IO || 1.1 || Released || Required by Commons !FileUpload || || Commons Logging || 1.0.4 || Released || core (logging all over) || || Commons Validator || 1.3.1 || Released || Struts Validator || || Jakarta Oro || 2.0.8 || Released || Commons Validator || == Testing Checklist == === Testing Summary === || '''#''' || '''Description''' || '''Completed''' || || 1. || Run Unit Test targets || (./) || || 2. || Run Cactus Tests (see below) || NA || || 3. || Play test applications (TC 5.5.x) || (./) || '''Note:''' Cactus tests are not working and have been moved to the sandbox. == Test Build Checklist (A) == See also Commons [http://jakarta.apache.org/commons/releases/release.html Step-by-Step Guide] || '''#''' || '''Description''' || '''Completed''' || || A0. || Update all pom.xml files to omit "-SNAPSHOT" || || || A1. || Tag release in svn: STRUTS_1_3_8 || || || A2. || Check out a clean copy using the 'tag' created in A1 and see StrutsMavenRelease || || || A3. || Deploy Test Build to people.apache.org: /www/people.apache.org/builds/struts/m2-staging-repository || || || A4. || Upload distributions to people.apache.org:/www/people.apache.org/builds/struts/v1.3.x || || || A5. || Refresh default website at /1.x and create ar
svn commit: r514055 - in /struts/struts1/branches/STRUTS_1_3_BRANCH: ./ apps/ apps/blank/ apps/cookbook/ apps/el-example/ apps/examples/ apps/faces-example1/ apps/faces-example2/ apps/mailreader/ apps
Author: pbenedict Date: Fri Mar 2 18:16:01 2007 New Revision: 514055 URL: http://svn.apache.org/viewvc?view=rev&rev=514055 Log: Remove snapshot Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/apps/blank/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/apps/cookbook/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/apps/examples/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-example1/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-example2/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/apps/mailreader/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/apps/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/apps/scripting-mailreader/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/assembly/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/core/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/el/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/extras/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/faces/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/integration/apps-it/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/integration/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/mailreader-dao/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/scripting/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/tiles/pom.xml struts/struts1/branches/STRUTS_1_3_BRANCH/tiles2/pom.xml Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/apps/blank/pom.xml URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/apps/blank/pom.xml?view=diff&rev=514055&r1=514054&r2=514055 == --- struts/struts1/branches/STRUTS_1_3_BRANCH/apps/blank/pom.xml (original) +++ struts/struts1/branches/STRUTS_1_3_BRANCH/apps/blank/pom.xml Fri Mar 2 18:16:01 2007 @@ -22,7 +22,7 @@ org.apache.struts struts-apps - 1.3.8-SNAPSHOT + 1.3.8 4.0.0 Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/apps/cookbook/pom.xml URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/apps/cookbook/pom.xml?view=diff&rev=514055&r1=514054&r2=514055 == --- struts/struts1/branches/STRUTS_1_3_BRANCH/apps/cookbook/pom.xml (original) +++ struts/struts1/branches/STRUTS_1_3_BRANCH/apps/cookbook/pom.xml Fri Mar 2 18:16:01 2007 @@ -22,7 +22,7 @@ org.apache.struts struts-apps - 1.3.8-SNAPSHOT + 1.3.8 4.0.0 Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/pom.xml URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/pom.xml?view=diff&rev=514055&r1=514054&r2=514055 == --- struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/pom.xml (original) +++ struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/pom.xml Fri Mar 2 18:16:01 2007 @@ -22,7 +22,7 @@ org.apache.struts struts-apps - 1.3.8-SNAPSHOT + 1.3.8 4.0.0 Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/apps/examples/pom.xml URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/apps/examples/pom.xml?view=diff&rev=514055&r1=514054&r2=514055 == --- struts/struts1/branches/STRUTS_1_3_BRANCH/apps/examples/pom.xml (original) +++ struts/struts1/branches/STRUTS_1_3_BRANCH/apps/examples/pom.xml Fri Mar 2 18:16:01 2007 @@ -22,7 +22,7 @@ org.apache.struts struts-apps - 1.3.8-SNAPSHOT + 1.3.8 4.0.0 Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-example1/pom.xml URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-example1/pom.xml?view=diff&rev=514055&r1=514054&r2=514055 == --- struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-example1/pom.xml (original) +++ struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-example1/pom.xml Fri Mar 2 18:16:01 2007 @@ -22,7 +22,7 @@ org.apache.struts struts-apps - 1.3.8-SNAPSHOT + 1.3.8 4.0.0 Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-example2/pom.xml URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-example2/pom.xml?view=diff&rev=514055&r1=514054&r2=514055 == --- struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-example2/pom.xml (original) +++ struts/struts1/branches/STRUTS_1_3_BRANCH/apps/faces-examp
svn commit: r514058 - /struts/struts1/tags/STRUTS_1_3_8/
Author: pbenedict Date: Fri Mar 2 18:42:25 2007 New Revision: 514058 URL: http://svn.apache.org/viewvc?view=rev&rev=514058 Log: Tagging 1.3.8 at 514055 Added: struts/struts1/tags/STRUTS_1_3_8/ - copied from r514055, struts/struts1/branches/STRUTS_1_3_BRANCH/
svn commit: r514081 - /struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java
Author: musachy Date: Fri Mar 2 21:23:01 2007 New Revision: 514081 URL: http://svn.apache.org/viewvc?view=rev&rev=514081 Log: WW-1675 Modify Struts Annotations to scan compiled classes for annotations @StrutsTagSkipInheritance was added to stop class hierarchy scanning for Struts tag annotations Modified: struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java Modified: struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java?view=diff&rev=514081&r1=514080&r2=514081 == --- struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java (original) +++ struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java Fri Mar 2 21:23:01 2007 @@ -20,11 +20,19 @@ */ package org.apache.struts.annotations.taglib.apt; +import java.beans.BeanInfo; +import java.beans.IntrospectionException; +import java.beans.Introspector; +import java.beans.PropertyDescriptor; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.OutputStreamWriter; +import java.lang.annotation.Annotation; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; import java.util.Collection; import java.util.HashMap; import java.util.TreeMap; @@ -61,6 +69,7 @@ public class TagAnnotationProcessor implements AnnotationProcessor { public static final String TAG = "org.apache.struts2.views.annotations.StrutsTag"; public static final String TAG_ATTRIBUTE = "org.apache.struts2.views.annotations.StrutsTagAttribute"; +public static final String TAG_SKIP_HIERARCHY = "org.apache.struts2.views.annotations.StrutsTagSkipInheritance"; private AnnotationProcessorEnvironment environment; private AnnotationTypeDeclaration tagDeclaration; @@ -113,7 +122,6 @@ tagAttributeDeclaration); // create Attribute and apply values found TagAttribute attribute = new TagAttribute(); -attribute.setDescription((String) values.get("description")); String name = (String) values.get("name"); if (name == null || name.length() == 0) { // get name from method @@ -122,11 +130,8 @@ .charAt(3))) + methodName.substring(4); } -attribute.setName(name); -attribute.setRequired((Boolean) values.get("required")); -attribute.setRtexprvalue((Boolean) values.get("rtexprvalue")); -attribute.setDefaultValue((String) values.get("defaultValue")); -attribute.setType((String) values.get("type")); +values.put("name", name); +populateTagAttributes(attribute, values); // add to map Tag parentTag = tags.get(typeName); if (parentTag != null) @@ -153,23 +158,74 @@ saveTemplates(); } +private void populateTagAttributes(TagAttribute attribute, Map values) { +attribute.setRequired((Boolean) values.get("required")); +attribute.setRtexprvalue((Boolean) values.get("rtexprvalue")); +attribute.setDefaultValue((String) values.get("defaultValue")); +attribute.setType((String) values.get("type")); +attribute.setDescription((String) values.get("description")); +attribute.setName((String) values.get("name")); +} + private void processHierarchy(Tag tag) { try { Class clazz = Class.forName(tag.getDeclaredType()); -while ((clazz = clazz.getSuperclass()) != null) { +//skip hierarchy processing if the class is marked with the skip annotation +while(getAnnotation(TAG_SKIP_HIERARCHY, clazz.getAnnotations()) == null +&& ((clazz = clazz.getSuperclass()) != null)) { Tag parentTag = tags.get(clazz.getName()); // copy parent annotations to this tag -if (parentTag != null) { -for (TagAttribute attribute : parentTag.getAttributes()) { +if(parentTag != null) { +for(TagAttribute attribute : parentTag.getAttributes()) { +tag.addTagAttribute(attribute); +} +} else { +// Maybe the parent class is already compiled +addTagAttributesFromParent(tag, clazz); +} +} +} catch(Exception e) { +throw new RuntimeExc
svn commit: r514083 [4/49] - in /struts/struts2/trunk/plugins/dojo: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/struts2/ src/main/java/org/ap
Added: struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/views/velocity/components/TreeNodeDirective.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/views/velocity/components/TreeNodeDirective.java?view=auto&rev=514083 == --- struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/views/velocity/components/TreeNodeDirective.java (added) +++ struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/views/velocity/components/TreeNodeDirective.java Fri Mar 2 21:48:54 2007 @@ -0,0 +1,44 @@ +/* + * $Id: TreeNodeDirective.java 471756 2006-11-06 15:01:43Z husted $ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.struts2.views.velocity.components; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.apache.struts2.components.Component; +import org.apache.struts2.components.TreeNode; + +import com.opensymphony.xwork2.util.ValueStack; + +/** + * TreeNodeDirective + * @see TreeNode + */ +public class TreeNodeDirective extends AbstractDirective { +public String getBeanName() { +return "treenode"; +} + +protected Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { +return new TreeNode(stack, req, res); +} +} + Added: struts/struts2/trunk/plugins/dojo/src/main/resources/META-INF/README.txt URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/META-INF/README.txt?view=auto&rev=514083 == --- struts/struts2/trunk/plugins/dojo/src/main/resources/META-INF/README.txt (added) +++ struts/struts2/trunk/plugins/dojo/src/main/resources/META-INF/README.txt Fri Mar 2 21:48:54 2007 @@ -0,0 +1,3 @@ +TLD file is generated inside META-INF after compilation. +If META-INF is empty, Maven will not copy it to the "target/classes" folder. +Please do not remove META-INF, or this file. \ No newline at end of file Added: struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/CommonFunctions.js URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/CommonFunctions.js?view=auto&rev=514083 == --- struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/CommonFunctions.js (added) +++ struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/CommonFunctions.js Fri Mar 2 21:48:54 2007 @@ -0,0 +1,52 @@ + +/** + * Methods for the tabbed component + */ +var unselectedClass = "tab_default tab_unselected"; +var unselectedContentsClass = "tab_contents_hidden"; +var unselectedOverClass = "tab_default tab_unselected tab_unselected_over"; +var selectedClass = "tab_default tab_selected"; +var selectedContentsClass = "tab_contents_header"; + +function mouseIn(tab) { +var className = tab.className; +if (className.indexOf('unselected') > -1) { +className = unselectedOverClass; +tab.className = className; +} +} + +function mouseOut(tab) { +var className = tab.className; +if (className.indexOf('unselected') > -1) { +className = unselectedClass; +tab.className = className; +} +} + +/** + * Checks whether the current form include an ajax-ified submit button, if so + * we return true (otherwise false). + * + * @param form the HTML form element to check + */ +function isAjaxFormSubmit( form ) { +// we check whether this exists +// +var thisForm = document.getElementById(form.id); +var matchUrl = /\s+dojoAttachPoint/; +if( thisForm.innerHTML.match(matchUrl) ) { +return false; +} +for( i=0; ihttp://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/LICENSE?view=auto&rev=514083 == --- struts/struts2/trunk/plugins/dojo/src/main/resources/org/apac