[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 |-- Apache Geronimo With A Monitor Component was created by [EMAIL PROTECTED] (03:34 PM). | http://cwiki.apache.org/confluence/display/GMOxDEV/Apache+Geronimo+With+A+Monitor+Component |-- Clustering Configuration for Jetty was last edited by gianny (01:56 AM). | http://cwiki.apache.org/confluence/display/GMOxDEV/Clustering+Configuration+for+Jetty Apache Directory Server v1.5 (DIRxSRVx11) http://cwiki.apache.org/confluence/display/DIRxSRVx11 | |-Pages Added or Edited in This Space |-- Index was last edited by ersiner (11:54 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/Index Apache Struts 2 Plugin Registry (S2PLUGINS) http://cwiki.apache.org/confluence/display/S2PLUGINS | |-Pages Added or Edited in This Space |-- Spring Plugin was last edited by [EMAIL PROTECTED] (07:27 PM). | http://cwiki.apache.org/confluence/display/S2PLUGINS/Spring+Plugin Apache Tiles (TILES) http://cwiki.apache.org/confluence/display/TILES | |-Pages Added or Edited in This Space |-- Release Plan (tiles-master-1) was last edited by ddewolf (05:19 AM). | http://cwiki.apache.org/confluence/display/TILES/Release+Plan+%28tiles-master-1%29 |-- Release Management was last edited by ddewolf (05:09 AM). | http://cwiki.apache.org/confluence/display/TILES/Release+Management Apache Geronimo v1.1 (GMOxDOC11) http://cwiki.apache.org/confluence/display/GMOxDOC11 | |-Pages Added or Edited in This Space |-- Clustering sample application was last edited by davecola (10:56 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC11/Clustering+sample+application |-- Clustering sample application - Tomcat Host Level was last edited by davecola (09:57 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC11/Clustering+sample+application+-+Tomcat+Host+Level |-- Sample applications was last edited by davecola (09:57 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC11/Sample+applications Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW | |-Pages Added or Edited in This Space |-- struts.properties was last edited by [EMAIL PROTECTED] (07:21 PM). | http://cwiki.apache.org/confluence/display/WW/struts.properties |-- WebSphere was last edited by phil (02:01 AM). | http://cwiki.apache.org/confluence/display/WW/WebSphere Apache Wicket Website (WICKETxSITE) http://cwiki.apache.org/confluence/display/WICKETxSITE | |-Pages Added or Edited in This Space |-- Roadmap was created by frankbille (10:52 AM). | http://cwiki.apache.org/confluence/display/WICKETxSITE/Roadmap Apache Directory Server v1.0 (DIRxSRVx10) http://cwiki.apache.org/confluence/display/DIRxSRVx10 | |-Pages Added or Edited in This Space |-- Index was last edited by ersiner (11:50 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx10/Index |-- Navigation was created by ersiner (10:12 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx10/Navigation Apache Directory Website (DIRxSITE) http://cwiki.apache.org/confluence/display/DIRxSITE | |-Pages Added or Edited in This Space |-- Index was last edited by ersiner (10:42 PM). | http://cwiki.apache.org/confluence/display/DIRxSITE/Index |-- New site is up and running was last edited by pamarcelot (02:14 PM). | http://cwiki.apache.org/confluence/display/DIRxSITE/2007/01/27/New+site+is+up+and+running |-- Navigation was created by ersiner (09:45 AM). | http://cwiki.apache.org/confluence/display/DIRxSITE/Navigation Apache Tuscany (TUSCANY) http://cwiki.apache.org/confluence/display/TUSCANY | |-Pages Added or Edited in This Space |-- Deployment was created by rfeng (05:19 PM). | http://cwiki.apache.org/confluence/display/TUSCANY/Deployment |-- Features was created by jsdelfino (10:17 AM). | http://cwiki.apache.org/confluence/display/TUSCANY/Features Apache Directory Project Management (DIRxPMGT) http://cwiki.apache.org/confluence/display/DIRxPMGT | |-Pages Added or Edited in This Space |-- Web site management was last edited by ersiner (05:12 AM). | http://cwiki.apache.org/confluence/display/DIRxPMGT/Web+site+management Apache Geronimo v1.2 (GMOxDOC12) http://cwiki.apache.org/confluence/display/GMOxDOC12 | |-Pages Added or Edited in This Space |-- Simple Web services sample application was last edited by hcunico (02:14 PM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Simple+Web+services+sample+application Apache Geronimo Documentation (geronimo) http://cwiki.apache.org/confluence/display/geronimo | |-Pages Added or Edited in This Space |-- Index was last edited by
svn commit: r502196 - in /struts/struts2/trunk/core/src/main/java/org/apache/struts2: interceptor/ portlet/interceptor/ servlet/ servlet/interceptor/
Author: rgielen Date: Thu Feb 1 03:28:57 2007 New Revision: 502196 URL: http://svn.apache.org/viewvc?view=rev&rev=502196 Log: WW-1696: Refactored PrincipalProxy to interface and provided a servlet and a portlet based implementation Added: struts/struts2/trunk/core/src/main/java/org/apache/struts2/portlet/interceptor/PortletPrincipalProxy.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/servlet/ struts/struts2/trunk/core/src/main/java/org/apache/struts2/servlet/interceptor/ struts/struts2/trunk/core/src/main/java/org/apache/struts2/servlet/interceptor/ServletPrincipalProxy.java Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/PrincipalProxy.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ServletConfigInterceptor.java Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/PrincipalProxy.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/PrincipalProxy.java?view=diff&rev=502196&r1=502195&r2=502196 == --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/PrincipalProxy.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/PrincipalProxy.java Thu Feb 1 03:28:57 2007 @@ -25,21 +25,10 @@ import javax.servlet.http.HttpServletRequest; /** - * Proxy class used together with PrincipalAware interface. It allows to get indirect access to - * HttpServletRequest Principal related methods. - * + * Proxy interface used together with PrincipalAware interface. It allows to get indirect access to + * HttpServletRequest or PortletRequest Principal related methods. */ -public class PrincipalProxy { -private HttpServletRequest request; - -/** - * Constructs a proxy - * - * @param request The underlying request - */ -public PrincipalProxy(HttpServletRequest request) { -this.request = request; -} +public interface PrincipalProxy { /** * True if the user is in the given role @@ -47,43 +36,35 @@ * @param role The role * @return True if the user is in that role */ -public boolean isUserInRole(String role) { -return request.isUserInRole(role); -} +boolean isUserInRole(String role); /** * Gets the user principal * * @return The principal */ -public Principal getUserPrincipal() { -return request.getUserPrincipal(); -} +Principal getUserPrincipal(); /** * Gets the user id * * @return The user id */ -public String getRemoteUser() { -return request.getRemoteUser(); -} +String getRemoteUser(); /** * Is the request using https? * * @return True if using https */ -public boolean isRequestSecure() { -return request.isSecure(); -} +boolean isRequestSecure(); /** - * Gets the request + * Gets the request. * * @return The request + * @deprecated To obtain the HttpServletRequest in your action, use + * [EMAIL PROTECTED] org.apache.struts2.servlet.ServletRequestAware}, since this method will be dropped in future. */ -public HttpServletRequest getRequest() { -return request; -} +HttpServletRequest getRequest(); } Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ServletConfigInterceptor.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ServletConfigInterceptor.java?view=diff&rev=502196&r1=502195&r2=502196 == --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ServletConfigInterceptor.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ServletConfigInterceptor.java Thu Feb 1 03:28:57 2007 @@ -25,8 +25,12 @@ import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import javax.portlet.PortletRequest; import org.apache.struts2.StrutsStatics; +import org.apache.struts2.servlet.interceptor.ServletPrincipalProxy; +import org.apache.struts2.portlet.PortletActionConstants; +import org.apache.struts2.portlet.interceptor.PortletPrincipalProxy; import org.apache.struts2.util.ServletContextAware; import com.opensymphony.xwork2.ActionContext; @@ -150,7 +154,14 @@ if (action instanceof PrincipalAware) { HttpServletRequest request = (HttpServletRequest) context.get(HTTP_REQUEST); -((PrincipalAware) action).setPrincipalProxy(new PrincipalProxy(request)); +Object portletRequest = context.get(PortletActionConstants.REQUEST); +if (portletReq
svn commit: r502296 - in /struts/struts2/trunk: api/src/main/java/org/apache/struts2/ api/src/main/java/org/apache/struts2/servlet/ api/src/main/java/org/apache/struts2/spi/ apps/showcase/src/main/jav
Author: niallp Date: Thu Feb 1 09:33:39 2007 New Revision: 502296 URL: http://svn.apache.org/viewvc?view=rev&rev=502296 Log: WW-1698 - Add missing License Headers (and a few missing "svn" properties) Modified: struts/struts2/trunk/api/src/main/java/org/apache/struts2/Action.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/MessageAware.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/Messages.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/ResultNames.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/Validatable.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/servlet/ParameterAware.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/servlet/ServletRequestAware.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/servlet/ServletResponseAware.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/spi/ActionContext.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/spi/Interceptor.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/spi/RequestContext.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/spi/RequestContextAware.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/spi/Result.java struts/struts2/trunk/api/src/main/java/org/apache/struts2/spi/ValueStack.java struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/freemarker/StandardTagsAction.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/RemoteUICallBean.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/MethodConfigurationProvider.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/DefaultTagLibrary.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/TagLibrary.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DebugTag.java struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/InputTransferSelectTag.java struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/AutocompleterTest.java Modified: struts/struts2/trunk/api/src/main/java/org/apache/struts2/Action.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/api/src/main/java/org/apache/struts2/Action.java?view=diff&rev=502296&r1=502295&r2=502296 == --- struts/struts2/trunk/api/src/main/java/org/apache/struts2/Action.java (original) +++ struts/struts2/trunk/api/src/main/java/org/apache/struts2/Action.java Thu Feb 1 09:33:39 2007 @@ -1,3 +1,23 @@ +/* + * $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; /** Modified: struts/struts2/trunk/api/src/main/java/org/apache/struts2/MessageAware.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/api/src/main/java/org/apache/struts2/MessageAware.java?view=diff&rev=502296&r1=502295&r2=502296 == --- struts/struts2/trunk/api/src/main/java/org/apache/struts2/MessageAware.java (original) +++ struts/struts2/trunk/api/src/main/java/org/apache/struts2/MessageAware.java Thu Feb 1 09:33:39 2007 @@ -1,3 +1,23 @@ +/* + * $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; /** Modified: struts/s
svn commit: r502435 - /struts/site/src/site/fml/roadmap.fml
Author: husted Date: Thu Feb 1 17:35:55 2007 New Revision: 502435 URL: http://svn.apache.org/viewvc?view=rev&rev=502435 Log: WW-1680 Extend FAQ to mention overall direction of S2. Modified: struts/site/src/site/fml/roadmap.fml Modified: struts/site/src/site/fml/roadmap.fml URL: http://svn.apache.org/viewvc/struts/site/src/site/fml/roadmap.fml?view=diff&rev=502435&r1=502434&r2=502435 == --- struts/site/src/site/fml/roadmap.fml (original) +++ struts/site/src/site/fml/roadmap.fml Thu Feb 1 17:35:55 2007 @@ -233,7 +233,7 @@ New and improved extensions for Struts 1 continue to appear regularly. -In 2006 alone, we've seen releases of +In 2006 alone, we saw releases of http://www.sundog.net/index.php/hoople/page/struts/";>Hoople, http://strecks.sourceforge.net/";>Strecks, @@ -365,6 +365,15 @@ For a complete JSF solution designed with Struts developers in mind, see http://shale.apache.org/";>Apache Shale. + + +The overall direction of Struts 2 is to continue to become the +framework that we actually want to use to build our own +applications. Sometimes that means supporting J2EE technologies, +like JavaServer Faces. Sometimes that means +http://struts.apache.org/2.x/docs/architecture.html";> +creating our own technologies, +like Interceptors, the Value Stack, and Taglib Themes.
svn commit: r502436 - /struts/struts2/trunk/api/
Author: husted Date: Thu Feb 1 17:38:43 2007 New Revision: 502436 URL: http://svn.apache.org/viewvc?view=rev&rev=502436 Log: WW-1680 Move "new API" into the sandbox for the time being. The "new API" may be revisited for 2.1 and refined to utilize the latest version of Guice. Removed: struts/struts2/trunk/api/
svn commit: r502437 - /struts/sandbox/trunk/api/
Author: husted Date: Thu Feb 1 17:39:36 2007 New Revision: 502437 URL: http://svn.apache.org/viewvc?view=rev&rev=502437 Log: WW-1680 Move "new API" into the sandbox for the time being. The "new API" may be revisited for 2.1 and refined to utilize the latest version of Guice. Added: struts/sandbox/trunk/api/ - copied from r502433, struts/struts2/trunk/api/
svn commit: r502453 - in /struts: sandbox/trunk/api/ struts2/trunk/api/
Author: husted Date: Thu Feb 1 18:49:11 2007 New Revision: 502453 URL: http://svn.apache.org/viewvc?view=rev&rev=502453 Log: WW-1680 Undo move pending a refactoring of the StrutsObjectFactory. Added: struts/struts2/trunk/api/ - copied from r502437, struts/sandbox/trunk/api/ Removed: struts/sandbox/trunk/api/