[CONF] Confluence Changes in the last 24 hours
- This is a daily summary of all recent changes in Confluence. - Updated Spaces: - Apache Geronimo Development (GMOxDEV) http://cwiki.apache.org/confluence/display/GMOxDEV | |-Pages Added or Edited in This Space |-- Pluggable Administration Console and Extensions Developer's Guide was created by hcunico (10:06 AM). | http://cwiki.apache.org/confluence/display/GMOxDEV/Pluggable+Administration+Console+and+Extensions+Developer%27s+Guide |-- Pluggable Administration Console and Extensions User's Guide was created by hcunico (10:05 AM). | http://cwiki.apache.org/confluence/display/GMOxDEV/Pluggable+Administration+Console+and+Extensions+User%27s+Guide |-- Pluggable Administration Console was created by hcunico (10:03 AM). | http://cwiki.apache.org/confluence/display/GMOxDEV/Pluggable+Administration+Console |-- Building Apache Geronimo was last edited by jdillon (02:17 AM). | http://cwiki.apache.org/confluence/display/GMOxDEV/Building+Apache+Geronimo Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL | |-Pages Added or Edited in This Space |-- Camel 1.1.0 Release was created by jstrachan (09:27 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Camel+1.1.0+Release |-- Camel 1.0.0 Release was last edited by jstrachan (09:11 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Camel+1.0.0+Release |-- Download was last edited by jstrachan (09:10 AM). | http://cwiki.apache.org/confluence/display/CAMEL/Download Apache FTPServer Project (FTPSERVER) http://cwiki.apache.org/confluence/display/FTPSERVER | |-Pages Added or Edited in This Space |-- TLSSSL Support was last edited by ngn (03:35 AM). | http://cwiki.apache.org/confluence/display/FTPSERVER/TLSSSL+Support |-- Listeners was last edited by ngn (03:32 AM). | http://cwiki.apache.org/confluence/display/FTPSERVER/Listeners Apache CXF 2.0 Documentation (CXF20DOC) http://cwiki.apache.org/confluence/display/CXF20DOC | |-Pages Added or Edited in This Space |-- WSAConfiguration was last edited by andreasmyth (06:32 AM). | http://cwiki.apache.org/confluence/display/CXF20DOC/WSAConfiguration |-- JAX-WS Configuration was last edited by andreasmyth (03:16 AM). | http://cwiki.apache.org/confluence/display/CXF20DOC/JAX-WS+Configuration Apache ActiveMQ (ACTIVEMQ) http://cwiki.apache.org/confluence/display/ACTIVEMQ | |-Pages Added or Edited in This Space |-- Team was last edited by jstrachan (12:57 AM). | http://cwiki.apache.org/confluence/display/ACTIVEMQ/Team Apache Struts 2 Plugin Registry (S2PLUGINS) http://cwiki.apache.org/confluence/display/S2PLUGINS | |-Pages Added or Edited in This Space |-- JSON Plugin was last edited by musachy (10:46 AM). | http://cwiki.apache.org/confluence/display/S2PLUGINS/JSON+Plugin Apache Geronimo v2.0 (GMOxDOC20) http://cwiki.apache.org/confluence/display/GMOxDOC20 | |-Pages Added or Edited in This Space |-- Configuring Virtual Hosts in Geronimo-Tomcat was last edited by hcunico (10:16 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC20/Configuring+Virtual+Hosts+in+Geronimo-Tomcat |-- Quick start - Apache Geronimo for the impatient was last edited by hcunico (08:23 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC20/Quick+start+-+Apache+Geronimo+for+the+impatient Tuscany Wiki (TUSCANYWIKI) http://cwiki.apache.org/confluence/display/TUSCANYWIKI | |-Pages Added or Edited in This Space |-- SCA Native Next Release Contents was last edited by [EMAIL PROTECTED] (02:53 PM). | http://cwiki.apache.org/confluence/display/TUSCANYWIKI/SCA+Native+Next+Release+Contents Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW | |-Pages Added or Edited in This Space |-- Portlet Configuration was last edited by [EMAIL PROTECTED] (07:59 PM). | http://cwiki.apache.org/confluence/display/WW/Portlet+Configuration |-- OGNL was last edited by [EMAIL PROTECTED] (10:25 AM). | http://cwiki.apache.org/confluence/display/WW/OGNL UIMA (UIMA) http://cwiki.apache.org/confluence/display/UIMA | |-Pages Added or Edited in This Space |-- TestPlanCpp2.2 was last edited by schor (10:19 AM). | http://cwiki.apache.org/confluence/display/UIMA/TestPlanCpp2.2 Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET | |-Pages Added or Edited in This Space |-- Documentation Index was last edited by seitz (03:10 PM). | http://cwiki.apache.org/confluence/display/WICKET/Documentation+Index |-- DropDownChoice Examples was last edited by elbac (09:20 AM). | http://cwiki.apache.org/confluence/display/WICKET/DropDownChoice+Examples - Updated User Profiles: - [EMAIL PROT
svn commit: r564879 - /struts/struts1/trunk/tiles/src/site/xdoc/examples.xml
Author: pbenedict Date: Sat Aug 11 02:15:39 2007 New Revision: 564879 URL: http://svn.apache.org/viewvc?view=rev&rev=564879 Log: STR-3084: Fix Tiles example error Modified: struts/struts1/trunk/tiles/src/site/xdoc/examples.xml Modified: struts/struts1/trunk/tiles/src/site/xdoc/examples.xml URL: http://svn.apache.org/viewvc/struts/struts1/trunk/tiles/src/site/xdoc/examples.xml?view=diff&rev=564879&r1=564878&r2=564879 == --- struts/struts1/trunk/tiles/src/site/xdoc/examples.xml (original) +++ struts/struts1/trunk/tiles/src/site/xdoc/examples.xml Sat Aug 11 02:15:39 2007 @@ -131,7 +131,7 @@ - + ]]> Using this method of defining Tiles can be very tricky. If you define a
svn commit: r564880 - /struts/struts1/branches/STRUTS_1_3_BRANCH/tiles/src/site/xdoc/examples.xml
Author: pbenedict Date: Sat Aug 11 02:15:45 2007 New Revision: 564880 URL: http://svn.apache.org/viewvc?view=rev&rev=564880 Log: STR-3084: Fix Tiles example error Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/tiles/src/site/xdoc/examples.xml Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/tiles/src/site/xdoc/examples.xml URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/tiles/src/site/xdoc/examples.xml?view=diff&rev=564880&r1=564879&r2=564880 == --- struts/struts1/branches/STRUTS_1_3_BRANCH/tiles/src/site/xdoc/examples.xml (original) +++ struts/struts1/branches/STRUTS_1_3_BRANCH/tiles/src/site/xdoc/examples.xml Sat Aug 11 02:15:45 2007 @@ -131,7 +131,7 @@ - + ]]> Using this method of defining Tiles can be very tricky. If you define a
[Struts Wiki] Update of "StrutsRelease139" 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/StrutsRelease139 -- == Release Manager == - The release managers is '''Paul Benedict''' + The release manager is '''Paul Benedict''' == How to Help == @@ -107, +107 @@ == Vote (A) == + 3 +1 GA binding (Joe, Paul, Henri) + 1 +1 Beta binding (Niall) + == 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 || || + || C2. || Copy the assemblies to www.apache.org/dist/struts || || || C3. || Post an announcement to lists and website || _ ||
[Struts Wiki] Update of "StrutsRelease139" 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/StrutsRelease139 -- || A6. || Update all pom.xml files to "1.3.10-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) ==
svn commit: r564926 - in /struts/struts2/trunk/plugins/portlet/src: main/java/org/apache/struts2/portlet/ main/java/org/apache/struts2/portlet/dispatcher/ main/java/org/apache/struts2/portlet/result/
Author: nilsga Date: Sat Aug 11 07:31:18 2007 New Revision: 564926 URL: http://svn.apache.org/viewvc?view=rev&rev=564926 Log: WW-2104 Added experimental support for intermediate dispatcher servlet allowing for wrapping the request to the JSP in a StrutsWrapperRequest Added: struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/dispatcher/DispatcherServlet.java Modified: struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletActionConstants.java struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/result/PortletResult.java struts/struts2/trunk/plugins/portlet/src/main/resources/struts-plugin.xml struts/struts2/trunk/plugins/portlet/src/test/java/org/apache/struts2/portlet/result/PortletResultTest.java Modified: struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletActionConstants.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletActionConstants.java?view=diff&rev=564926&r1=564925&r2=564926 == --- struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletActionConstants.java (original) +++ struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletActionConstants.java Sat Aug 11 07:31:18 2007 @@ -20,6 +20,8 @@ */ package org.apache.struts2.portlet; +import org.apache.struts2.portlet.dispatcher.DispatcherServlet; + /** * Interface defining some constants used in the Struts portlet implementation * @@ -113,4 +115,9 @@ * Key for session attribute indicating the location of the render direct action. */ String RENDER_DIRECT_LOCATION = "struts.portlet.renderDirectLocation"; + +/** + * Key for the dispatch instruction for the [EMAIL PROTECTED] DispatcherServlet} + */ + String DISPATCH_TO = "struts.portlet.dispatchTo"; } Added: struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/dispatcher/DispatcherServlet.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/dispatcher/DispatcherServlet.java?view=auto&rev=564926 == --- struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/dispatcher/DispatcherServlet.java (added) +++ struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/dispatcher/DispatcherServlet.java Sat Aug 11 07:31:18 2007 @@ -0,0 +1,57 @@ +/* + * $Id: $ + * + * 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.portlet.dispatcher; + +import java.io.IOException; + +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.apache.struts2.dispatcher.StrutsRequestWrapper; +import org.apache.struts2.portlet.PortletActionConstants; + +import com.opensymphony.xwork2.util.TextUtils; + +public class DispatcherServlet extends HttpServlet implements PortletActionConstants { + + private static final long serialVersionUID = -266147033645951967L; + + @Override + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + String dispatchTo = (String) request.getAttribute(DISPATCH_TO); + HttpServletRequest wrapper = wrapRequestIfNecessary(request); + if(TextUtils.stringSet(dispatchTo)) { + request.getRequestDispatcher(dispatchTo).include(wrapper, response); + } + } + + private HttpServletRequest wrapRequestIfNecessary(HttpServletRequest request) { + if(!(request instanceof StrutsRequestWrapper)) { + return new StrutsRequestWrapper(request); + } + else { + return request; + } + } + +} Modified: struts/struts2/trunk/plugins/portlet/src/ma
svn commit: r564928 - in /struts/site/src/site: site.xml xdoc/announce.xml xdoc/download.xml xdoc/downloads.xml xdoc/index.xml
Author: pbenedict Date: Sat Aug 11 08:01:17 2007 New Revision: 564928 URL: http://svn.apache.org/viewvc?view=rev&rev=564928 Log: Links and announcements to 1.3.9 BETA Modified: struts/site/src/site/site.xml struts/site/src/site/xdoc/announce.xml struts/site/src/site/xdoc/download.xml struts/site/src/site/xdoc/downloads.xml struts/site/src/site/xdoc/index.xml Modified: struts/site/src/site/site.xml URL: http://svn.apache.org/viewvc/struts/site/src/site/site.xml?view=diff&rev=564928&r1=564927&r2=564928 == --- struts/site/src/site/site.xml (original) +++ struts/site/src/site/site.xml Sat Aug 11 08:01:17 2007 @@ -58,7 +58,10 @@ name="Struts 2.0.9" href="http://struts.apache.org/2.0.9/index.html"; /> http://struts.apache.org/1.3.9/index.html"; /> +http://struts.apache.org/1.3.8/index.html"; /> http://svn.apache.org/viewvc/struts/site/src/site/xdoc/announce.xml?view=diff&rev=564928&r1=564927&r2=564928 == --- struts/site/src/site/xdoc/announce.xml (original) +++ struts/site/src/site/xdoc/announce.xml Sat Aug 11 08:01:17 2007 @@ -30,6 +30,28 @@ Skip to: Announcements - 2006 +01 August 2007 - Struts v1.3.9 Beta Release + + + The Apache Struts group is pleased to announce that Struts 1.3.9 + is available as a "Beta" release. + + + + Struts 1.3.9 is available in a full distribution, or as separate + library, source, example and documentation distributions. + + + + http://struts.apache.org/download.cgi#struts139";> +http://struts.apache.org/download.cgi#struts139 + + + + It is also available in the central Maven repository under Group ID + ID "org.apache.struts". + + 24 July 2007 - Struts 2.0.9 General Availability Release with Important Security Fix http://struts.apache.org/download.cgi#struts209";>Apache Struts 2.0.9 Modified: struts/site/src/site/xdoc/download.xml URL: http://svn.apache.org/viewvc/struts/site/src/site/xdoc/download.xml?view=diff&rev=564928&r1=564927&r2=564928 == --- struts/site/src/site/xdoc/download.xml (original) +++ struts/site/src/site/xdoc/download.xml Sat Aug 11 08:01:17 2007 @@ -257,9 +257,71 @@ - - No current betas are in distribution at this time. - + + + + +http://struts.apache.org/1.x/index.html";>Struts 1.3.9 +is the current preview release of Struts 1. +It is available in a full distribution, or as +separate library, source, example and documentation +distributions. + + + + +Full Distribution: + + +struts-1.3.9-all.zip +[http://www.apache.org/dist/struts/binaries/struts-1.3.9-all.zip.asc";>PGP] +[http://www.apache.org/dist/struts/binaries/struts-1.3.9-all.zip.md5";>MD5] + + + + +Library: + + +struts-1.3.9-lib.zip +[http://www.apache.org/dist/struts/library/struts-1.3.9-lib.zip.asc";>PGP] +[http://www.apache.org/dist/struts/library/struts-1.3.9-lib.zip.md5";>MD5] + + + + +Source: + + +struts-1.3.9-src.zip +[http://www.apache.org/dist/struts/source/struts-1.3.9-src.zip.asc";>PGP] +[http://www.apache.org/dist/struts/source/struts-1.3.9-src.zip.md5";>MD5] + + + + +Examples: + + +struts-1.3.9-apps.zip +[http://www.apache.org/dist/struts/examples/struts-1.3.9-apps.zip.asc";>PGP] +[http://www.apache.org/dist/struts/examples/struts-1.3.9-apps.zip.md5";>MD5] + + + + +Documentation: +
svn commit: r564967 - in /struts/struts2/trunk/plugins/portlet/src: main/java/org/apache/struts2/components/ main/java/org/apache/struts2/portlet/util/ test/java/org/apache/struts2/portlet/util/ test/
Author: nilsga Date: Sat Aug 11 13:20:33 2007 New Revision: 564967 URL: http://svn.apache.org/viewvc?view=rev&rev=564967 Log: WW-1713 Consider "method" tag attribute when creating urls Modified: struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/components/PortletUrlRenderer.java struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/util/PortletUrlHelper.java struts/struts2/trunk/plugins/portlet/src/test/java/org/apache/struts2/portlet/util/PortletUrlHelperTest.java struts/struts2/trunk/plugins/portlet/src/test/java/org/apache/struts2/views/jsp/PortletUrlTagTest.java Modified: struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/components/PortletUrlRenderer.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/components/PortletUrlRenderer.java?view=diff&rev=564967&r1=564966&r2=564967 == --- struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/components/PortletUrlRenderer.java (original) +++ struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/components/PortletUrlRenderer.java Sat Aug 11 13:20:33 2007 @@ -50,7 +50,7 @@ String result; if (urlComponent.value == null && urlComponent.action != null) { - result = PortletUrlHelper.buildUrl(urlComponent.action, urlComponent.namespace, urlComponent.parameters, urlComponent.portletUrlType, urlComponent.portletMode, urlComponent.windowState); + result = PortletUrlHelper.buildUrl(urlComponent.action, urlComponent.namespace, urlComponent.method, urlComponent.parameters, urlComponent.portletUrlType, urlComponent.portletMode, urlComponent.windowState); } else { result = PortletUrlHelper.buildResourceUrl(urlComponent.value, urlComponent.parameters); } @@ -91,7 +91,7 @@ } } if (action != null) { -String result = PortletUrlHelper.buildUrl(action, formComponent.namespace, +String result = PortletUrlHelper.buildUrl(action, formComponent.namespace, null, formComponent.getParameters(), type, formComponent.portletMode, formComponent.windowState); formComponent.addParameter("action", result); Modified: struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/util/PortletUrlHelper.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/util/PortletUrlHelper.java?view=diff&rev=564967&r1=564966&r2=564967 == --- struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/util/PortletUrlHelper.java (original) +++ struts/struts2/trunk/plugins/portlet/src/main/java/org/apache/struts2/portlet/util/PortletUrlHelper.java Sat Aug 11 13:20:33 2007 @@ -59,15 +59,16 @@ * * @param action The action the URL should invoke. * @param namespace The namespace of the action to invoke. + * @param method The method of the action to invoke. * @param params The parameters of the URL. * @param type The type of the url, either action or render * @param mode The PortletMode of the URL. * @param state The WindowState of the URL. * @return The URL String. */ -public static String buildUrl(String action, String namespace, Map params, +public static String buildUrl(String action, String namespace, String method, Map params, String type, String mode, String state) { -return buildUrl(action, namespace, params, null, type, mode, state, +return buildUrl(action, namespace, method, params, null, type, mode, state, true, true); } @@ -76,9 +77,10 @@ * * @see #buildUrl(String, String, Map, String, String, String) */ -public static String buildUrl(String action, String namespace, Map params, +public static String buildUrl(String action, String namespace, String method, Map params, String scheme, String type, String portletMode, String windowState, boolean includeContext, boolean encodeResult) { + StringBuffer resultingAction = new StringBuffer(); RenderRequest request = PortletActionContext.getRenderRequest(); RenderResponse response = PortletActionContext.getRenderResponse(); LOG.debug("Creating url. Action = " + action + ", Namespace = " @@ -102,15 +104,17 @@ } } if (TextUtils.stringSet(namespace)) { -StringBuffer sb = new StringBuffer(); -sb.append(namespace); +resultingAction.append(namespace); if(!action.startsWith("/") && !namespace.endsWith("/")) { -sb.app
svn commit: r564985 - /struts/site/src/site/xdoc/download.xml
Author: pbenedict Date: Sat Aug 11 16:41:18 2007 New Revision: 564985 URL: http://svn.apache.org/viewvc?view=rev&rev=564985 Log: Fix links to 1.3.x versions Modified: struts/site/src/site/xdoc/download.xml Modified: struts/site/src/site/xdoc/download.xml URL: http://svn.apache.org/viewvc/struts/site/src/site/xdoc/download.xml?view=diff&rev=564985&r1=564984&r2=564985 == --- struts/site/src/site/xdoc/download.xml (original) +++ struts/site/src/site/xdoc/download.xml Sat Aug 11 16:41:18 2007 @@ -180,7 +180,7 @@ -http://struts.apache.org/1.x/index.html";>Struts 1.3.8 +http://struts.apache.org/1.3.8/index.html";>Struts 1.3.8 is the latest production release of Struts 1. It is available in a full distribution, or as separate library, source, example and documentation @@ -261,7 +261,7 @@ -http://struts.apache.org/1.x/index.html";>Struts 1.3.9 +http://struts.apache.org/1.3.9/index.html";>Struts 1.3.9 is the current preview release of Struts 1. It is available in a full distribution, or as separate library, source, example and documentation
svn commit: r565005 - /struts/struts2/trunk/plugins/portlet/src/main/resources/struts-plugin.xml
Author: nilsga Date: Sat Aug 11 23:03:38 2007 New Revision: 565005 URL: http://svn.apache.org/viewvc?view=rev&rev=565005 Log: WW-2105 "Override" the redirectAction result type with the PortletResult type. Modified: struts/struts2/trunk/plugins/portlet/src/main/resources/struts-plugin.xml Modified: struts/struts2/trunk/plugins/portlet/src/main/resources/struts-plugin.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/portlet/src/main/resources/struts-plugin.xml?view=diff&rev=565005&r1=565004&r2=565005 == --- struts/struts2/trunk/plugins/portlet/src/main/resources/struts-plugin.xml (original) +++ struts/struts2/trunk/plugins/portlet/src/main/resources/struts-plugin.xml Sat Aug 11 23:03:38 2007 @@ -36,6 +36,7 @@ +