[CONF] Confluence Changes in the last 24 hours

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

-
Updated Spaces:
-

Apache CXF 2.0 Documentation (CXF20DOC) 
http://cwiki.apache.org/confluence/display/CXF20DOC
|
|-Pages Added or Edited in This Space
 |-- HTTP Binding was last edited by ericjohnson (07:18 AM).
 |   http://cwiki.apache.org/confluence/display/CXF20DOC/HTTP+Binding

Apache ActiveMQ CPP (AMQCPP) http://cwiki.apache.org/confluence/display/AMQCPP
|
|-Pages Added or Edited in This Space
 |-- QuickLinks was last edited by nmittler (06:02 AM).
 |   http://cwiki.apache.org/confluence/display/AMQCPP/QuickLinks
 |-- API was created by nmittler (06:00 AM).
 |   http://cwiki.apache.org/confluence/display/AMQCPP/API
 |-- Navigation was last edited by nmittler (05:59 AM).
 |   http://cwiki.apache.org/confluence/display/AMQCPP/Navigation

Apache Geronimo v1.1 (GMOxDOC11) 
http://cwiki.apache.org/confluence/display/GMOxDOC11
|
|-Pages Added or Edited in This Space
 |-- geronimo-application-client.xml was last edited by [EMAIL PROTECTED] 
