[CONF] Confluence Changes in the last 24 hours

2007-09-24 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

Apache Sling (SLING) http://cwiki.apache.org/confluence/display/SLING
|
|-Pages Added or Edited in This Space
 |-- First Steps was created by fmeschbe (12:50 PM).
 |   http://cwiki.apache.org/confluence/display/SLING/First+Steps
 |-- Project Information was last edited by fmeschbe (12:01 PM).
 |   http://cwiki.apache.org/confluence/display/SLING/Project+Information
 |-- Documentation was created by fmeschbe (11:51 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Documentation
 |-- Navigation was last edited by fmeschbe (11:50 AM).
 |   http://cwiki.apache.org/confluence/display/SLING/Navigation

OpenEJB (OPENEJB) http://cwiki.apache.org/confluence/display/OPENEJB
|
|-Pages Added or Edited in This Space
 |-- Card Test was created by dain (06:05 PM).
 |   http://cwiki.apache.org/confluence/display/OPENEJB/Card+Test

Apache CXF 2.0 Documentation (CXF20DOC) 
http://cwiki.apache.org/confluence/display/CXF20DOC
|
|-Pages Added or Edited in This Space
 |-- Aegis Theory of Operation was created by [EMAIL PROTECTED] (01:53 PM).
 |   
http://cwiki.apache.org/confluence/display/CXF20DOC/Aegis+Theory+of+Operation
 |-- Aegis Databinding was last edited by [EMAIL PROTECTED] (01:31 PM).
 |   http://cwiki.apache.org/confluence/display/CXF20DOC/Aegis+Databinding

Apache Struts 2 Plugin Registry (S2PLUGINS) 
http://cwiki.apache.org/confluence/display/S2PLUGINS
|
|-Pages Added or Edited in This Space
 |-- DataVision plug-in v1.0 released was created by fzammetti (09:22 PM).
 |   
http://cwiki.apache.org/confluence/display/S2PLUGINS/2007/09/23/DataVision+plug-in+v1.0+released

Apache Geronimo Project Management (GMOxPMGT) 
http://cwiki.apache.org/confluence/display/GMOxPMGT
|
|-Pages Added or Edited in This Space
 |-- Release Eclipse Plugin Process was last edited by mcconne (05:59 PM).
 |   
http://cwiki.apache.org/confluence/display/GMOxPMGT/Release+Eclipse+Plugin+Process

Apache ServiceMix (SM) http://cwiki.apache.org/confluence/display/SM
|
|-Pages Added or Edited in This Space
 |-- servicemix-http was last edited by trumant (05:50 AM).
 |   http://cwiki.apache.org/confluence/display/SM/servicemix-http
 |-- Embedding was last edited by trumant (05:21 AM).
 |   http://cwiki.apache.org/confluence/display/SM/Embedding

Apache Cayenne (CAY) http://cwiki.apache.org/confluence/display/CAY
|
|-Pages Added or Edited in This Space
 |-- 3.0 Wish List was last edited by ari (03:04 AM).
 |   http://cwiki.apache.org/confluence/display/CAY/3.0+Wish+List

Apache Directory Studio (DIRxSTUDIO) 
http://cwiki.apache.org/confluence/display/DIRxSTUDIO
|
|-Pages Added or Edited in This Space
 |-- Value Editor Extension Point was last edited by seelmann (07:09 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSTUDIO/Value+Editor+Extension+Point

Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET
|
|-Pages Added or Edited in This Space
 |-- Community meetups was last edited by ehillenius (08:47 AM).
 |   http://cwiki.apache.org/confluence/display/WICKET/Community+meetups


-
CONFLUENCE INFORMATION
This message is automatically generated by Confluence

Unsubscribe or edit your notifications preferences
   http://cwiki.apache.org/confluence/users/viewnotifications.action

If you think it was sent incorrectly contact one of the administrators
   http://cwiki.apache.org/confluence/administrators.action

If you want more information on Confluence, or have a bug to report see
   http://www.atlassian.com/software/confluence




Issues Opened: week of 2007-09-24

2007-09-24 Thread dblevins

Struts2 - Monday, September 24, 2007

  10 opened in last 7 days

[WW-2191] Make validateAnnotatedMethodOnly the default and support 
client-side method-only validations
  - Type: Improvement
  - Reporter: Ted Husted
  - Components: [Validation]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2191

[WW-2193] Rework FilterDispatcher to be pluggable
  - Type: Improvement
  - Reporter: Brian Pontarelli
  - Components: [Dispatch]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2193

[WW-2199] can't set action error text from global resource file
  - Type: Bug
  - Reporter: johana pin 
  - Components: [Actions]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2199

[WW-2189] improve freemarker first-level template caching
  - Type: Improvement
  - Reporter: Haroon Rafique
  - Components: [Views]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2189

[WW-2192] Rework ConfigurationProvider loading
  - Type: Improvement
  - Reporter: Brian Pontarelli
  - Components: [Configuration]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2192

[WW-2197] s:optiontransferselect does not work with validation framework
  - Type: Bug
  - Reporter: Jane Jiang
  - Components: [Validation, Value Stack, Views]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2197

[WW-2200] showcase/pom.xml resources tag produces NullPointerException
  - Type: Bug
  - Reporter: Martin Gainty
  - Components: [Configuration]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2200

[WW-2194] dojo plugin - property theme in sx:autocompleter is missing
  - Type: Bug
  - Reporter: Pedro Herrera
  - Components: []
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2194

[WW-2198] Integration of Struts 2 and DWR
  - Type: New Feature
  - Reporter: Nestor Boscan
  - Components: [Integration]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2198

[WW-2202] Label does not show when theme="ajax"
  - Type: Bug
  - Reporter: Benjamin McCann
  - Components: []
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2202



svn commit: r579021 - in /struts/struts2/trunk/core/src/main/java/org/apache/struts2: config/StrutsXmlConfigurationProvider.java dispatcher/FilterDispatcher.java dispatcher/StrutsRequestWrapper.java

2007-09-24 Thread mrdon
Author: mrdon
Date: Mon Sep 24 17:07:19 2007
New Revision: 579021

URL: http://svn.apache.org/viewvc?rev=579021&view=rev
Log:
Better handling of action context creation
WW-2203

Modified:

struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/StrutsXmlConfigurationProvider.java

struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java

struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StrutsRequestWrapper.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/StrutsXmlConfigurationProvider.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/StrutsXmlConfigurationProvider.java?rev=579021&r1=579020&r2=579021&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/StrutsXmlConfigurationProvider.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/StrutsXmlConfigurationProvider.java
 Mon Sep 24 17:07:19 2007
@@ -162,7 +162,11 @@
 @Override
 public boolean needsReload() {
 ActionContext ctx = ActionContext.getContext();
-return ctx.get(reloadKey) == null && super.needsReload();
+if (ctx != null) {
+return ctx.get(reloadKey) == null && super.needsReload();
+} else {
+return true;
+}
 
 }
 

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java?rev=579021&r1=579020&r2=579021&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java
 Mon Sep 24 17:07:19 2007
@@ -52,6 +52,8 @@
 
 import com.opensymphony.xwork2.inject.Inject;
 import com.opensymphony.xwork2.util.ClassLoaderUtil;
+import com.opensymphony.xwork2.util.ValueStack;
+import com.opensymphony.xwork2.util.ValueStackFactory;
 import com.opensymphony.xwork2.util.profiling.UtilTimerStack;
 import com.opensymphony.xwork2.ActionContext;
 
@@ -386,6 +388,12 @@
 
 String timerKey = "FilterDispatcher_doFilter: ";
 try {
+
+// FIXME: this should be refactored better to not duplicate work 
with the action invocation
+ValueStack stack = 
dispatcher.getContainer().getInstance(ValueStackFactory.class).createValueStack();
+ActionContext ctx = new ActionContext(stack.getContext());
+ActionContext.setContext(ctx);
+
 UtilTimerStack.push(timerKey);
 request = prepareDispatcherAndWrapRequest(request, response);
 ActionMapping mapping;

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StrutsRequestWrapper.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StrutsRequestWrapper.java?rev=579021&r1=579020&r2=579021&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StrutsRequestWrapper.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StrutsRequestWrapper.java
 Mon Sep 24 17:07:19 2007
@@ -62,26 +62,27 @@
 
 ActionContext ctx = ActionContext.getContext();
 Object attribute = super.getAttribute(s);
-
-if (attribute == null) {
-boolean alreadyIn = false;
-Boolean b = (Boolean) ctx.get("__requestWrapper.getAttribute");
-if (b != null) {
-alreadyIn = b.booleanValue();
-}
-
-// note: we don't let # come through or else a request for
-// #attr.foo or #request.foo could cause an endless loop
-if (!alreadyIn && s.indexOf("#") == -1) {
-try {
-// If not found, then try the ValueStack
-ctx.put("__requestWrapper.getAttribute", Boolean.TRUE);
-ValueStack stack = ctx.getValueStack();
-if (stack != null) {
-attribute = stack.findValue(s);
+if (ctx != null) {
+if (attribute == null) {
+boolean alreadyIn = false;
+Boolean b = (Boolean) ctx.get("__requestWrapper.getAttribute");
+if (b != null) {
+alreadyIn = b.booleanValue();
+}
+
+// note: we don't let # come through or else a request for
+// #attr.foo or #request.foo could cause an endless loop
+if (!alreadyIn &&