[CONF] Confluence Changes in the last 24 hours
- 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 |-- Mailing Lists was last edited by craigrussell (02:44 PM). | http://cwiki.apache.org/confluence/display/openjpa/Mailing+Lists |-- Index was last edited by craigrussell (02:35 PM). | http://cwiki.apache.org/confluence/display/openjpa/Index |-- OpenJPA Development Resources was last edited by craigrussell (12:35 PM). | http://cwiki.apache.org/confluence/display/openjpa/OpenJPA+Development+Resources Apache Directory Server v1.5 (DIRxSRVx11) http://cwiki.apache.org/confluence/display/DIRxSRVx11 | |-Pages Added or Edited in This Space |-- Administrators' Guide to ApacheDS LDAP Triggers was last edited by ersiner (03:36 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/Administrators%27+Guide+to+ApacheDS+LDAP+Triggers |-- DNS Protocol Configuration was last edited by ck (02:22 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/DNS+Protocol+Configuration |-- Change Password Configuration was last edited by ck (02:22 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/Change+Password+Configuration |-- Kerberos Protocol Provider was last edited by ck (02:22 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/Kerberos+Protocol+Provider Apache ActiveMQ CPP (AMQCPP) http://cwiki.apache.org/confluence/display/AMQCPP | |-Pages Added or Edited in This Space |-- ActiveMQ-CPP 2.0.1 Release was last edited by nmittler (07:29 AM). | http://cwiki.apache.org/confluence/display/AMQCPP/ActiveMQ-CPP+2.0.1+Release |-- CMS API 1.0 Release was last edited by nmittler (07:28 AM). | http://cwiki.apache.org/confluence/display/AMQCPP/CMS+API+1.0+Release |-- API was last edited by nmittler (07:26 AM). | http://cwiki.apache.org/confluence/display/AMQCPP/API Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW | |-Pages Added or Edited in This Space |-- Ajax and JavaScript Recipes was last edited by musachy (02:47 PM). | http://cwiki.apache.org/confluence/display/WW/Ajax+and+JavaScript+Recipes Apache Directory Server v1.0 (DIRxSRVx10) http://cwiki.apache.org/confluence/display/DIRxSRVx10 | |-Pages Added or Edited in This Space |-- DNS Protocol Configuration was last edited by ck (02:18 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx10/DNS+Protocol+Configuration |-- Change Password Configuration was last edited by ck (02:18 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx10/Change+Password+Configuration |-- NTP Protocol Configuration was last edited by ck (02:18 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx10/NTP+Protocol+Configuration |-- Kerberos Protocol Provider was last edited by ck (02:18 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx10/Kerberos+Protocol+Provider |-- DHCP Protocol Provider was last edited by ck (02:18 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx10/DHCP+Protocol+Provider Apache Cayenne Documentation (CAYDOC) http://cwiki.apache.org/confluence/display/CAYDOC | |-Pages Added or Edited in This Space |-- Inheritance overview was last edited by ari (03:49 PM). | http://cwiki.apache.org/confluence/display/CAYDOC/Inheritance+overview Apache Directory Website (DIRxSITE) http://cwiki.apache.org/confluence/display/DIRxSITE | |-Pages Added or Edited in This Space |-- Navigation was last edited by ck (01:40 AM). | http://cwiki.apache.org/confluence/display/DIRxSITE/Navigation |-- Index was last edited by ck (01:39 AM). | http://cwiki.apache.org/confluence/display/DIRxSITE/Index Apache Tuscany (TUSCANY) http://cwiki.apache.org/confluence/display/TUSCANY | |-Pages Added or Edited in This Space |-- SCA Java Extension Development Guide was last edited by [EMAIL PROTECTED] (11:56 PM). | http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+Extension+Development+Guide |-- SCA Java User Guide was last edited by [EMAIL PROTECTED] (11:53 PM). | http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+User+Guide |-- SCA Java Development Guide was last edited by [EMAIL PROTECTED] (11:30 PM). | http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+Development+Guide |-- DAS Documentation Menu was created by [EMAIL PROTECTED] (08:03 PM). | http://cwiki.apache.org/confluence/display/TUSCANY/DAS+Documentation+Menu |-- SCA Java Architecture Guide was last edited by svkrish (07:03 PM). | http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+Architecture+Guide |-- SCA Java Previous Releases was last edited by svkrish (04:26 AM). | http://cwiki.apache.org/confluence/display/TUSCANY/SCA+
svn commit: r543908 - in /struts/struts2/trunk/plugins/dojo/src/main: java/org/apache/struts2/dojo/components/TabbedPanel.java resources/org/apache/struts2/static/dojo/struts/widget/StrutsTabContainer
Author: musachy Date: Sun Jun 3 07:42:34 2007 New Revision: 543908 URL: http://svn.apache.org/viewvc?view=rev&rev=543908 Log: Change order of parameters passed before/after selecting a tab Modified: struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTabContainer.js Modified: struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java?view=diff&rev=543908&r1=543907&r2=543908 == --- struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java (original) +++ struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java Sun Jun 3 07:42:34 2007 @@ -63,8 +63,8 @@ * Use notify topics to prevent a tab from being selected * * * Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTabContainer.js URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTabContainer.js?view=diff&rev=543908&r1=543907&r2=543908 == --- struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTabContainer.js (original) +++ struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTabContainer.js Sun Jun 3 07:42:34 2007 @@ -45,7 +45,7 @@ var self = this; dojo.lang.forEach(this.beforeSelectTabNotifyTopicsArray, function(topic) { try { -dojo.event.topic.publish(topic, self, tab, cancel); +dojo.event.topic.publish(topic, cancel, tab, self); } catch(ex){ dojo.debug(ex); } @@ -59,7 +59,7 @@ var self = this; dojo.lang.forEach(this.afterSelectTabNotifyTopicsArray, function(topic) { try { - dojo.event.topic.publish(topic, self, tab, cancel); + dojo.event.topic.publish(topic, tab, self); } catch(ex){ dojo.debug(ex); }
svn commit: r543909 - /struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js
Author: musachy Date: Sun Jun 3 07:49:50 2007 New Revision: 543909 URL: http://svn.apache.org/viewvc?view=rev&rev=543909 Log: Keep backward compatibility for setSelectedValue() javascript function on autocompleter tag Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js?view=diff&rev=543909&r1=543908&r2=543909 == --- struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js (original) +++ struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js Sun Jun 3 07:49:50 2007 @@ -494,13 +494,17 @@ }, setSelectedValue : function(text) { -var data = this.dataProvider.data; -for(element in data) { - var obj = data[element]; - if(obj[0].toString() == text) { - this.setValue(obj[0].toString()); - this.comboBoxSelectionValue.value = obj[1].toString(); - } +if(this.dataProvider) { + var data = this.dataProvider.data; + for(element in data) { + var obj = data[element]; + if(obj[0].toString() == text) { + this.setValue(obj[0].toString()); + this.comboBoxSelectionValue.value = obj[1].toString(); + } + } +} else { + this.comboBoxSelectionValue.value = text; } },
svn commit: r543918 - /struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java
Author: musachy Date: Sun Jun 3 08:18:15 2007 New Revision: 543918 URL: http://svn.apache.org/viewvc?view=rev&rev=543918 Log: Update autocompleter tag documentation Modified: struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java Modified: struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java?view=diff&rev=543918&r1=543917&r2=543918 == --- struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java (original) +++ struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java Sun Jun 3 08:18:15 2007 @@ -42,12 +42,19 @@ * ["Text2", "Value2"] * ] * - * 2. If a value is specified in the "dataFieldName" attribute, and the response has a field with that + * 2. If the response is a map, use it (recommended as it is the easiest one to generate): + * + * { + * "Alabama" : "AL", + * "Alaska" : "AL" + * } + * + * 3. If a value is specified in the "dataFieldName" attribute, and the response has a field with that * name, assume that's the datasource, which can be an array of 2-dimension array elements, or a map, - * like (assuming dataFieldName="states"): + * like (assuming dataFieldName="state"): * * { - * "states" : [ + * "state" : [ * ["Alabama","AL"], * ["Alaska","AK"] * ] @@ -56,7 +63,7 @@ * or * * { - * "states" : { + * "state" : { *"Alabama" : "AL", *"Alaska" : "AK" * }
svn commit: r543927 - in /struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo: struts/widget/Bind.js struts_dojo.js struts_dojo.js.uncompressed.js
Author: musachy Date: Sun Jun 3 09:14:32 2007 New Revision: 543927 URL: http://svn.apache.org/viewvc?view=rev&rev=543927 Log: WW-1951 Ajax submit button executeScripts="true" evaluates javascript before DOM elements are defined 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_dojo.js struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.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=543927&r1=543926&r2=543927 == --- 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 Sun Jun 3 09:14:32 2007 @@ -190,10 +190,14 @@ // no validation or validation passed if(this.executeScripts) { -//update targets content +//parse text to extract content and javascript var parsed = this.parse(data); -this._executeScripts(parsed.scripts); + +//update targets content this.setContent(parsed.text); + +//execute scripts +this._executeScripts(parsed.scripts); } else { this.setContent(data); 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=543927&r1=543926&r2=543927 == --- 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 Sun Jun 3 09:14:32 2007 @@ -13698,8 +13698,8 @@ } if(this.executeScripts){ var _b87=this.parse(data); -this._executeScripts(_b87.scripts); this.setContent(_b87.text); +this._executeScripts(_b87.scripts); }else{ this.setContent(data); } @@ -15179,6 +15179,7 @@ },getSelectedKey:function(){ return this.comboBoxSelectionValue.value; },setSelectedValue:function(text){ +if(this.dataProvider){ var data=this.dataProvider.data; for(element in data){ var obj=data[element]; @@ -15187,6 +15188,9 @@ this.comboBoxSelectionValue.value=obj[1].toString(); } } +}else{ +this.comboBoxSelectionValue.value=text; +} },getSelectedValue:function(){ return this.comboBoxValue.value; },getText:function(){ @@ -17753,7 +17757,7 @@ var self=this; dojo.lang.forEach(this.beforeSelectTabNotifyTopicsArray,function(_ebb){ try{ -dojo.event.topic.publish(_ebb,self,tab,_eb9); +dojo.event.topic.publish(_ebb,_eb9,tab,self); } catch(ex){ dojo.debug(ex); @@ -17766,7 +17770,7 @@ var self=this; dojo.lang.forEach(this.afterSelectTabNotifyTopicsArray,function(_ebc){ try{ -dojo.event.topic.publish(_ebc,self,tab,_eb9); +dojo.event.topic.publish(_ebc,tab,self); } catch(ex){ dojo.debug(ex); Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js?view=diff&rev=543927&r1=543926&r2=543927 == --- struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js (original) +++ struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js Sun Jun 3 09:14:32 2007 @@ -22242,10 +22242,14 @@ // no validation or validation passed if(this.executeScripts) { -//update targets content +//parse text to extract content and javascript var parsed = this.parse(data); -this._executeScripts(parsed.scripts); + +//update targets content this.setContent(parsed.text); + +//execute scripts +this._executeScripts(parsed.scripts); } else { this.setContent(data); @@ -24618,13 +24622,17 @@ }, setSelectedValue : function(text) { -var data = this.dataProvider.data; -for(element in data) { - var obj = data[element]; - if(obj[0].toString() == text) { - this.setValue(obj[0].toString()); - this.comboBoxSelectionValue.value = obj[1
svn commit: r543932 - in /struts/struts2/trunk/core/src/site/resources/tags/ajax: a.html autocompleter.html bind.html div.html submit.html
Author: musachy Date: Sun Jun 3 09:18:24 2007 New Revision: 543932 URL: http://svn.apache.org/viewvc?view=rev&rev=543932 Log: Update ajax tags reference Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html struts/struts2/trunk/core/src/site/resources/tags/ajax/bind.html struts/struts2/trunk/core/src/site/resources/tags/ajax/div.html struts/struts2/trunk/core/src/site/resources/tags/ajax/submit.html Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html?view=diff&rev=543932&r1=543931&r2=543932 == --- struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html (original) +++ struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html Sun Jun 3 09:18:24 2007 @@ -49,7 +49,7 @@ false true Boolean - Make an asynchronous request if validation succeeds. Only valid is 'validate' is 'true' + Make an asynchronous request if validation succeeds. Only valid if 'validate' is 'true' beforeNotifyTopics @@ -474,6 +474,14 @@ true String Icon path used for image that will have the tooltip + + + transport + false + XMLHTTPTransport + true + String + Transport used by Dojo to make the request validate Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html?view=diff&rev=543932&r1=543931&r2=543932 == --- struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html (original) +++ struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html Sun Jun 3 09:18:24 2007 @@ -465,7 +465,7 @@ 30 true String - Limit how many results are shown as autocompletion options + Limit how many results are shown as autocompletion options, set to -1 for unlimited results searchType @@ -570,6 +570,14 @@ true String Icon path used for image that will have the tooltip + + + transport + false + XMLHTTPTransport + true + String + Transport used by Dojo to make the request value Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/bind.html URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/bind.html?view=diff&rev=543932&r1=543931&r2=543932 == --- struts/struts2/trunk/core/src/site/resources/tags/ajax/bind.html (original) +++ struts/struts2/trunk/core/src/site/resources/tags/ajax/bind.html Sun Jun 3 09:18:24 2007 @@ -69,7 +69,7 @@ events - true + false true String @@ -197,7 +197,7 @@ sources - true +