[CONF] Confluence Changes in the last 24 hours

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

-
Updated Spaces:
-

Apache Directory Server v1.5 (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- 3.3. How to enable SSL was last edited by szoerner (11:15 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/3.3.+How+to+enable+SSL

Apache Struts 2 Plugin Registry (S2PLUGINS) 
http://cwiki.apache.org/confluence/display/S2PLUGINS
|
|-Pages Added or Edited in This Space
 |-- JSON Plugin was last edited by musachy (06:25 AM).
 |   http://cwiki.apache.org/confluence/display/S2PLUGINS/JSON+Plugin

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- table was last edited by musachy (01:58 PM).
 |   http://cwiki.apache.org/confluence/display/WW/table
 |-- Creating and Signing a Distribution was last edited by rainerh (12:47 PM).
 |   
http://cwiki.apache.org/confluence/display/WW/Creating+and+Signing+a+Distribution
 |-- Ajax and JavaScript Recipes was last edited by musachy (07:38 AM).
 |   http://cwiki.apache.org/confluence/display/WW/Ajax+and+JavaScript+Recipes

Apache Cayenne Documentation (CAYDOC) 
http://cwiki.apache.org/confluence/display/CAYDOC
|
|-Pages Added or Edited in This Space
 |-- EJBQLQuery was created by andrus (01:31 PM).
 |   http://cwiki.apache.org/confluence/display/CAYDOC/EJBQLQuery
 |-- Guide to 3.0 Features was last edited by andrus (01:32 PM).
 |   http://cwiki.apache.org/confluence/display/CAYDOC/Guide+to+3.0+Features
 |-- Queries was last edited by andrus (01:30 PM).
 |   http://cwiki.apache.org/confluence/display/CAYDOC/Queries
 |-- Introduction was last edited by andrus (01:26 PM).
 |   http://cwiki.apache.org/confluence/display/CAYDOC/Introduction

Apache Cayenne (CAY) http://cwiki.apache.org/confluence/display/CAY
|
|-Pages Added or Edited in This Space
 |-- Release 3.0 was last edited by andrus (01:25 PM).
 |   http://cwiki.apache.org/confluence/display/CAY/Release+3.0

Apache Tuscany (TUSCANY) http://cwiki.apache.org/confluence/display/TUSCANY
|
|-Pages Added or Edited in This Space
 |-- RDB DAS architecture guide was last edited by slaws (07:20 AM).
 |   
http://cwiki.apache.org/confluence/display/TUSCANY/RDB+DAS+architecture+guide
 |-- RDB DAS class diagram was created by slaws (07:18 AM).
 |   http://cwiki.apache.org/confluence/display/TUSCANY/RDB+DAS+class+diagram
 |-- SCA Java binding.jms was last edited by svkrish (03:59 AM).
 |   http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+binding.jms

Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET
|
|-Pages Added or Edited in This Space
 |-- Acegi and Wicket-auth-roles was last edited by [EMAIL PROTECTED] (06:00 
AM).
 |   
http://cwiki.apache.org/confluence/display/WICKET/Acegi+and+Wicket-auth-roles

Apache FTPServer Project (FTPSERVER) 
http://cwiki.apache.org/confluence/display/FTPSERVER
|
|-Pages Added or Edited in This Space
 |-- Releasing was created by ngn (04:39 AM).
 |   http://cwiki.apache.org/confluence/display/FTPSERVER/Releasing
 |-- Documentation was last edited by ngn (04:34 AM).
 |   http://cwiki.apache.org/confluence/display/FTPSERVER/Documentation

Apache Qpid (qpid) http://cwiki.apache.org/confluence/display/qpid
|
|-Pages Added or Edited in This Space
 |-- Reliability Requirements was last edited by aconway (10:05 AM).
 |   http://cwiki.apache.org/confluence/display/qpid/Reliability+Requirements

Apache ActiveMQ (ACTIVEMQ) http://cwiki.apache.org/confluence/display/ACTIVEMQ
|
|-Pages Added or Edited in This Space
 |-- How should I implement request response with JMS was last edited by 
jstrachan (11:58 PM).
 |   
http://cwiki.apache.org/confluence/display/ACTIVEMQ/How+should+I+implement+request+response+with+JMS
 |-- Team was last edited by jstrachan (11:26 AM).
 |   http://cwiki.apache.org/confluence/display/ACTIVEMQ/Team

Apache Geronimo v2.0 (GMOxDOC20) 
http://cwiki.apache.org/confluence/display/GMOxDOC20
|
|-Pages Added or Edited in This Space
 |-- RELEASE-NOTES-2.0-M6.TXT was last edited by hcunico (05:24 AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC20/RELEASE-NOTES-2.0-M6.TXT

Apache ServiceMix (SM) http://cwiki.apache.org/confluence/display/SM
|
|-Pages Added or Edited in This Space
 |-- 1. Beginner - Guided tour and core concepts was last edited by 
gertvanthienen (09:07 PM).
 |   
http://cwiki.apache.org/confluence/display/SM/1.+Beginner+-+Guided+tour+and+core+concepts
 |-- 2. Beginner - Using Maven to develop JBI applications was last edited by 
gertvanthienen (09:04 PM).
 |   
http://cwiki.apache.org/confluence/display/SM/2.+Beginner+-+Using+Maven+to+develop+JBI+applications
 |-- 1.4. Beginner - Running the wsdl-first example was last edite

svn commit: r546563 - /struts/struts2/trunk/core/src/main/resources/template/simple/datetimepicker.ftl

2007-06-12 Thread musachy
Author: musachy
Date: Tue Jun 12 09:27:51 2007
New Revision: 546563

URL: http://svn.apache.org/viewvc?view=rev&rev=546563
Log:
Delete datetimepicker.ftl which was moved to the Dojo plugin

Removed:

struts/struts2/trunk/core/src/main/resources/template/simple/datetimepicker.ftl



svn commit: r546565 - in /struts/struts2/trunk/core/src/main/resources/template/simple: tab-close.ftl tab.ftl

2007-06-12 Thread musachy
Author: musachy
Date: Tue Jun 12 09:29:45 2007
New Revision: 546565

URL: http://svn.apache.org/viewvc?view=rev&rev=546565
Log:
Delete unused templates

Removed:
struts/struts2/trunk/core/src/main/resources/template/simple/tab-close.ftl
struts/struts2/trunk/core/src/main/resources/template/simple/tab.ftl



svn commit: r546575 - in /struts/struts2/trunk/core/src: main/resources/org/apache/struts2/static/ main/resources/template/simple/ test/resources/org/apache/struts2/views/jsp/ui/

2007-06-12 Thread musachy
Author: musachy
Date: Tue Jun 12 10:55:36 2007
New Revision: 546575

URL: http://svn.apache.org/viewvc?view=rev&rev=546575
Log:
* Remove last references to Dojo
* Remove unused file (TimePicker-1.txt)

Removed:

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/TimePicker-1.txt
Modified:

struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/utils.js
struts/struts2/trunk/core/src/main/resources/template/simple/form-close.ftl
struts/struts2/trunk/core/src/main/resources/template/simple/head.ftl

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-6.txt

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/HeadTagTest-1.txt

Modified: 
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/utils.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/utils.js?view=diff&rev=546575&r1=546574&r2=546575
==
--- 
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/utils.js 
(original)
+++ 
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/utils.js 
Tue Jun 12 10:55:36 2007
@@ -64,7 +64,7 @@
 return StrutsUtils.nextElement(node, tagName);
   }
   return node;  
-}
+};
 
 StrutsUtils.previousElement = function(node, tagName) {
   if(!node) { return null; }
@@ -77,4 +77,24 @@
 return StrutsUtils.previousElement(node, tagName);
   }
   return node;  
