[CONF] Confluence Changes in the last 24 hours

2007-05-01 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
 |-- OpenJPA 0.9.7 Now Available was created by pcl (08:16 PM).
 |   
http://cwiki.apache.org/confluence/display/openjpa/2007/04/30/OpenJPA+0.9.7+Now+Available
 |-- Index was last edited by mprudhom (02:07 PM).
 |   http://cwiki.apache.org/confluence/display/openjpa/Index
 |-- OpenJPA Passes Sun JPA TCK 100%! was created by mprudhom (02:05 PM).
 |   http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=52999

Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL
|
|-Pages Added or Edited in This Space
 |-- Polling Consumer was created by chirino (09:32 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Polling+Consumer
 |-- Enterprise Integration Patterns was last edited by chirino (09:24 AM).
 |   
http://cwiki.apache.org/confluence/display/CAMEL/Enterprise+Integration+Patterns
 |-- Messaging Gateway was created by chirino (09:22 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Messaging+Gateway
 |-- Service Activator was created by chirino (08:51 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Service+Activator
 |-- Index was last edited by rajdavies (08:50 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Index
 |-- Transactional Client was created by chirino (08:30 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Transactional+Client
 |-- Timer was last edited by chirino (07:46 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Timer
 |-- File was created by jstrachan (04:11 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/File
 |-- Navigation was last edited by jstrachan (04:15 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Navigation
 |-- Component List was created by jstrachan (04:10 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Component+List
 |-- Mail was created by jstrachan (04:14 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Mail
 |-- Components was created by jstrachan (04:06 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Components
 |-- Spring was created by jstrachan (03:21 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Spring
 |-- Lifecycle was created by jstrachan (03:56 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Lifecycle
 |-- Getting Started was last edited by jstrachan (03:53 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Getting+Started
 |-- DSL was last edited by jstrachan (03:48 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/DSL
 |-- Routes was last edited by jstrachan (03:47 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Routes
 |-- Xml Configuration was last edited by jstrachan (03:39 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Xml+Configuration
 |-- RouteBuilder was created by jstrachan (03:38 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/RouteBuilder
 |-- CamelContext was created by jstrachan (03:38 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/CamelContext
 |-- JavaDoc was created by jstrachan (03:24 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/JavaDoc
 |-- QuickLinks was last edited by jstrachan (03:23 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/QuickLinks

Apache Geronimo (GMOxSITE) http://cwiki.apache.org/confluence/display/GMOxSITE
|
|-Pages Added or Edited in This Space
 |-- Downloads was last edited by hogstrom (07:57 AM).
 |   http://cwiki.apache.org/confluence/display/GMOxSITE/Downloads

Apache ActiveMQ CPP (AMQCPP) http://cwiki.apache.org/confluence/display/AMQCPP
|
|-Pages Added or Edited in This Space
 |-- CMS API 1.0 Release was created by nmittler (01:12 PM).
 |   
http://cwiki.apache.org/confluence/display/AMQCPP/2007/04/30/CMS+API+1.0+Release
 |-- ActiveMQ-CPP 2.0.1 RC1 now available was created by tabish121 (01:04 PM).
 |   
http://cwiki.apache.org/confluence/display/AMQCPP/2007/04/30/ActiveMQ-CPP+2.0.1+RC1+now+available
 |-- CMS API 1.0 Release was last edited by nmittler (01:05 PM).
 |   http://cwiki.apache.org/confluence/display/AMQCPP/CMS+API+1.0+Release
 |-- ActiveMQ-CPP 2.0.1 Release was created by tabish121 (05:45 AM).
 |   
http://cwiki.apache.org/confluence/display/AMQCPP/ActiveMQ-CPP+2.0.1+Release

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- Client Validation was last edited by musachy (05:20 PM).
 |   http://cwiki.apache.org/confluence/display/WW/Client+Validation
 |-- devMode was last edited by phil (01:15 AM).
 |   http://cwiki.apache.org/confluence/display/WW/devMode
 |
 |-New Comments in This Space
 |-- htt

svn commit: r534102 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/ActionMapper.java

2007-05-01 Thread jmitchell
Author: jmitchell
Date: Tue May  1 07:24:06 2007
New Revision: 534102

URL: http://svn.apache.org/viewvc?view=rev&rev=534102
Log:
WW-1834 clarify javadoc (more intuitive when included through cwiki snippet)

Modified:

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

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/ActionMapper.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/ActionMapper.java?view=diff&rev=534102&r1=534101&r2=534102
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/ActionMapper.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/ActionMapper.java
 Tue May  1 07:24:06 2007
@@ -27,7 +27,7 @@
 /**
  * 
  *
- * Provide a mapping between HTTP requests and action invocation requests and 
vice-versa.
+ * The ActionMapper interface provides a mapping between HTTP requests and 
action invocation requests and vice-versa.
  * 
  * When given an HttpServletRequest, the ActionMapper may return null if no 
action invocation request matches,
  * or it may return an [EMAIL PROTECTED] ActionMapping} that describes an 
action invocation for the framework to try.




svn commit: r534232 - in /struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget: Bind.js BindDiv.js

2007-05-01 Thread musachy
Author: musachy
Date: Tue May  1 13:35:31 2007
New Revision: 534232

URL: http://svn.apache.org/viewvc?view=rev&rev=534232
Log:
Simplify before/after/error notify topics

Modified:

struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js

struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/BindDiv.js

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js?view=diff&rev=534232&r1=534231&r2=534232
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js
 Tue May  1 13:35:31 2007
@@ -211,7 +211,7 @@
 if(this.notifyTopicsArray) {
   dojo.lang.forEach(this.notifyTopicsArray, function(topic) {
 try {
-  dojo.event.topic.publish(topic, data, type, e);
+  dojo.event.topic.publish(topic, data, type, e, self);
 } catch(ex){
  self.log(ex);
 }
@@ -222,25 +222,27 @@
 var topicsArray = null;
 switch(type) {
   case "before":
-topicsArray = this.beforeNotifyTopicsArray;
+this.notifyTo(this.beforeNotifyTopicsArray, null, e);
 break;
   case "load":
-topicsArray = this.afterNotifyTopicsArray;
+this.notifyTo(this.afterNotifyTopicsArray, data, e);
 break;
   case "error":
-topicsArray = this.errorNotifyTopicsArray;
+this.notifyTo(this.errorNotifyTopicsArray, data, e);
 break;
 }
-
-this.notifyTo(topicsArray, data, type, e);
   },
   
-  notifyTo : function(topicsArray, data, type, e) {
+  notifyTo : function(topicsArray, data, e) {
 var self = this;
 if(topicsArray) {
   dojo.lang.forEach(topicsArray, function(topic) {
   try {
-dojo.event.topic.publish(topic, data, type, e);
+if(data) {
+  dojo.event.topic.publish(topic, data, e, self);
+} else {
+  dojo.event.topic.publish(topic, e, self);
+}
   } catch(ex){
 self.log(ex);
   }

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/BindDiv.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/BindDiv.js?view=diff&rev=534232&r1=534231&r2=534232
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/BindDiv.js
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/BindDiv.js
 Tue May  1 13:35:31 2007
@@ -103,7 +103,7 @@
 var self = this;
 dojo.lang.forEach(this.notifyTopicsArray, function(topic) {
   try {
-dojo.event.topic.publish(topic, data, type, e);
+dojo.event.topic.publish(topic, data, type, e, self);
   } catch(ex) {
 self.log(ex);
   }
@@ -114,28 +114,30 @@
   var topicsArray = null;
   switch(type) {
 case "before":
-  topicsArray = this.beforeNotifyTopicsArray;
+  this.notifyTo(this.beforeNotifyTopicsArray, null, e);
   break;
 case "load":
-  topicsArray = this.afterNotifyTopicsArray;
+  this.notifyTo(this.afterNotifyTopicsArray, data, e);
   break;
 case "error":
-  topicsArray = this.errorNotifyTopicsArray;
+  this.notifyTo(this.errorNotifyTopicsArray, data, e);
   break;
   }
-
-  this.notifyTo(topicsArray, data, type, e);
 },
 
-notifyTo : function(topicsArray, data, type, e) {
+notifyTo : function(topicsArray, data, e) {
   var self = this;
   if(topicsArray) {
 dojo.lang.forEach(topicsArray, function(topic) {
-  try {
-dojo.event.topic.publish(topic, data, type, e);
-  } catch(ex){
-self.log(ex);
+try {
+  if(data) {
+dojo.event.topic.publish(topic, data, e, self);
+  } else {
+dojo.event.topic.publish(topic, e, self);
   }
+} catch(ex){
+  self.log(ex);
+}
 });
   }
 },




svn commit: r534233 - /struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/remotelink/index.jsp

2007-05-01 Thread musachy
Author: musachy
Date: Tue May  1 13:35:34 2007
New Revision: 534233

URL: http://svn.apache.org/viewvc?view=rev&rev=534233
Log:
Simplify before/after/error notify topics

Modified:
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/remotelink/index.jsp

Modified: 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/remotelink/index.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/remotelink/index.jsp?view=diff&rev=534233&r1=534232&r2=534233
==
--- 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/remotelink/index.jsp 
(original)
+++ 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/remotelink/index.jsp 
Tue May  1 13:35:34 2007
@@ -14,30 +14,28 @@
 dojo.byId(widget.targetsArray[0]).innerHTML = "Done";
}
 
-   dojo.event.topic.subscribe("/before", function(data, type, e){
+   dojo.event.topic.subscribe("/before", function(event, widget){
   alert('inside a topic event. before request');
-  //data : source element id
-  //type : "before"
-  //e: request object
+  //event: set event.cancel = true, to cancel request
+  //widget: widget that published the topic
});

-   dojo.event.topic.subscribe("/after", function(data, type, e){
+   dojo.event.topic.subscribe("/after", function(data, request, widget){
   alert('inside a topic event. after request');
-  //data : text returned
-  //type : "load"
-  //e: undefined
+  //data : text returned from request
+  //request: XMLHttpRequest object
+  //widget: widget that published the topic
});

-   dojo.event.topic.subscribe("/error", function(data, type, e){
+   dojo.event.topic.subscribe("/error", function(error, request, widget){
   alert('inside a topic event. on error');
-  //data : error object
-  //type : "error"
-  //e: undefined
+  //error : error object (error.message has the error message)
+  //request: XMLHttpRequest object
+  //widget: widget that published the topic
});

dojo.event.topic.subscribe("/topics", function(data, type, e){
   alert('inside a topic event. type='+type);
-  debugger;
   //data : text returned
   //type : "before", "load", "error"
   //e: request object




svn commit: r534243 - in /struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components: Anchor.java Bind.java

2007-05-01 Thread musachy
Author: musachy
Date: Tue May  1 14:02:01 2007
New Revision: 534243

URL: http://svn.apache.org/viewvc?view=rev&rev=534243
Log:
Improve javadoc examples for Bind, and Anchor tags

Modified:

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Anchor.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Anchor.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Anchor.java?view=diff&rev=534243&r1=534242&r2=534243
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Anchor.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Anchor.java
 Tue May  1 14:02:01 2007
@@ -73,21 +73,52 @@
  * 
  * 
  * 
- * Using topics:
+ * Using beforeNotifyTopics:
  * 
- * 
- * dojo.event.topic.subscribe("/before", function(data, type, e){
- *  alert('inside a topic event. before request');
- *  //data : source element id
- *  //type : "before"
- *  //e: request object
- *  //set e.cancel = true to cancel request
+ * <script type="text/javascript">
+ * dojo.event.topic.subscribe("/before", function(event, widget){
+ * alert('inside a topic event. before request');
+ * //event: set event.cancel = true, to cancel request
+ * //widget: widget that published the topic
  * });
- *  
+ *  
  * 
  * Publish topics
  *  
  * 
+ * 
+ * 
+ * Using afterNotifyTopics and highlight:
+ * 
+ * 
+ * 
+ * Publish topics
+ *  
+ * 
+ * 
+ * 
+ * Using errorNotifyTopics and indicator:
+ * 
+ *  
+ * 
+ * 
+ * Publish topics
+ *  
+ * 
  */
 @StrutsTag(name="a", 
tldTagClass="org.apache.struts2.dojo.views.jsp.ui.AnchorTag", 
description="Renders an HTML anchor element that when clicked calls a URL via 
remote XMLHttpRequest and updates " +
 "its targets content")

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java?view=diff&rev=534243&r1=534242&r2=534243
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Bind.java
 Tue May  1 14:02:01 2007
@@ -52,6 +52,57 @@
  * 
  * 
  * 
+ * 
+ * 
+ * Using beforeNotifyTopics:
+ * 
+ *  
+ * 
+ *  
+ *  
+ *  
+ * 
+ * 
+ * 
+ * Using afterNotifyTopics and highlight:
+ * 
+ * 
+ * 
+ * 
+ * 
+ *  
+ * 
+ * 
+ * 
+ * Using errorNotifyTopics and insicator:
+ * 
+ *