[CONF] Confluence Changes in the last 24 hours

2006-11-26 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

OpenJPA (openjpa) http://cwiki.apache.org/confluence/display/openjpa
|
|-Pages Added or Edited in This Space
 |-- Powered By was last edited by mprudhom (11:55 AM).
 |   http://cwiki.apache.org/confluence/display/openjpa/Powered+By

Apache Directory Server v1.1 Documentation (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- Replication Requirements was created by akarasulu (09:19 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Replication+Requirements
 |-- Mitosis was last edited by akarasulu (09:04 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/Mitosis
 |-- MetaSchema was last edited by elecharny (06:48 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/MetaSchema
 |-- core ObjectClasses was created by elecharny (06:47 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/core+ObjectClasses
 |-- system ObjectClasses was created by elecharny (06:45 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/system+ObjectClasses

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- Release Notes 2.0.2 was last edited by husted (08:29 AM).
 |   http://cwiki.apache.org/confluence/display/WW/Release+Notes+2.0.2

Apache Directory Server v1.0 Documentation (DIRxSRVx10) 
http://cwiki.apache.org/confluence/display/DIRxSRVx10
|
|-Pages Added or Edited in This Space
 |-- Tomcat was last edited by ck (04:34 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx10/Tomcat
 |-- Apache was created by ck (03:04 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx10/Apache
 |-- ApacheDS v1.0 Basic User's Guide was last edited by szoerner (01:50 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/ApacheDS+v1.0+Basic+User%27s+Guide
 |-- Basic configuration tasks was last edited by szoerner (01:47 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/Basic+configuration+tasks


-
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




svn commit: r479382 - in /struts/site/src/site/fml: kickstart.fml roadmap.fml

2006-11-26 Thread husted
Author: husted
Date: Sun Nov 26 09:24:51 2006
New Revision: 479382

URL: http://svn.apache.org/viewvc?view=rev&rev=479382
Log:
WW-1458 Update FAQs. Drop obsolete question meant for Shale. Add "s2 stable" 
question. Add five reasons to migrate, or not.

Modified:
struts/site/src/site/fml/kickstart.fml
struts/site/src/site/fml/roadmap.fml

Modified: struts/site/src/site/fml/kickstart.fml
URL: 
http://svn.apache.org/viewvc/struts/site/src/site/fml/kickstart.fml?view=diff&rev=479382&r1=479381&r2=479382
==
--- struts/site/src/site/fml/kickstart.fml (original)
+++ struts/site/src/site/fml/kickstart.fml Sun Nov 26 09:24:51 2006
@@ -34,8 +34,12 @@
 
 
 
-The main Struts web site covers the latest, unreleased version of 
-each major release series (Struts 1.3 and Struts 2.0). 
+The main Struts web site includes documentation for the latest 
+"General Availability" release in each major release series. 
+The development section of the site inclues draft documentation 
+for upcoming releases. 
+If you are just getting started, focus on the latest General 
+Availability release, 
 Documentation for past  releases
 is also available.
 

Modified: struts/site/src/site/fml/roadmap.fml
URL: 
http://svn.apache.org/viewvc/struts/site/src/site/fml/roadmap.fml?view=diff&rev=479382&r1=479381&r2=479382
==
--- struts/site/src/site/fml/roadmap.fml (original)
+++ struts/site/src/site/fml/roadmap.fml Sun Nov 26 09:24:51 2006
@@ -92,8 +92,6 @@
   http://wiki.apache.org/struts/StrutsShale";>Shale,
   and then
   http://wiki.apache.org/struts/StrutsTi";>Ti.
-
-
   Jericho never progressed past the trial balloon stage.
   Shale is based on JavaServer Faces, and, when the time came,
   the Apache Struts PMC found that many of us were not ready to
@@ -119,6 +117,10 @@
the http://struts.apache.org/announce.html#a20051214.3";>
Apache Struts/OpenSymphony WebWork merger arose.

+   
+For additional background, see 
+http://www.oreillynet.com/onjava/blog/2006/10/my_history_of_struts_2.html";>My
 History of Struts 2.
+   
 
 
 
@@ -140,83 +142,7 @@
 
 
 
-
-What should I use with my next project?
-
-
-
-First, if you are a sole developer working on a small 
application,
-you might not even need a framework.
-Simple applications can be written with JSF or JSP with
-http://java.sun.com/products/jsp/jstl/index.jsp";>
-JSTL
-"out of the box."
-(If you choose JSF, be sure to give
-http://developers.sun.com/prodtech/javatools/jscreator/";>
-Java Studio Creator
-a try.)
-
-
-Multi-developer teams working on larger applications will
-probably find a MVC framework useful.  
-
-
-When choosing a framework, two key considerations are 
-which user interface technology and which version of Java 
-you would like to use.
-Popular user interface technologies include 
-http://java.sun.com/j2ee/javaserverfaces/";>JavaServer
-Faces
-(JSF), conventional
-http://java.sun.com/products/jsp/";>JavaServer 
Pages
-(JSP),
-and templating technologies like
-http://jakarta.apache.org/velocity/";>Velocity.
-Another popular UI technology to consider is 
-http://www.adaptivepath.com/publications/essays/archives/000385.php";>
-AJAX.
-
-
-(For more about the technologies underlying modern web 
-applications, see the 
-
-Key Technologies primer.)
-
-
-While both Struts 1 and 2 support JSP, Velocity, and XSLT, 
-Struts 2 has better support for JSF and first-class support
-for template engines like Velocity and 
-http://www.freemarker.org/";>FreeMarker,
-and, optionally, 
-

svn commit: r479396 - in /struts/struts2/trunk/apps/mailreader/src/main: java/mailreader-default.xml java/mailreader2/MailreaderSupport.properties java/struts.properties java/struts.xml webapp/Registr

2006-11-26 Thread husted
Author: husted
Date: Sun Nov 26 10:32:24 2006
New Revision: 479396

URL: http://svn.apache.org/viewvc?view=rev&rev=479396
Log:
WW-1458 Update mailreader to use constant configuration and latest tag idioms. 

Removed:
struts/struts2/trunk/apps/mailreader/src/main/java/struts.properties
Modified:
struts/struts2/trunk/apps/mailreader/src/main/java/mailreader-default.xml

struts/struts2/trunk/apps/mailreader/src/main/java/mailreader2/MailreaderSupport.properties
struts/struts2/trunk/apps/mailreader/src/main/java/struts.xml
struts/struts2/trunk/apps/mailreader/src/main/webapp/Registration.jsp
struts/struts2/trunk/apps/mailreader/src/main/webapp/Subscription.jsp
struts/struts2/trunk/apps/mailreader/src/main/webapp/tour.html

Modified: 
struts/struts2/trunk/apps/mailreader/src/main/java/mailreader-default.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/mailreader/src/main/java/mailreader-default.xml?view=diff&rev=479396&r1=479395&r2=479396
==
--- struts/struts2/trunk/apps/mailreader/src/main/java/mailreader-default.xml 
(original)
+++ struts/struts2/trunk/apps/mailreader/src/main/java/mailreader-default.xml 
Sun Nov 26 10:32:24 2006
@@ -33,7 +33,7 @@
 
 /pages/Error.jsp
 /pages/Error.jsp
-Login!input
+Login_input
 
 
 

Modified: 
struts/struts2/trunk/apps/mailreader/src/main/java/mailreader2/MailreaderSupport.properties
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/mailreader/src/main/java/mailreader2/MailreaderSupport.properties?view=diff&rev=479396&r1=479395&r2=479396
==
--- 
struts/struts2/trunk/apps/mailreader/src/main/java/mailreader2/MailreaderSupport.properties
 (original)
+++ 
struts/struts2/trunk/apps/mailreader/src/main/java/mailreader2/MailreaderSupport.properties
 Sun Nov 26 10:32:24 2006
@@ -55,25 +55,28 @@
 option.imap=IMAP Protocol
 option.pop3=POP3 Protocol
 # prompt.
-autoConnect=Auto Connect
-fromAddress=From Address
-fullName=Full Name
-mailHostname=Mail Server
-mailPassword=Mail Password
-mailServerType=Server Type
-mailUsername=Mail Username
+host=Mail Server
 password=Password
 password2=(Repeat) Password
-replyToAddress=Reply To Address
 username=Username
+
 registration.addSubscription=Add
 registration.deleteSubscription=Delete
 registration.editSubscription=Edit
 registration.title.create=Register for the MailReader Demonstration Application
 registration.title.edit=Edit Registration for the MailReader Demonstration 
Application
+
+subscription.autoConnect=Auto Connect
+subscription.password=Mail Password
+subscription.type=Server Type
+subscription.username=Mail Username
 subscription.title.create=Create New Mail Subscription
 subscription.title.delete=Delete Existing Mail Subscription
 subscription.title.edit=Edit Existing Mail Subscription
+
+user.fromAddress=From Address
+user.fullName=Full Name
+user.replyToAddress=Reply To Address
 
 # Standard error messages for validator framework checks
 errors.required=${getText(fieldName)} is required.

Modified: struts/struts2/trunk/apps/mailreader/src/main/java/struts.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/mailreader/src/main/java/struts.xml?view=diff&rev=479396&r1=479395&r2=479396
==
--- struts/struts2/trunk/apps/mailreader/src/main/java/struts.xml (original)
+++ struts/struts2/trunk/apps/mailreader/src/main/java/struts.xml Sun Nov 26 
10:32:24 2006
@@ -5,6 +5,11 @@
 
 
 
+
+
+
+
+
 
 
 

Modified: struts/struts2/trunk/apps/mailreader/src/main/webapp/Registration.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/mailreader/src/main/webapp/Registration.jsp?view=diff&rev=479396&r1=479395&r2=479396
==
--- struts/struts2/trunk/apps/mailreader/src/main/webapp/Registration.jsp 
(original)
+++ struts/struts2/trunk/apps/mailreader/src/main/webapp/Registration.jsp Sun 
Nov 26 10:32:24 2006
@@ -14,7 +14,7 @@
   type="text/css"/>
 
 
-
+
 
 
 
@@ -29,31 +29,20 @@
 
 
 
-
 
-
-
-
-
-
-
+
+
+
 
 
 
-
 
-
 
 
 
 
-
 
-
 
 

Modified: struts/struts2/trunk/apps/mailreader/src/main/webapp/Subscription.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/mailreader/src/main/webapp/Subscription.jsp?view=diff&rev=479396&r1=479395&r2=479396
==
--- struts/struts2/trunk/apps/mailreader/src/main/webapp/Subscription.jsp 
(original)
+++ struts/struts2/trunk/apps/mailreader/src/main/webapp/Subscription.jsp Sun 
Nov 26 10:32:24 2006
@@ -26,33 +26,25 @@
 
 
 
-
+  

svn commit: r479495 - in /struts/struts2/trunk/core/src: main/java/org/apache/struts2/config/MethodConfigurationProvider.java main/java/org/apache/struts2/dispatcher/Dispatcher.java test/java/org/apac

2006-11-26 Thread husted
Author: husted
Date: Sun Nov 26 17:56:16 2006
New Revision: 479495

URL: http://svn.apache.org/viewvc?view=rev&rev=479495
Log:
WW-1522 "Automatic Alias ActionConfigs" - Add prototype tests and class before 
continuing with implementation.

Added:

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

struts/struts2/trunk/core/src/test/java/org/apache/struts2/config/MethodConfigurationProviderTest.java
Modified:

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

Added: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/MethodConfigurationProvider.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/MethodConfigurationProvider.java?view=auto&rev=479495
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/MethodConfigurationProvider.java
 (added)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/MethodConfigurationProvider.java
 Sun Nov 26 17:56:16 2006
@@ -0,0 +1,55 @@
+package org.apache.struts2.config;
+
+import com.opensymphony.xwork2.config.ConfigurationProvider;
+import com.opensymphony.xwork2.config.Configuration;
+import com.opensymphony.xwork2.config.ConfigurationException;
+import com.opensymphony.xwork2.inject.ContainerBuilder;
+import com.opensymphony.xwork2.util.location.LocatableProperties;
+
+
+/**
+ * MethodConfigurationProvider creates ActionConfigs for potential action
+ * methods without a corresponding action.
+ * 
+ * The provider iterates over the set of namespaces and the set of actionNames
+ * in a Configuration and retrieves each ActionConfig.
+ * For each ActionConfig that invokes the default "execute" method,
+ * the provider inspects the className class for other non-void,
+ * no-argument methods that do not begin with "get".
+ * For each qualifying method, the provider looks for another actionName in
+ * the same namespace that equals action.name + "!" + method.name.
+ * If that actionName is not found, System copies the ActionConfig,
+ * changes the method property, and adds it to the package configuration
+ * under the new actionName (action!method).
+ * 
+ * The system ignores ActionConfigs with a method property set so as to
+ * avoid creating alias methods for alias methods.
+ * The system ignores "get" methods since these would appeare to be
+ * JavaBeans property and would not be intended as action methods.  
+ *
+ *
+ * starts with default "execute" ActionConfigs so that an
+ * application can provide its own alias methods too.
+ */
+public class MethodConfigurationProvider  implements ConfigurationProvider {
+
+public void destroy() {
+// TODO
+}
+
+public void init(Configuration configuration) throws 
ConfigurationException {
+// TODO
+}
+
+public void register(ContainerBuilder containerBuilder, 
LocatableProperties locatableProperties) throws ConfigurationException {
+// TODO
+}
+
+public void loadPackages() throws ConfigurationException {
+// TODO
+}
+
+public boolean needsReload() {
+return false;   // TODO
+}
+}

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java?view=diff&rev=479495&r1=479494&r2=479495
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
 Sun Nov 26 17:56:16 2006
@@ -276,22 +276,11 @@
configurationManager = null;
 }
 
-/**
- * Load configurations, including both XML and zero-configuration 
strategies,
- * and update optional settings, including whether to reload 
configurations and resource files. 
- */
-public void init() {
-
-   if (configurationManager == null) {
-   configurationManager = new 
ConfigurationManager(BeanSelectionProvider.DEFAULT_BEAN_NAME);
-   }
-
-   // 1] Configuration: legacy properties file (struts.properties)
+private void init_LegacyStrutsProperties() {
 configurationManager.addConfigurationProvider(new 
LegacyPropertiesConfigurationProvider());
-
-
-// 2] Configuration: traditional xml configuration (eg. 
struts-default.xml, struts-plugin.xml, struts.xml)
-// Load traditional xml configuration
+}
+
+private void init_TraditionalXmlConfigurations() {
 String configPaths = initParams.get("config");
 if (configPaths == null) {
 configPaths = DEFAULT_CONFIGURATION_PATHS;
@@ -308,9 +297,9 @@
 throw new IllegalArgumentException("