-}
+};
+
+StrutsUtils.addOnLoad = function(func) {
+  var oldonload = window.onload;
+  if (typeof window.onload != 'function') {
+window.onload = func;
+  } else {
+window.onload = function() {
+  oldonload();
+  func();
+}
+  }
+};
+
+StrutsUtils.addEventListener = function(element, name, observer, capture) {
+  if (element.addEventListener) {
+element.addEventListener(name, observer, false);
+  } else if (element.attachEvent) {
+element.attachEvent('on' + name, observer);
+  }
+};

Modified: 
struts/struts2/trunk/core/src/main/resources/template/simple/form-close.ftl
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/form-close.ftl?view=diff&rev=546575&r1=546574&r2=546575
==
--- struts/struts2/trunk/core/src/main/resources/template/simple/form-close.ftl 
(original)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/form-close.ftl 
Tue Jun 12 10:55:36 2007
@@ -6,12 +6,11 @@
   Enable auto-select of optiontransferselect tag's entries upon containing 
form's 
   submission.
 -->
-dojo.require("dojo.event.*");
 <#if (parameters.optiontransferselectIds?if_exists?size > 0)>
var containingForm = document.getElementById("${parameters.id}");
<#assign selectObjIds = parameters.optiontransferselectIds.keySet() />
<#list selectObjIds as selectObjectId>
-   dojo.event.connect(containingForm, "onsubmit", 
+   StrutsUtils.addEventListener(containingForm, "submit", 
function(evt) {
var selectObj = 
document.getElementById("${selectObjectId}");
<#if 
parameters.optiontransferselectIds.get(selectObjectId)?exists>
@@ -20,14 +19,14 @@
<#else>
selectAllOptionsExceptSome(selectObj, 
"key", "");

-   });
+   }, true);

 
 <#if (parameters.inputtransferselectIds?if_exists?size > 0)>
