[CONF] Confluence Changes in the last 24 hours

2008-12-28 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

Apache Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX
|
|-Pages Added or Edited in This Space
 |-- Developing Camel mediators with iPOJO was created by clement.escoffier 
(10:34 AM).
 |   
http://cwiki.apache.org/confluence/display/FELIX/Developing+Camel+mediators+with+iPOJO
 |-- iPOJO-Arch-Command was created by clement.escoffier (01:03 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/iPOJO-Arch-Command
 |-- White Board Pattern Handler was last edited by clement.escoffier (02:33 
AM).
 |   
http://cwiki.apache.org/confluence/display/FELIX/White+Board+Pattern+Handler
 |-- iPOJO-Reference-Card was last edited by clement.escoffier (02:32 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/iPOJO-Reference-Card
 |-- Architecture Handler was last edited by clement.escoffier (01:11 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/Architecture+Handler
 |-- apache-felix-ipojo-menu was last edited by clement.escoffier (01:09 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/apache-felix-ipojo-menu

Apache Directory Server v1.5 (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- 5.8. DHCP Protocol Provider was last edited by elecharny (01:56 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/5.8.+DHCP+Protocol+Provider
 |-- 5.7. NTP Protocol Provider was last edited by elecharny (01:56 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/5.7.+NTP+Protocol+Provider
 |-- 5.6. DNS Protocol Provider was last edited by elecharny (01:55 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/5.6.+DNS+Protocol+Provider
 |-- 5.5. Change Password Protocol Provider was last edited by elecharny (01:55 
PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/5.5.+Change+Password+Protocol+Provider
 |-- 5.4. Kerberos Protocol Provider was last edited by elecharny (01:54 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/5.4.+Kerberos+Protocol+Provider
 |-- 5.3. LDAP Protocol Provider was last edited by elecharny (01:53 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/5.3.+LDAP+Protocol+Provider
 |-- 5.2 Common Parameters for Configuration was last edited by elecharny 
(01:52 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/5.2+Common+Parameters+for+Configuration
 |-- 1.4.1 Configuration of ApacheDS with Spring was last edited by elecharny 
(02:41 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/1.4.1+Configuration+of+ApacheDS+with+Spring

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- Version Notes 2.1.3 was last edited by musachy (01:25 PM).
 |   http://cwiki.apache.org/confluence/display/WW/Version+Notes+2.1.3
 |-- Version Notes 2.1.4 was created by musachy (01:23 PM).
 |   http://cwiki.apache.org/confluence/display/WW/Version+Notes+2.1.4
 |-- Migration Guide was last edited by musachy (01:18 PM).
 |   http://cwiki.apache.org/confluence/display/WW/Migration+Guide

Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET
|
|-Pages Added or Edited in This Space
 |-- Companies that provide services was last edited by studiom2j (10:15 AM).
 |   
http://cwiki.apache.org/confluence/display/WICKET/Companies+that+provide+services
 |-- DropDownChoice Examples was last edited by timo.aro...@iki.fi (07:54 AM).
 |   http://cwiki.apache.org/confluence/display/WICKET/DropDownChoice+Examples


-
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




[Struts Wiki] Update of "StrutsConsultants" by ThomasSalonek

2008-12-28 Thread Apache Wiki
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 ThomasSalonek:
http://wiki.apache.org/struts/StrutsConsultants

--
   *  Free Range Data -- http://www.freerangedata.com
   *  From Down & Around, Inc. (Boston, MA) -- http://www.fdar.com
   *  Ian Roughley (Struts committer) -- mailto:i...@fdar.com
+  *  Intertech -- http://www.intertech.com
   *  iPath Solutions -- http://www.ipathsolutions.com
   *  IVJR -- http://www.ivjr.com
   *  Jade Cove Solutions (Atlanta) -- http://www.jadecove.com


svn commit: r729832 - in /struts/struts1/trunk/core/src/main/java/org/apache/struts: chain/commands/ dispatcher/ dispatcher/servlet/

2008-12-28 Thread pbenedict
Author: pbenedict
Date: Sun Dec 28 21:12:58 2008
New Revision: 729832

URL: http://svn.apache.org/viewvc?rev=729832&view=rev
Log:
STR-3168: Refactor out method resolution, set mapping parameter default to 
execute, delete static utils, replace tabs with spaces

Added:

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/AbstractMethodResolver.java
   (with props)

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/MethodResolver.java
   (with props)

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/servlet/ServletMethodResolver.java
   (with props)
Removed:

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/servlet/ServletDispatchUtils.java
Modified:

struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/commands/ExecuteDispatcher.java

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/AbstractDispatcher.java

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/AbstractEventMappingDispatcher.java

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/AbstractMappingDispatcher.java

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/AbstractParameterDispatcher.java

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/servlet/ServletEventMappingDispatcher.java

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/servlet/ServletMappingDispatcher.java

struts/struts1/trunk/core/src/main/java/org/apache/struts/dispatcher/servlet/ServletParameterDispatcher.java

Modified: 
struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/commands/ExecuteDispatcher.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/commands/ExecuteDispatcher.java?rev=729832&r1=729831&r2=729832&view=diff
==
--- 
struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/commands/ExecuteDispatcher.java
 (original)
+++ 
struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/commands/ExecuteDispatcher.java
 Sun Dec 28 21:12:58 2008
@@ -51,65 +51,85 @@
  * @see ClassUtils#getApplicationInstance(String)
  */
 protected Dispatcher createDispatcher(String type, ActionContext context) 
throws Exception {
-   log.info("Initializing dispatcher of type: " + type);
-   return (Dispatcher) ClassUtils.getApplicationInstance(type);
+log.info("Initializing dispatcher of type: " + type);
+return (Dispatcher) ClassUtils.getApplicationInstance(type);
 }
 
 public boolean execute(ActionContext context) throws Exception {
-   // Skip processing if the current request is not valid
-   Boolean valid = context.getFormValid();
-   if ((valid == null) || !valid.booleanValue()) {
-   return CONTINUE_PROCESSING;
-   }
+// Skip processing if the current request is not valid
+Boolean valid = context.getFormValid();
+if ((valid == null) || !valid.booleanValue()) {
+return CONTINUE_PROCESSING;
+}
 
 // Skip processing if no action is specified
 if (context.getAction() == null) {
 return CONTINUE_PROCESSING;
 }
 
-   // Skip processing if no dispatcher type specified
-   String dispatcherType = getDispatcherType(context);
-   if (dispatcherType == null) {
-   return CONTINUE_PROCESSING;
-   }
-
-   // Obtain (or create) the dispatcher cache
-   String cacheKey = Constants.DISPATCHERS_KEY + 
context.getModuleConfig().getPrefix();
-   Map dispatchers = (Map) context.getApplicationScope().get(cacheKey);
-   if (dispatchers == null) {
-   dispatchers = new HashMap();
-   context.getApplicationScope().put(cacheKey, dispatchers);
-   }
-
-   // Lookup (or create) the dispatch instance
-   Dispatcher dispatcher = null;
-   synchronized (dispatchers) {
-   ActionConfig actionConfig = context.getActionConfig();
-   String actionType = actionConfig.getType();
-   dispatcher = (Dispatcher) dispatchers.get(actionType);
-   if (dispatcher == null) {
-   dispatcher = createDispatcher(dispatcherType, context);
-   dispatchers.put(actionType, dispatcher);
-   }
-   }
-
-   // Dispatch
-   Object result = dispatcher.dispatch(context);
-   processDispatchResult(result, context);
+// Skip processing if no dispatcher type specified
+String dispatcherType = getDispatcherType(context);
+if (dispatcherType == null) {
+dispatcherType = defaultDispatcherType;
+if (dispatcherType == null) {
+return CONTINUE_PROCESSING;
+}
+}
+
+// Obtain (or create) the dispatcher cache
+String cacheKey = Constants.DISPATCHERS_KEY + 
context.ge