(04:17 AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC11/geronimo-application-client.xml

Apache ServiceMix (SM) http://cwiki.apache.org/confluence/display/SM
|
|-Pages Added or Edited in This Space
 |-- Creating a protocol bridge was last edited by gnodet (11:41 PM).
 |   http://cwiki.apache.org/confluence/display/SM/Creating+a+protocol+bridge
 |-- 1. Tutorial  - Starting ServiceMix was created by gertvanthienen (01:49 
AM).
 |   
http://cwiki.apache.org/confluence/display/SM/1.+Tutorial++-+Starting+ServiceMix
 |-- 3. Tutorial - Running the wsdl-first example was created by gertvanthienen 
(02:14 PM).
 |   
http://cwiki.apache.org/confluence/display/SM/3.+Tutorial+-+Running+the+wsdl-first+example
 |-- 2. Tutorial - About components was created by gertvanthienen (02:14 AM).
 |   
http://cwiki.apache.org/confluence/display/SM/2.+Tutorial+-+About+components
 |-- 1. Quick start was last edited by gertvanthienen (06:29 AM).
 |   http://cwiki.apache.org/confluence/display/SM/1.+Quick+start
 |-- Starting ServiceMix was created by gertvanthienen (06:26 AM).
 |   http://cwiki.apache.org/confluence/display/SM/Starting+ServiceMix
 |-- Tutorial (in progress) was created by gertvanthienen (12:44 AM).
 |   http://cwiki.apache.org/confluence/display/SM/Tutorial+%28in+progress%29
 |-- Hello World - SE was last edited by bsnyder (12:15 AM).
 |   http://cwiki.apache.org/confluence/display/SM/Hello+World+-+SE

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- Result Annotation was last edited by vickeryj (02:36 PM).
 |   http://cwiki.apache.org/confluence/display/WW/Result+Annotation
 |-- AJAX Validation was last edited by musachy (02:18 PM).
 |   http://cwiki.apache.org/confluence/display/WW/AJAX+Validation
 |-- Localization was last edited by vickeryj (08:34 AM).
 |   http://cwiki.apache.org/confluence/display/WW/Localization
 |
 |-New Comments in This Space
 |-- http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=33168 (3)

Apache Ode (ODExSITE) http://cwiki.apache.org/confluence/display/ODExSITE
|
|-Pages Added or Edited in This Space
 |-- Links was last edited by mriou (07:25 PM).
 |   http://cwiki.apache.org/confluence/display/ODExSITE/Links
 |-- Index was last edited by mriou (07:11 AM).
 |   http://cwiki.apache.org/confluence/display/ODExSITE/Index

Apache Directory Server - Interoperability (DIRxINTEROP) 
http://cwiki.apache.org/confluence/display/DIRxINTEROP
|
|-Pages Added or Edited in This Space
 |-- Navigation was created by ck (07:18 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxINTEROP/Navigation
 |-- Kerberos Authentication to OpenLDAP was last edited by ck (07:00 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Kerberos+Authentication+to+OpenLDAP

Apache Tuscany (TUSCANY) http://cwiki.apache.org/confluence/display/TUSCANY
|
|-Pages Added or Edited in This Space
 |-- SCA Java Architecture Guide was last edited by svkrish (09:28 AM).
 |   
http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+Architecture+Guide
 |-- Tuscany SDO Java - FAQ was last edited by [EMAIL PROTECTED] (08:49 AM).
 |   http://cwiki.apache.org/confluence/display/TUSCANY/Tuscany+SDO+Java+-+FAQ
 |-- DAS Overview was last edited by [EMAIL PROTECTED] (04:23 AM).
 |   http://cwiki.apache.org/confluence/display/TUSCANY/DAS+Overview


-
CONFLUENCE INFORMATION
This message is automatically generated by Confluence

Unsubscribe or edit your notifications preferences
   http://cwiki.apache.org/confluence/users/viewnotifications.action

If you think it was sent incorrectly contact one of the administrators
   http://cwiki.apache.org/confluence/admin

svn commit: r543170 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java

2007-05-31 Thread musachy
Author: musachy
Date: Thu May 31 08:50:08 2007
New Revision: 543170

URL: http://svn.apache.org/viewvc?view=rev&rev=543170
Log:
Remove confusing comment

Modified:

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

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java?view=diff&rev=543170&r1=543169&r2=543170
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
 Thu May 31 08:50:08 2007
@@ -45,21 +45,6 @@
  * It is strongly recommended that if you are redirecting to another action, 
you use this result rather than the
  * standard redirect result.
  *
- * 
- * @TODO - the below sentence is confusing and seems to be contradictory -- 
FIX ME
- * To pass parameters, use the  ...  tag. The 
following parameters will not be
- * passed because they are part of the config param for this particular result.
- *
- * 
- *  actionName
- *  namespace
- *  method
- *  encode
- *  parse
- *  location
- *  prependServletContext
- * 
- *
  * See examples below for an example of how request parameters could be passed 
in.
  *
  * 




svn commit: r543174 - /struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java

2007-05-31 Thread musachy
Author: musachy
Date: Thu May 31 09:04:00 2007
New Revision: 543174

URL: http://svn.apache.org/viewvc?view=rev&rev=543174
Log:
Remove confusing comment

Modified:

struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java

Modified: 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java?view=diff&rev=543174&r1=543173&r2=543174
==
--- 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
 (original)
+++ 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
 Thu May 31 09:04:00 2007
@@ -46,19 +46,6 @@
  * standard redirect result.
  *
  * 
- * @TODO - the below sentence is confusing and seems to be contradictory -- 
FIX ME
- * To pass parameters, use the  ...  tag. The 
following parameters will not be
- * passed because they are part of the config param for this particular result.
- *
- * 
- *  actionName
- *  namespace
- *  method
- *  encode
- *  parse
- *  location
- *  prependServletContext
- * 
  *
  * See examples below for an example of how request parameters could be passed 
in.
  *




svn commit: r543179 - /struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/URL.java

2007-05-31 Thread musachy
Author: musachy
Date: Thu May 31 09:28:42 2007
New Revision: 543179

URL: http://svn.apache.org/viewvc?view=rev&rev=543179
Log:
Fix example typo

Modified:

struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/URL.java

Modified: 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/URL.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/URL.java?view=diff&rev=543179&r1=543178&r2=543179
==
--- 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/URL.java
 (original)
+++ 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/URL.java
 Thu May 31 09:28:42 2007
@@ -98,7 +98,7 @@
  *
  * <-- Example 3-->
  * 
- * <:param name="id" value="%{'22'}" />
+ * 
  * 
  *
  * 




svn commit: r543180 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java

2007-05-31 Thread musachy
Author: musachy
Date: Thu May 31 09:29:53 2007
New Revision: 543180

URL: http://svn.apache.org/viewvc?view=rev&rev=543180
Log:
Fix example typo

Modified:

struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java?view=diff&rev=543180&r1=543179&r2=543180
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java 
(original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java 
Thu May 31 09:29:53 2007
@@ -98,7 +98,7 @@
  *
  * <-- Example 3-->
  * 
- * <:param name="id" value="%{'22'}" />
+ * 
  * 
  *
  * 




svn commit: r543218 - in /struts/struts2/trunk/plugins/dojo/src: main/java/org/apache/struts2/dojo/components/ main/java/org/apache/struts2/dojo/views/jsp/ui/ main/resources/org/apache/struts2/static/

2007-05-31 Thread musachy
Author: musachy
Date: Thu May 31 12:07:05 2007
New Revision: 543218

URL: http://svn.apache.org/viewvc?view=rev&rev=543218
Log:
WW-1925 Add a "transport" attribute to tags Bind, Anchor and Submit, and Div

Modified:

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

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

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

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

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

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

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/jsp/ui/AbstractRemoteTag.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/jsp/ui/AutocompleterTag.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/jsp/ui/SubmitTag.java

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

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

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

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

struts/struts2/trunk/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/AnchorTest.java

struts/struts2/trunk/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/AutocompleterTest.java

struts/struts2/trunk/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/BindTest.java

struts/struts2/trunk/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/DivTest.java

struts/struts2/trunk/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/SubmitAjaxTest.java

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

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

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

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

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

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/AbstractRemoteBean.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/AbstractRemoteBean.java?view=diff&rev=543218&r1=543217&r2=543218
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/AbstractRemoteBean.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/AbstractRemoteBean.java
 Thu May 31 12:07:05 2007
@@ -50,6 +50,7 @@
 protected String highlightColor;
 protected String highlightDuration;
 protected String separateScripts;
+protected String transport;
 
 public AbstractRemoteBean(ValueStack stack, HttpServletRequest request,
 HttpServletResponse response) {
@@ -97,6 +98,8 @@
 addParameter("highlightDuration", findString(highlightDuration));
 if (separateScripts != null)
 addParameter("separateScripts", findValue(separateScripts, 
Boolean.class));
+if (transport != null)
+addParameter("transport", findString(transport));
 }
 
 @Override
@@ -224,5 +227,10 @@
 @StrutsTagAttribute(description="Run scripts in a separate scope, unique 
for each tag", defaultValue="true")
 public void setSeparateScripts(String separateScripts) {
 this.separateScripts = separateScripts;
+}
+
+@StrutsTagAttribute(description="Transport used by Dojo to make the 
request", defaultValue="XMLHTTPTransport")
+public void setTransport(String transport) {
+this.transport = transport;
 }
 }

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/AbstractValidateBean.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/AbstractValidateBean.java?view=diff&rev=543218&r1=543217&r2=543218
==

svn commit: r543354 [3/3] - in /struts/struts2/trunk/plugins/dojo/src/main: java/org/apache/struts2/dojo/components/ resources/org/apache/struts2/static/dojo/ resources/org/apache/struts2/static/dojo/

2007-05-31 Thread musachy
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=543354&r1=543353&r2=543354
==
--- 
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
 Thu May 31 18:55:37 2007
@@ -22105,6 +22105,7 @@
   scriptSeparation : true,
   //scope for the cript separation
   scriptScope : null,
+  transport : "",

   postCreate : function() {
 var self = this;
@@ -22291,7 +22292,7 @@
 if(topicsArray) {
   dojo.lang.forEach(topicsArray, function(topic) {
   try {
-if(data) {
+if(data != null) {
   dojo.event.topic.publish(topic, data, e, self);
 } else {
   dojo.event.topic.publish(topic, e, self);
@@ -22358,6 +22359,7 @@
 preventCache: true,
 formNode: self.formNode,
 formFilter: window[self.formFilter],
+transport: self.transport,
 handler: function(type, data, e) {
   dojo.lang.hitch(self, "bindHandler")(type, data, e);
 },
@@ -22601,6 +22603,8 @@
 //only used when inside a tabbedpanel
 disabled : false,
 
+transport : "",
+
 onDownloadStart : function(event) {
   if(!this.showLoading) {
 event.returnValue = false;
@@ -22672,7 +22676,7 @@
   if(topicsArray) {
 dojo.lang.forEach(topicsArray, function(topic) {
 try {
-  if(data) {
+  if(data != null) {
 dojo.event.topic.publish(topic, data, e, self);
   } else {
 dojo.event.topic.publish(topic, e, self);
@@ -22796,6 +22800,7 @@
 mimetype: "text/html",
 formNode: dojo.byId(self.formId),
 formFilter: window[self.formFilter],
+transport: self.transport,
 handler: function(type, data, e) {
   //hide indicator
   dojo.html.hide(self.indicator);
@@ -24136,7 +24141,8 @@
   this.cbox = combobox;
   this.formId = this.cbox.formId;
   this.formFilter = this.cbox.formFilter;
-
+  this.transport = this.cbox.transport;
+  
   this.getData = function(/*String*/ url){
 //show indicator
 dojo.html.show(this.cbox.indicator);
@@ -24145,6 +24151,7 @@
   url: url,
   formNode: dojo.byId(this.formId),
   formFilter: window[this.formFilter],
+  transport: this.transport,
   handler: dojo.lang.hitch(this, function(type, data, evt) {
 //hide indicator
 dojo.html.hide(this.cbox.indicator);
@@ -24369,6 +24376,8 @@
   //how many results are shown
   searchLimit : 30,
   
+  transport : "",
+  
   //from Dojo's  ComboBox
   showResultList: function() {
   // Our dear friend IE doesnt take max-height so we need to calculate that on 
our own every time
@@ -24591,6 +24600,40 @@
 else {
  this._startSearch(searchStr);
}
+  },
+  
+  setSelectedKey : function(key) {
+var data = this.dataProvider.data;
+for(element in data) {
+   var obj = data[element];
+   if(obj[1].toString() == key) {
+ this.setValue(obj[0].toString());
+ this.comboBoxSelectionValue.value = obj[1].toString();
+   }
+}
+  },
+  
+  getSelectedKey : function() {
+return this.comboBoxSelectionValue.value;
+  },
+  
+  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();
+   }
+}
+  },
+  
+  getSelectedValue : function() {
+return this.comboBoxValue.value;
+  },
+  
+  getText : function() {
+return this.textInputNode.value();
   }
 });
 




svn commit: r543354 [1/3] - in /struts/struts2/trunk/plugins/dojo/src/main: java/org/apache/struts2/dojo/components/ resources/org/apache/struts2/static/dojo/ resources/org/apache/struts2/static/dojo/

2007-05-31 Thread musachy
Author: musachy
Date: Thu May 31 18:55:37 2007
New Revision: 543354

URL: http://svn.apache.org/viewvc?view=rev&rev=543354
Log:
WW-1945 add a method(javascript) to set the selected value to the autocompleter
methods added to the autocompleter widget:

* setSelectedKey(key)
* setSelectedValue(value)
* getSelectedKey()
* getSelectedValue()
* getText()

Modified:

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

struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.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/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=543354&r1=543353&r2=543354
==
--- 
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
 Thu May 31 18:55:37 2007
@@ -117,6 +117,40 @@
  * 
  * 
  * 
+ * 
+ * 
+ * Set/Get selected values using JavaScript
+ * 
+ * 
+ * 
+ * 
+ * 
  */
 @StrutsTag(name="autocompleter", 
tldTagClass="org.apache.struts2.dojo.views.jsp.ui.AutocompleterTag", 
description="Renders a combobox with autocomplete and AJAX capabilities")
 public class Autocompleter extends ComboBox {

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=543354&r1=543353&r2=543354
==
--- 
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
 Thu May 31 18:55:37 2007
@@ -476,5 +476,39 @@
 else {
  this._startSearch(searchStr);
}
+  },
+  
+  setSelectedKey : function(key) {
+var data = this.dataProvider.data;
+for(element in data) {
+   var obj = data[element];
+   if(obj[1].toString() == key) {
+ this.setValue(obj[0].toString());
+ this.comboBoxSelectionValue.value = obj[1].toString();
+   }
+}
+  },
+  
+  getSelectedKey : function() {
+return this.comboBoxSelectionValue.value;
+  },
+  
+  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();
+   }
+}
+  },
+  
+  getSelectedValue : function() {
+return this.comboBoxValue.value;
+  },
+  
+  getText : function() {
+return this.textInputNode.value();
   }
 });