var containingForm = document.getElementById("${parameters.id}");
<#assign selectObjIds = parameters.inputtransferselectIds.keySet() />
<#list selectObjIds as selectObjectId>
-   dojo.event.connect(containingForm, "onsubmit",
+   StrutsUtils.addEventListener(containingForm, "submit",
function(evt) {
var selectObj = 
document.getElementById("${selectObjectId}");
<#if 
parameters.inputtransferselectIds.get(selectObjectId)?exists>
@@ -36,14 +35,14 @@
<#else>
selectAllOptionsExceptSome(selectObj, 
"key", "");

-   });
+   }, true);

 
 <#if (parameters.optiontransferselectDoubleIds?if_exists?size > 0)>
var containingForm = document.getElementById("${parameters.id}");
<#assign selectDoubleObjIds = 
parameters.optiontransferselectDoubleIds.keySet() />
<#list selectDouble

svn commit: r546602 - in /struts/struts2/trunk/core/src: main/java/org/apache/struts2/components/Set.java site/resources/tags/set.html test/java/org/apache/struts2/views/jsp/SetTagTest.java

2007-06-12 Thread musachy
Author: musachy
Date: Tue Jun 12 12:13:58 2007
New Revision: 546602

URL: http://svn.apache.org/viewvc?view=rev&rev=546602
Log:
WW-1981 set should use the "id" attribute like the url and bean tags

Modified:

struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Set.java
struts/struts2/trunk/core/src/site/resources/tags/set.html

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

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Set.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Set.java?view=diff&rev=546602&r1=546601&r2=546602
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Set.java 
(original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Set.java 
Tue Jun 12 12:13:58 2007
@@ -56,7 +56,7 @@
  *
  * 
  *
- * name* (String): The name of the new variable that is assigned the value 
of value
+ * id (String): The name of the new variable that is assigned the value of 
value
  *
  * value (Object): The value that is assigned to the variable named 
name
  *
@@ -71,7 +71,7 @@
  *
  * 
  * 
- * 
+ * 
  * Hello, . How are you?
  * 
  * 
@@ -103,36 +103,26 @@
 
 body="";
 
-String name;
-if (altSyntax()) {
-name = findString(this.name, "name", "Name is required");
-} else {
-name = this.name;
-
-if (this.name == null) {
-throw fieldError("name", "Name is required", null);
-}
-}
-
+//no need to throw an error, the id is required on the TLD
 if ("application".equalsIgnoreCase(scope)) {
-stack.setValue("#application['" + name + "']", o);
+stack.setValue("#application['" + id + "']", o);
 } else if ("session".equalsIgnoreCase(scope)) {
-stack.setValue("#session['" + name + "']", o);
+stack.setValue("#session['" + id + "']", o);
 } else if ("request".equalsIgnoreCase(scope)) {
-stack.setValue("#request['" + name + "']", o);
+stack.setValue("#request['" + id + "']", o);
 } else if ("page".equalsIgnoreCase(scope)) {
-stack.setValue("#attr['" + name + "']", o, false);
+stack.setValue("#attr['" + id + "']", o, false);
 } else {
-stack.getContext().put(name, o);
-stack.setValue("#attr['" + name + "']", o, false);
+stack.getContext().put(id, o);
+stack.setValue("#attr['" + id + "']", o, false);
 }
 
 return super.end(writer, body);
 }
 
