[CONF] Confluence Changes in the last 24 hours

2007-05-08 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
 |-- Building Felix was last edited by clement.escoffier (11:03 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/Building+Felix
 |-- codingstandards was last edited by [EMAIL PROTECTED] (08:59 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/codingstandards

Apache Directory Server v1.5 (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- ApacheDS v1.5 Advanced User's Guide was last edited by ck (05:37 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/ApacheDS+v1.5+Advanced+User%27s+Guide
 |-- Mitosis was last edited by elecharny (05:14 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/Mitosis

Apache Geronimo v2.0 (GMOxDOC20) 
http://cwiki.apache.org/confluence/display/GMOxDOC20
|
|-Pages Added or Edited in This Space
 |-- Running Multiple Instances of Geronimo was last edited by akulshre (06:52 
AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC20/Running+Multiple+Instances+of+Geronimo

Apache Directory SandBox (DIRxSBOX) 
http://cwiki.apache.org/confluence/display/DIRxSBOX
|
|-Pages Added or Edited in This Space
 |-- Protocol Providers was last edited by ck (03:28 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSBOX/Protocol+Providers

Apache Cayenne Website (CAYSITE) 
http://cwiki.apache.org/confluence/display/CAYSITE
|
|-Pages Added or Edited in This Space
 |-- Release Guide 2.0 was last edited by andrus (03:46 AM).
 |   http://cwiki.apache.org/confluence/display/CAYSITE/Release+Guide+2.0
 |-- Developer Guide was last edited by andrus (03:44 AM).
 |   http://cwiki.apache.org/confluence/display/CAYSITE/Developer+Guide

Apache Directory Server v1.0 (DIRxSRVx10) 
http://cwiki.apache.org/confluence/display/DIRxSRVx10
|
|-Pages Added or Edited in This Space
 |-- Using ApacheDS for unit tests was last edited by elecharny (09:23 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/Using+ApacheDS+for+unit+tests
 |-- Service Configuration was last edited by ck (06:29 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx10/Service+Configuration
 |-- ApacheDS v1.0 Advanced User's Guide was last edited by ck (05:43 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/ApacheDS+v1.0+Advanced+User%27s+Guide
 |-- DNS Protocol Provider was last edited by ck (03:28 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx10/DNS+Protocol+Provider
 |-- NTP Protocol Provider was last edited by ck (03:26 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx10/NTP+Protocol+Provider
 |-- DHCP Protocol Provider was last edited by ck (02:47 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/DHCP+Protocol+Provider

Apache MINA (MINA) http://cwiki.apache.org/confluence/display/MINA
|
|-Pages Added or Edited in This Space
 |-- Serial Tutorial was created by jvermillard (02:51 AM).
 |   http://cwiki.apache.org/confluence/display/MINA/Serial+Tutorial
 |-- Documentation was last edited by jvermillard (03:19 AM).
 |   http://cwiki.apache.org/confluence/display/MINA/Documentation

Apache Directory Server - Interoperability (DIRxINTEROP) 
http://cwiki.apache.org/confluence/display/DIRxINTEROP
|
|-Pages Added or Edited in This Space
 |-- Index was last edited by ck (05:14 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxINTEROP/Index

Apache Tuscany (TUSCANY) http://cwiki.apache.org/confluence/display/TUSCANY
|
|-Pages Added or Edited in This Space
 |-- Incubator report - May 2007 was created by [EMAIL PROTECTED] (09:45 PM).
 |   
http://cwiki.apache.org/confluence/display/TUSCANY/Incubator+report+-+May+2007
 |-- Java SCA Architecture Guide was last edited by [EMAIL PROTECTED] (02:55 
PM).
 |   
http://cwiki.apache.org/confluence/display/TUSCANY/Java+SCA+Architecture+Guide
 |-- Quick Guide to SCA was last edited by haleh (12:48 PM).
 |   http://cwiki.apache.org/confluence/display/TUSCANY/Quick+Guide+to+SCA
 |-- SCA Java User Guide was last edited by haleh (09:51 AM).
 |   http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+User+Guide
 |-- Tuscany SCA Web Application Integration Story was created by [EMAIL 
PROTECTED] (12:26 AM).
 |   
http://cwiki.apache.org/confluence/display/TUSCANY/Tuscany+SCA+Web+Application+Integration+Story

Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET
|
|-Pages Added or Edited in This Space
 |-- Wicket Blogs was last edited by [EMAIL PROTECTED] (10:08 PM).
 |   http://cwiki.apache.org/confluence/display/WICKET/Wicket+Blogs
 |-- Articles about Wicket was last edited by [EMAIL PROTECTED] (10:05 PM

svn commit: r536387 - in /struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo: components/ views/velocity/components/

2007-05-08 Thread musachy
Author: musachy
Date: Tue May  8 18:07:14 2007
New Revision: 536387

URL: http://svn.apache.org/viewvc?view=rev&rev=536387
Log:
* Fix velocity directives (so #sxTAGNAME maps to TAGNAME)
* Change type of tabbedpanel, treenode and tree to BLOCK
* Small datetimepicker javadoc fix

Added:

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/DojoAbstractDirective.java
Modified:

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

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AnchorDirective.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AutocompleterDirective.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/BindDirective.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/DateTimePickerDirective.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/DivDirective.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/HeadDirective.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/SubmitDirective.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/TabbedPanelDirective.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/TreeDirective.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/TreeNodeDirective.java

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/DateTimePicker.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/DateTimePicker.java?view=diff&rev=536387&r1=536386&r2=536387
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/DateTimePicker.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/DateTimePicker.java
 Tue May  8 18:07:14 2007
@@ -101,11 +101,11 @@
  * 
  * 
  *   RFC 3339
- *   SimpleDateFormat.getTimeInstance(DateFormat.SHORT
- *   SimpleDateFormat.getDateInstance(DateFormat.SHORT
- *   SimpleDateFormat.getDateInstance(DateFormat.MEDIUM
- *   SimpleDateFormat.getDateInstance(DateFormat.FULL
- *   SimpleDateFormat.getDateInstance(DateFormat.LONG
+ *   SimpleDateFormat.getTimeInstance(DateFormat.SHORT)
+ *   SimpleDateFormat.getDateInstance(DateFormat.SHORT)
+ *   SimpleDateFormat.getDateInstance(DateFormat.MEDIUM)
+ *   SimpleDateFormat.getDateInstance(DateFormat.FULL)
+ *   SimpleDateFormat.getDateInstance(DateFormat.LONG)
  *   'displayFormat' attribute value
  * 
  * 

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AnchorDirective.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AnchorDirective.java?view=diff&rev=536387&r1=536386&r2=536387
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AnchorDirective.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AnchorDirective.java
 Tue May  8 18:07:14 2007
@@ -25,14 +25,13 @@
 
 import org.apache.struts2.components.Anchor;
 import org.apache.struts2.components.Component;
-import org.apache.struts2.views.velocity.components.AbstractDirective;
 
 import com.opensymphony.xwork2.util.ValueStack;
 
 /**
  * @see Anchor
  */
-public class AnchorDirective extends AbstractDirective {
+public class AnchorDirective extends DojoAbstractDirective {
 public String getBeanName() {
 return "a";
 }

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AutocompleterDirective.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AutocompleterDirective.java?view=diff&rev=536387&r1=536386&r2=536387
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AutocompleterDirective.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/AutocompleterDirective.java
 Tue May  8 18:07:14 2007
@@ -25,14 +25,13 @@
 
 import org.apache.struts2.components.Compon

svn commit: r536388 - in /struts/struts2/trunk/apps/showcase/src/main: java/org/apache/struts2/showcase/UITagExample.java webapp/tags/ui/example.jsp webapp/tags/ui/example.vm webapp/tags/ui/exampleSub

2007-05-08 Thread musachy
Author: musachy
Date: Tue May  8 18:10:00 2007
New Revision: 536388

URL: http://svn.apache.org/viewvc?view=rev&rev=536388
Log:
* Fix velocity UI tags example (use sx instead of s)
* Add a field to UI tags example show off timepicker

Modified:

struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/UITagExample.java
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/example.jsp
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/example.vm

struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.jsp

struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.vm

Modified: 
struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/UITagExample.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/UITagExample.java?view=diff&rev=536388&r1=536387&r2=536388
==
--- 
struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/UITagExample.java
 (original)
+++ 
struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/UITagExample.java
 Tue May  8 18:10:00 2007
@@ -43,6 +43,7 @@
 
 String name;
 Date birthday;
+Date wakeup;
 String bio;
 String favouriteColor;
 List friends;
@@ -241,7 +242,13 @@
 return this.thoughts;
 }
 
+public Date getWakeup() {
+return wakeup;
+}
 
+public void setWakeup(Date wakeup) {
+this.wakeup = wakeup;
+}
 
 public String doSubmit() {
 return SUCCESS;

Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/example.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/example.jsp?view=diff&rev=536388&r1=536387&r2=536388
==
--- struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/example.jsp 
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/example.jsp Tue 
May  8 18:10:00 2007
@@ -25,7 +25,13 @@
 tooltip="Select Your Birthday"
 label="Birthday"
 name="birthday" />
-
+
+
+
 http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/example.vm?view=diff&rev=536388&r1=536387&r2=536388
==
--- struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/example.vm 
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/example.vm Tue 
May  8 18:10:00 2007
@@ -2,6 +2,7 @@
 
 UI Tags Example
 #shead()
+#sxhead()
 
 
 
@@ -12,7 +13,8 @@
 
 #sform ("action=exampleSubmitVelocity" "method=post" 
"enctype=multipart/form-data")
 #stextfield ("label=Name" "name=name")
-#sdatetimepicker ("label=Birthday" "name=birthday")
+#sxdatetimepicker ("label=Birthday" "name=birthday")
+#sxdatetimepicker ("label=Wake up time" "name=wakeup" "type=time")
 #stextarea ("label=Biography" "name=bio" "cols=20" "rows=3")
 #sselect ("label=Favourite Color" "list={'Red', 'Blue', 'Green'}" 
"name=favouriteColor" "emptyOption=true" "headerKey=None" "headerValue=None")
 #sselect ("label=Favourite Language" "list=favouriteLanguages" 
"name=favouriteLanguage" "listKey=key" "listValue=description" 
"emptyOption=true" "headerKey=None" "headerValue=None")

Modified: 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.jsp?view=diff&rev=536388&r1=536387&r2=536388
==
--- 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.jsp 
(original)
+++ 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.jsp 
Tue May  8 18:10:00 2007
@@ -10,6 +10,12 @@
 
  
 
+
+Wake up time:
+
+   
+
+
  
  
  

Modified: 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.vm
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.vm?view=diff&rev=536388&r1=536387&r2=536388
==
--- 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.vm 
(original)
+++ 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/exampleSubmited.vm 
Tue May  8 18:10:00 2007
@@ -8,6 +8,12 @@
 
#slabel ("label=Name" "name=name")
#slabel ("label=Birthday" "name=birthday")
+   
+Wake up time:
+
+   #sdate ("name=wakeup" "format=hh:mm aa")
+
+
#slabel ("label=Biography" "name=bio")

svn commit: r536393 - in /struts/struts2/trunk/plugins/dojo/src: main/resources/org/apache/struts2/static/dojo/ main/resources/org/apache/struts2/static/dojo/struts/widget/ main/resources/template/aja

2007-05-08 Thread musachy
Author: musachy
Date: Tue May  8 19:04:20 2007
New Revision: 536393

URL: http://svn.apache.org/viewvc?view=rev&rev=536393
Log:
WW-1917 Tag datetimepicker gives "Invalid field value for field xxx:" on form 
submit when browser locale does not match request_locale

Modified:

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

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

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

struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js

struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/datetimepicker.ftl

struts/struts2/trunk/plugins/dojo/src/test/resources/org/apache/struts2/dojo/views/jsp/ui/DateTimePickerTagTest-1.txt

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsDatePicker.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsDatePicker.js?view=diff&rev=536393&r1=536392&r2=536393
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsDatePicker.js
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsDatePicker.js
 Tue May  8 19:04:20 2007
@@ -28,6 +28,27 @@
 }
   },
   
+  _syncValueNode:function () {
+var date = this.datePicker.value;
+var value = "";
+switch (this.saveFormat.toLowerCase()) {
+  case "rfc":
+  case "iso":
+  case "":
+value = dojo.date.toRfc3339(date);
+break;
+  case "posix":
+  case "unix":
+value = Number(date);
+break;
+  default:
+if (date) {
+value = dojo.date.format(date, {datePattern:this.saveFormat, 
selector:"dateOnly", locale:this.lang});
+}
+}
+this.valueNode.value = value;
+  },
+  
   _updateText : function() {
 struts.widget.StrutsDatePicker.superclass._updateText.apply(this, 
arguments);
 if(this.valueNotifyTopicsArray != null) {

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTimePicker.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTimePicker.js?view=diff&rev=536393&r1=536392&r2=536393
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTimePicker.js
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTimePicker.js
 Tue May  8 19:04:20 2007
@@ -19,8 +19,6 @@
   postCreate: function() {
 struts.widget.StrutsTimePicker.superclass.postCreate.apply(this, 
arguments);
   
-this.inputNode.name = this.name;
-
 //set cssClass
 if(this.extraArgs["class"]) {
   dojo.html.setClass(this.inputNode, this.extraArgs["class"]);
@@ -30,8 +28,6 @@
 if(this.extraArgs.style) {
   dojo.html.setStyleText(this.inputNode, this.extraArgs.style);
 }  
-
-this.valueNode.name = this.inputName;
 
 //value topics
 if(!dojo.string.isBlank(this.valueNotifyTopics)) {

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js?view=diff&rev=536393&r1=536392&r2=536393
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
 Tue May  8 19:04:20 2007
@@ -16732,14 +16732,12 @@
 dojo.provide("struts.widget.StrutsTimePicker");
 
dojo.widget.defineWidget("struts.widget.StrutsTimePicker",dojo.widget.DropdownTimePicker,{widgetType:"StrutsTimePicker",inputName:"",name:"",valueNotifyTopics:"",valueNotifyTopicsArray:null,postCreate:function(){
 struts.widget.StrutsTimePicker.superclass.postCreate.apply(this,arguments);
-this.inputNode.name=this.name;
 if(this.extraArgs["class"]){
 dojo.html.setClass(this.inputNode,this.extraArgs["class"]);
 }
 if(this.extraArgs.style){
 dojo.html.setStyleText(this.inputNode,this.extraArgs.style);
 }
-this.valueNode.name=this.inputName;
 if(!dojo.string.isBlank(this.valueNotifyTopics)){
 this.valueNotifyTopicsArray=this.valueNotifyTopics.split(",");
 }
@@