[CONF] Confluence Changes in the last 24 hours

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

-
Updated Spaces:
-

Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL
|
|-Pages Added or Edited in This Space
 |-- JMS was last edited by davsclaus (02:20 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/JMS

Apache Directory Server v1.5 (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- Cursors and Evaluators on Logical Disjunctions was last edited by 
akarasulu (12:37 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Cursors+and+Evaluators+on+Logical+Disjunctions

Apache Sling Website (SLINGxSITE) 
http://cwiki.apache.org/confluence/display/SLINGxSITE
|
|-Pages Added or Edited in This Space
 |-- Internationalization Support was last edited by fmeschbe (03:38 AM).
 |   
http://cwiki.apache.org/confluence/display/SLINGxSITE/Internationalization+Support

Apache Geronimo Project Management (GMOxPMGT) 
http://cwiki.apache.org/confluence/display/GMOxPMGT
|
|-Pages Added or Edited in This Space
 |-- Geronimo 2.1.1 release work items - status was last edited by jbohn (01:22 
PM).
 |   
http://cwiki.apache.org/confluence/display/GMOxPMGT/Geronimo+2.1.1+release+work+items+-+status
 |-- Geronimo release process was last edited by jdillon (01:30 AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxPMGT/Geronimo+release+process

Apache Wicket Website (WICKETxSITE) 
http://cwiki.apache.org/confluence/display/WICKETxSITE
|
|-Pages Added or Edited in This Space
 |-- ExampleAjaxCounter was last edited by seitz (01:34 PM).
 |   http://cwiki.apache.org/confluence/display/WICKETxSITE/ExampleAjaxCounter

Apache Tuscany (TUSCANY) http://cwiki.apache.org/confluence/display/TUSCANY
|
|-Pages Added or Edited in This Space
 |-- Projects Using Tuscany was last edited by [EMAIL PROTECTED] (11:30 PM).
 |   http://cwiki.apache.org/confluence/display/TUSCANY/Projects+Using+Tuscany
 |-- Making releases was last edited by [EMAIL PROTECTED] (08:41 PM).
 |   http://cwiki.apache.org/confluence/display/TUSCANY/Making+releases

Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET
|
|-Pages Added or Edited in This Space
 |-- Wicket Community meetups - Amsterdam was last edited by asiandiver (02:29 
PM).
 |   
http://cwiki.apache.org/confluence/display/WICKET/Wicket+Community+meetups+-+Amsterdam

Apache Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX
|
|-Pages Added or Edited in This Space
 |-- iPOJO Ant Task was last edited by clement.escoffier (03:33 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/iPOJO+Ant+Task

Apache Qpid (qpid) http://cwiki.apache.org/confluence/display/qpid
|
|-Pages Added or Edited in This Space
 |-- roadmap was last edited by cctrieloff (06:16 PM).
 |   http://cwiki.apache.org/confluence/display/qpid/roadmap
 |-- Getting Involved was last edited by cctrieloff (05:53 PM).
 |   http://cwiki.apache.org/confluence/display/qpid/Getting+Involved

Apache Jackrabbit (JCR) http://cwiki.apache.org/confluence/display/JCR
|
|-Pages Added or Edited in This Space
 |-- Welcome to Apache Jackrabbit was last edited by jukka (04:07 AM).
 |   http://cwiki.apache.org/confluence/display/JCR/Welcome+to+Apache+Jackrabbit
 |-- Creating Releases was created by fmeschbe (03:04 AM).
 |   http://cwiki.apache.org/confluence/display/JCR/Creating+Releases
 |-- Jackrabbit Configuration was last edited by thomasm (01:47 AM).
 |   http://cwiki.apache.org/confluence/display/JCR/Jackrabbit+Configuration
 |-- Navigation was last edited by fmeschbe (01:07 AM).
 |   http://cwiki.apache.org/confluence/display/JCR/Navigation

Apache ServiceMix (SM) http://cwiki.apache.org/confluence/display/SM
|
|-Pages Added or Edited in This Space
 |-- Components list was last edited by bsnyder (08:33 AM).
 |   http://cwiki.apache.org/confluence/display/SM/Components+list
 |-- Importing ServiceMix into Eclipse was last edited by [EMAIL PROTECTED] 
(01:21 AM).
 |   
http://cwiki.apache.org/confluence/display/SM/Importing+ServiceMix+into+Eclipse

Tuscany Wiki (TUSCANYWIKI) 
http://cwiki.apache.org/confluence/display/TUSCANYWIKI
|
|-Pages Added or Edited in This Space
 |-- SDOMenu in Chinese was created by [EMAIL PROTECTED] (11:50 PM).
 |   http://cwiki.apache.org/confluence/display/TUSCANYWIKI/SDOMenu+in+Chinese
 |-- DASMenu in Chinese was created by [EMAIL PROTECTED] (11:51 PM).
 |   http://cwiki.apache.org/confluence/display/TUSCANYWIKI/DASMenu+in+Chinese
 |-- Menu in Chinese was created by [EMAIL PROTECTED] (11:00 PM).
 |   http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Menu+in+Chinese
 |-- SCAMenu in Chinese was created by [EMAIL PROTECTED] (11:48 PM).
 |   http://cwiki.apache.org/confluence/display/TUSCANYWIKI/SCAMenu+in+Chinese
 |-- Apache Tu

Issues Closed: week of 2008-03-28

2008-03-28 Thread dblevins

Struts2 - Friday, March 28, 2008

  2 closed in last 7 days

[WW-1673] Performance issues regarding ognl library
  - Type: Improvement
  - Assignee: Tom Schneider
  - Components: []
  - Fix Versions: [2.0.7]
  - http://issues.apache.org/struts/browse/WW-1673

[WW-2505] Tag does not support Dojo specified field name, like "dojoType"
  - Type: Improvement
  - Assignee: Unassigned
  - Components: [Plugin - Dojo Tags]
  - Fix Versions: []
  - http://issues.apache.org/struts/browse/WW-2505



[Struts Wiki] Update of "StrutsTutorials" by hem1234

2008-03-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 hem1234:
http://wiki.apache.org/struts/StrutsTutorials

--
  [http://www.javapassion.com/handsonlabs/strutsbasics/ Struts Lab] by Sang 
Shin (based on Struts 1.2.9)
  
  [http://www.learntechnology.net/ learntechnology.net] Various Struts 1.x 
Lessons by Rick Reumann
+ 
+ [http://www.roseindia.net/struts/ Apache Struts Tutorials] A complete 
reference of Jakarta Struts shows how to develop Struts applications using Ant 
and deploy on the JBoss application server.
  
  [http://wiki.apache.org/struts/StrutsBook Struts Good Practices ] Online book 
- 
  


svn commit: r642295 - /struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DateTagTest.java

2008-03-28 Thread hermanns
Author: hermanns
Date: Fri Mar 28 10:10:25 2008
New Revision: 642295

URL: http://svn.apache.org/viewvc?rev=642295&view=rev
Log:
WW-2421 Fixing test failure in DateTestTag if calculated year is a leap year

Modified:

struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DateTagTest.java

Modified: 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DateTagTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DateTagTest.java?rev=642295&r1=642294&r2=642295&view=diff
==
--- 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DateTagTest.java
 (original)
+++ 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/DateTagTest.java
 Fri Mar 28 10:10:25 2008
@@ -229,6 +229,7 @@
 Calendar future = Calendar.getInstance();
 future.setTime(now);
 future.add(Calendar.YEAR, 2);
+future.add(Calendar.DATE, 1);
 future.add(Calendar.SECOND, 5); // always add a little slack otherwise 
we could calculate wrong
 
 context.put("myDate", future.getTime());




[Struts Wiki] Update of "HDIV" by Roberto Velasco

2008-03-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 Roberto Velasco:
http://wiki.apache.org/struts/HDIV

--
  
  Obviously, in this case the use of HDIV is not transparent as it is when we 
use the extended tags. Anyway, the validation phase made by the HDIV filter 
doesn't change in any case.
  
+ 
+ = SPI (ParameterProcessing) Integration =
+ 
+ '''HDIV team:''' As we mentioned earlier, from our point of view it is more 
adecuate to integrate HDIV with Struts via SPI due to the following reasons:
+ 
+  * We avoid a direct dependency between Struts and HDIV.
+  * Offers an extension point for Struts tags that can be used for other 
projects apart from the ones related with security or HDIV.
+ 
+ The new extension point provided by the SPI offers these functionalities:
+  * Add new parameters to forms and links
+  * Modify the value of the parameters
+  * Modify the name of the parameters
+ 
+ The SPI could be used for both Struts 1 and Struts 2. Being defined in a so 
high level it could be used for any web framework, although this  
+ would be a secondary objective.
+ 
+ In order to support the SPI option, we have developed the following software 
components:
+   1.  SPI
+   2.  Struts 1.3.8 tags' version using the SPI
+   3.  Two implementations of the SPI: empty and HDIV's implementation
+   4.  Web application using these new components: struts-examples
+ 
+ The SPI, the new version of SPI-consuming tags and the empty SPI 
implementation would be part of Struts, without any HDIV dependency. In the 
case of Struts 2, a new version of tags must be implemented. We could implement 
it if necessary.
+ As an additional information, we describe more deeply each of the developed 
components:
+ 
+ 
+  1.SPI 
+ It is consumed by the HTML tags in order to offer extension points and extend 
tag's core behaviour. Thus, we avoid extending each tag separately. The name of 
the SPI is ParameterProcessing and this is its definition:
+ 
+ 
+ {{{
+ 
+ package org.apache.struts.config;
+ 
+ import java.util.Map;
+ import javax.servlet.http.HttpServletRequest;
+ 
+ /**
+  * 
+  * It is consumed by the HTML tags in order to offer extension points and 
extend
+  * tag's core behaviour.
+  * 
+  * 
+  * Struts will distribute one implementation of this interface maintaining
+  * present behaviour: org.apache.struts.config.impl.EmptyParameterProcessing. 
It
+  * doesn't process any form or link parameter, leaving values as they are
+  * received as parameters.
+  * 
+  * 
+  * By default, Struts will be configured to use HDIV's implementation
+  * (org.hdiv.config.impl.HDIVParameterProcessing) which guarantees data 
integrity
+  * and confidentiality.
+  * 
+  * 
+  * @author hdiv.org
+  */
+ public interface ParameterProcessing {
+ 
+   /**
+* Init method.
+* 
+* @param request The servlet request we are processing
+*/
+   public void init(HttpServletRequest request);
+ 
+   /**
+* 
+* It is called by each form of the html page returned by the server. 
The
+* value returned by this method will be the value assigned to the 
form's
+* "action" attribute.
+* 
+* 
+* @param action Action value.
+* @return Returns the value of form´s "action" attribute
+*/
+   public String processStartForm(String action);
+ 
+   /**
+* 
+* It is called each time the "name" attribute of the form parameter 
needs
+* to be rendered. The value returned by this method will be the value
+* assigned to the form's "name" attribute.
+* 
+* 
+* @param name HTTP parameter name
+* @param type parameter's type (select, radio, hidden, etc.). Most of 
the
+* times the value for this parameter is the value of the tag's "type"
+* attribute. Sometimes it is needed to explicitly indicate the type
+* parameter, because some HTML tags lack it.
+* @return Value for the "name" attribute for the name
+* parameter.
+*/
+   public String processFormParameterName(String name, String type);
+   
+ /**
+* 
+* It is called each time the "value" attribute of the form parameter 
needs
+* to be rendered. The value returned by this method will be the value
+* assigned to the form's "value" attribute.
+* 
+* 
+* In the default implementation configured by Struts, it generates a 
new
+* encoded value for the parameter name and the value
+* value passed as parameters. The returned value 
guarantees
+* the confidentiality in the cipher and memory strategies if
+* confidentiality is activated.
+* 
+* 
+* @param name HTTP 

[Struts Wiki] Trivial Update of "HDIV" by Roberto Velasco

2008-03-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 Roberto Velasco:
http://wiki.apache.org/struts/HDIV

--
  
   4.   Web application using these new components: struts-examples 
  
- We have configured the struts-examples application provided with the Struts 
1.3.8 distribution to make it use different SPI implementations.
+ We have configured the struts-examples application ( 
attachment:struts-examples-1.3.8.war )provided with the Struts 1.3.8 
distribution to make it use different SPI implementations.
   * Default SPI configuration: No implementation has been configured for 
“/exercise”, “/upload” and “/hdiv” modules. This means that SPI’s 
default implementation (HDIVParameterProcessing) will be used, which guarantees 
data integrity  and confidentiality.
  
  
@@ -516, +516 @@

  
  }}}
  
- 


svn commit: r642323 - in /struts/struts2/trunk: apps/mailreader/src/main/webapp/ apps/showcase/src/main/java/org/apache/struts2/showcase/token/ core/src/main/java/org/apache/struts2/interceptor/ core/

2008-03-28 Thread hermanns
Author: hermanns
Date: Fri Mar 28 11:07:22 2008
New Revision: 642323

URL: http://svn.apache.org/viewvc?rev=642323&view=rev
Log:
Update all S2 Wiki docs and S2/XW JavaDocs to reflect camelCase interceptor and 
result names.

Issue Number: WW-2491

Modified:
struts/struts2/trunk/apps/mailreader/src/main/webapp/tour.html

struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/token/TokenAction.java

struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ActionMappingParametersInteceptor.java
struts/struts2/trunk/core/src/main/resources/struts-default.xml

struts/struts2/trunk/core/src/test/java/org/apache/struts2/TestConfigurationProvider.java

struts/struts2/trunk/plugins/config-browser/src/main/resources/struts-plugin.xml
struts/struts2/trunk/plugins/rest/src/main/resources/struts-plugin.xml

Modified: struts/struts2/trunk/apps/mailreader/src/main/webapp/tour.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/mailreader/src/main/webapp/tour.html?rev=642323&r1=642322&r2=642323&view=diff
==
--- struts/struts2/trunk/apps/mailreader/src/main/webapp/tour.html (original)
+++ struts/struts2/trunk/apps/mailreader/src/main/webapp/tour.html Fri Mar 28 
11:07:22 2008
@@ -1462,7 +1462,7 @@
   
   
   
-  
+  
   
   
   

Modified: 
struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/token/TokenAction.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/token/TokenAction.java?rev=642323&r1=642322&r2=642323&view=diff
==
--- 
struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/token/TokenAction.java
 (original)
+++ 
struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/token/TokenAction.java
 Fri Mar 28 11:07:22 2008
@@ -26,7 +26,7 @@
 import com.opensymphony.xwork2.ActionSupport;
 
 /**
- * Example to illustrate the token and token-session 
interceptor.
+ * Example to illustrate the token and tokenSession 
interceptor.
  *
  */
 public class TokenAction extends ActionSupport {

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ActionMappingParametersInteceptor.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ActionMappingParametersInteceptor.java?rev=642323&r1=642322&r2=642323&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ActionMappingParametersInteceptor.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ActionMappingParametersInteceptor.java
 Fri Mar 28 11:07:22 2008
@@ -63,7 +63,7 @@
  * 
  * 
  * 
- * 
+ * 
  * good_result.ftl
  * 
  * 

Modified: struts/struts2/trunk/core/src/main/resources/struts-default.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/struts-default.xml?rev=642323&r1=642322&r2=642323&view=diff
==
--- struts/struts2/trunk/core/src/main/resources/struts-default.xml (original)
+++ struts/struts2/trunk/core/src/main/resources/struts-default.xml Fri Mar 28 
11:07:22 2008
@@ -202,7 +202,7 @@
 
 
 
-

[Struts Wiki] Update of "HDIV" by Roberto Velasco

2008-03-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 Roberto Velasco:
http://wiki.apache.org/struts/HDIV

The comment on the change is:
SPI implementation source code and  example application war

--
  
  }
  
- 
- 
- 
  }}}
+ 
+ 
+ Source code: attachment:struts-core-1.3.8-ParameterProcessing-sources
  
   2.Struts 1.3.8 tags' version using the SPI 
  
@@ -491, +491 @@

  
  In this case, we invoke '''processStartForm''' method to get the value for 
the "action" attribute in the form. And before the end of the form, we invoke 
'''getExtraFormParameters''' method to get the extra parameters to be added to 
the form. For instance, parameters for controlling the application's flow like 
_flowExecutionKey in Spring Web Flow, random token to avoid CSRF attacks, and 
_HDIV_STATE_ parameter to guarantee integrity and confidentiality.
  
+ Source code: attachment:struts-taglib-1.3.8-ParameterProcessing-sources 
+ 
+ 
   3.   Two implementations of the SPI 
  
   * empty (EmptyParameterProcessing): it maintains the Struts' present 
behaviour.