-@StrutsTagAttribute(description=" The name of the new variable that is 
assigned the value of value", required=true)
+@StrutsTagAttribute(description="Deprecated. Use 'id' instead")
 public void setName(String name) {
-this.name = name;
+super.setId(name);
 }
 
 @StrutsTagAttribute(description="The scope in which to assign the 
variable. Can be application" +
@@ -144,5 +134,10 @@
 @StrutsTagAttribute(description="The value that is assigned to the 
variable named name")
 public void setValue(String value) {
 this.value = value;
+}
+
+@StrutsTagAttribute(description="The name of the new variable that is 
assigned the value of value", required=true)
+public void setId(String id) {
+super.setId(id);
 }
 }

Modified: struts/struts2/trunk/core/src/site/resources/tags/set.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/set.html?view=diff&rev=546602&r1=546601&r2=546602
==
--- struts/struts2/trunk/core/src/site/resources/tags/set.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/set.html Tue Jun 12 
12:13:58 2007
@@ -29,19 +29,19 @@


id
-   false
+   true

true
String
-   id for 
referencing element. For UI and form tags it will be used as HTML id 
attribute
+   The name 
of the new variable that is assigned the value of value


name
-   true
+   false

true
   

svn commit: r546753 - /struts/maven/trunk/pom/pom.xml

2007-06-12 Thread hermanns
Author: hermanns
Date: Tue Jun 12 23:46:36 2007
New Revision: 546753

URL: http://svn.apache.org/viewvc?view=rev&rev=546753
Log:
Updating role

Modified:
struts/maven/trunk/pom/pom.xml

Modified: struts/maven/trunk/pom/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/maven/trunk/pom/pom.xml?view=diff&rev=546753&r1=546752&r2=546753
==
--- struts/maven/trunk/pom/pom.xml (original)
+++ struts/maven/trunk/pom/pom.xml Tue Jun 12 23:46:36 2007
@@ -286,7 +286,7 @@
  hermanns
  hermanns at apache.org
  
-Committer
+PMC Member
  
   
   




svn commit: r546758 - in /struts/site/src/site: site.xml xdoc/announce.xml xdoc/download.xml xdoc/downloads.xml xdoc/index.xml

2007-06-12 Thread hermanns
Author: hermanns
Date: Tue Jun 12 23:49:03 2007
New Revision: 546758

URL: http://svn.apache.org/viewvc?view=rev&rev=546758
Log:
Updating site docs for the Struts 2.0.8 release

Modified:
struts/site/src/site/site.xml
struts/site/src/site/xdoc/announce.xml
struts/site/src/site/xdoc/download.xml
struts/site/src/site/xdoc/downloads.xml
struts/site/src/site/xdoc/index.xml

Modified: struts/site/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/struts/site/src/site/site.xml?view=diff&rev=546758&r1=546757&r2=546758
==
--- struts/site/src/site/site.xml (original)
+++ struts/site/src/site/site.xml Tue Jun 12 23:49:03 2007
@@ -17,7 +17,7 @@
 href="http://www.apache.org"; />
 http://struts.apache.org/2.0.6/"; />
+href="http://struts.apache.org/2.0.8/"; />
 http://struts.apache.org/1.3.8/"; />
@@ -55,8 +55,8 @@
 name="Key Technologies"
 href="primer.html" />
 http://struts.apache.org/2.0.6/index.html"; />
+name="Struts 2.0.8"
+href="http://struts.apache.org/2.0.8/index.html"; />
 http://struts.apache.org/1.3.8/index.html"; />

Modified: struts/site/src/site/xdoc/announce.xml
URL: 
http://svn.apache.org/viewvc/struts/site/src/site/xdoc/announce.xml?view=diff&rev=546758&r1=546757&r2=546758
==
--- struts/site/src/site/xdoc/announce.xml (original)
+++ struts/site/src/site/xdoc/announce.xml Tue Jun 12 23:49:03 2007
@@ -30,6 +30,143 @@
 Skip to: Announcements - 2005
 
 
+
+12 June 2007 - Struts v2.0.8 GA Release
+
+
+  The Apache Struts group is pleased to announce that Struts 2.0.8
+  is available as a "General Availability" release. The GA
+  designation is our highest quality grade.
+
+
+  Apache Struts 2 is an elegant, extensible framework for
+  creating enterprise-ready Java web applications. The framework
+  is designed to streamline the full development cycle, from
+  building, to deploying, to maintaining applications over time.
+
+
+  Apache Struts 2 was originally known as WebWork 2. After working
+  independently for several years, the WebWork and Struts
+  communities joined forces to create Struts2. This new version of
+  Struts is simpler to use and closer to how Struts was always
+  meant to be.
+
+
+
+Build!
+
+
+Easy startup - Jumpstart new projects 
with our bootstrap tutorial and template application or Maven archetype.
+
+
+Improved Design - Code clean against 
HTTP-independent framework interfaces.
+
+
+Enhanced Tags - Code less with 
stylesheet-driven form tags that provide their own markup.
+
+
+Stateful Checkboxes - Avoid special 
handling with smart checkboxes that know when they are toggled.
+
+
+Flexible Cancel Buttons - Go directly to 
a different action on cancel.
+
+
+First-class AJAX support - Add 
interactivity and flexibility with AJAX tags that look and feel just like 
standard Struts tags.
+
+
+Easy Spring integration - Inject 
dependencies into Actions using Spring without glue code or red tape. (Plexus 
support also available.)
+
+
+Enhanced Results - Do more with specialty 
results for JasperReports, JFreeChart, Action chaining, and file downloading.
+
+
+POJO forms -  No more ActionForms! Use 
any JavaBean to capture form input or
+put properties directly on an Action class. Use both 
binary and String properties!
+
+
+POJO Actions - Use any class as an Action 
class -- even the
+interface is optional!
+
+
+
+
+Deploy!
+
+
+Easy plugins - Add framework extensions 
by dropping in a JAR.
+No manual configuration required! Bundled plugins add 
support for JavaServer Faces,
+JasperReports, JFreeChart, Tiles, and more ...
+
+
+Integrated profiling - Peek inside 
Struts2 to find where the cycles are going