[CONF] Confluence Changes in the last 24 hours

2006-11-25 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

Apache Geronimo Development (GMOxDEV) 
http://cwiki.apache.org/confluence/display/GMOxDEV
|
|-Pages Added or Edited in This Space
 |-- Geronimo Kernel was created by ryan (05:22 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDEV/Geronimo+Kernel
 |-- Geronimo Architecture was created by ryan (12:42 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDEV/Geronimo+Architecture

Apache Directory Server v1.1 Documentation (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- MetaSchema was last edited by elecharny (04:34 PM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/MetaSchema
 |-- Proposed RFCs was last edited by elecharny (08:48 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/Proposed+RFCs
 |-- Cookbook Documentation Template was last edited by [EMAIL PROTECTED] 
(08:17 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Cookbook+Documentation+Template
 |-- Features Brainstorming was created by pamarcelot (01:44 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Features+Brainstorming
 |-- LDAP Browser Plugin was last edited by pamarcelot (01:32 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/LDAP+Browser+Plugin

Apache Geronimo v1.1 (GMOxDOC11) 
http://cwiki.apache.org/confluence/display/GMOxDOC11
|
|-Pages Added or Edited in This Space
 |-- JBoss to Geronimo - EJB-CMP Migration was created by [EMAIL PROTECTED] 
(12:28 AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC11/JBoss+to+Geronimo+-+EJB-CMP+Migration
 |-- JBoss to Geronimo - EJB-BMP Migration was created by [EMAIL PROTECTED] 
(12:27 AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC11/JBoss+to+Geronimo+-+EJB-BMP+Migration
 |-- Migrating to Apache Geronimo was last edited by [EMAIL PROTECTED] (12:26 
AM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC11/Migrating+to+Apache+Geronimo

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- Using Tags was last edited by [EMAIL PROTECTED] (02:11 PM).
 |   http://cwiki.apache.org/confluence/display/WW/Using+Tags

Apache Directory Server v1.0 Documentation (DIRxSRVx10) 
http://cwiki.apache.org/confluence/display/DIRxSRVx10
|
|-Pages Added or Edited in This Space
 |-- Basic Configuration was last edited by ck (02:42 PM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx10/Basic+Configuration

Apache MINA (MINA) http://cwiki.apache.org/confluence/display/MINA
|
|-Pages Added or Edited in This Space
 |-- Reporting a Bug was last edited by trustin (08:14 PM).
 |   http://cwiki.apache.org/confluence/display/MINA/Reporting+a+Bug
 |-- Index was last edited by trustin (08:11 PM).
 |   http://cwiki.apache.org/confluence/display/MINA/Index
 |-- Getting Involved was created by trustin (08:09 PM).
 |   http://cwiki.apache.org/confluence/display/MINA/Getting+Involved
 |-- Asynchronous File IO in Java was created by mheath (11:44 AM).
 |   
http://cwiki.apache.org/confluence/display/MINA/Asynchronous+File+IO+in+Java
 |
 |-New Comments in This Space
 |-- 
http://cwiki.apache.org/confluence/display/MINA/Asynchronous+File+IO+in+Java (1)


-
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/administrators.action

If you want more information on Confluence, or have a bug to report see
   http://www.atlassian.com/software/confluence




svn commit: r479236 - in /struts/struts2/trunk: apps/showcase/src/main/resources/ apps/showcase/src/main/webapp/ajax/ core/src/main/java/org/apache/struts2/components/ core/src/main/java/org/apache/st

2006-11-25 Thread husted
Author: husted
Date: Sat Nov 25 15:46:21 2006
New Revision: 479236

URL: http://svn.apache.org/viewvc?view=rev&rev=479236
Log:
WW-1520 Add Autocompleter AJAX tag - Apply patch submitted by Musachy Barroso

In the showcase, the ajax/autocompleter/index.jsp page doesn't seem to work 
correctly for me. There are four dropdown controls, but only the second (using 
a local list) presents a list for me. The third control (force valid options) 
does seem to clear whatever I put in, but I don't know what the valid values 
are suppose to be (become no list drops down). I seem to have the same problems 
with IE and FF. 

Modified:
struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp

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

struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/velocity/VelocityManager.java
struts/struts2/trunk/core/src/main/resources/META-INF/struts-tags.tld
struts/struts2/trunk/core/src/main/resources/template/ajax/div-close.ftl

Modified: struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml?view=diff&rev=479236&r1=479235&r2=479236
==
--- struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml 
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml Sat 
Nov 25 15:46:21 2006
@@ -28,6 +28,10 @@
 /ajax/testjs.jsp
 
 
+
+/ajax/JSONList.js
+
+
 
 /ajax/tree/tree.jsp
 

Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp?view=diff&rev=479236&r1=479235&r2=479236
==
--- struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp (original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp Sat Nov 
25 15:46:21 2006
@@ -9,6 +9,7 @@
 
 
 Remote div tag
+Autocompleter combobox tag
 Remote link tag
Remote button tag
 Tabbed panel

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComboBox.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComboBox.java?view=diff&rev=479236&r1=479235&r2=479236
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComboBox.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComboBox.java
 Sat Nov 25 15:46:21 2006
@@ -110,9 +110,7 @@
 public void evaluateExtraParams() {
 super.evaluateExtraParams();
 
-Object value = findValue(list, "list",
-"You must specify a collection/array/map/enumeration/iterator. 
" +
-"Example: people or people.{name}");
+Object value = findListValue();
 
 if (headerKey != null) {
 addParameter("headerKey", findString(headerKey));
@@ -124,44 +122,49 @@
 addParameter("emptyOption", findValue(emptyOption, Boolean.class));
 }
 
-if (value instanceof Collection) {
-Collection tmp = (Collection) value;
-addParameter("list", tmp);
-if (listKey != null) {
-addParameter("listKey", listKey);
-}
-if (listValue != null) {
-addParameter("listValue", listValue);
-}
-}
-else if (value instanceof Map) {
-Map tmp = (Map) value;
-addParameter("list", MakeIterator.convert(tmp));
-addParameter("listKey", "key");
-addParameter("listValue", "value");
-}
-else if (value.getClass().isArray()) {
-Iterator i = MakeIterator.convert(value);
-addParameter("list", i);
-if (listKey != null) {
-addParameter("listKey", listKey);
-}
-if (listValue != null) {
-addParameter("listValue", listValue);
-}
-}
-else {
-Iterator i = MakeIterator.convert(value);
-addParameter("list", i);
-if (listKey != null) {
-addParameter("listKey", listKey);
-}
-if (listValue != null) {
-addParameter("listValue", listValue);
+if (value != null) {
+if (value instanceof Collection) {
+Collection tmp = (Collection) value;
+addParameter("list", tmp);
+if (listKey != null) {
+addParameter("lis

svn commit: r479239 - /struts/struts2/trunk/apps/showcase/src/main/webapp/showcase.jsp

2006-11-25 Thread husted
Author: husted
Date: Sat Nov 25 16:00:34 2006
New Revision: 479239

URL: http://svn.apache.org/viewvc?view=rev&rev=479239
Log:
WW-1483 Conform Showcase index page with menu bar, since many of the index page 
links were turning up broken. 

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

Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/showcase.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/showcase.jsp?view=diff&rev=479239&r1=479238&r2=479239
==
--- struts/struts2/trunk/apps/showcase/src/main/webapp/showcase.jsp (original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/showcase.jsp Sat Nov 25 
16:00:34 2006
@@ -12,71 +12,34 @@
 
 
 
-Showcase samples
-
-The given examples will demonstrate the usages of all Struts tags as well 
as validations etc.
+The Struts Showcase demonstrates the usages of all Struts tags as well as 
validations, and so forth
 
 
-
-
-Configuration browser (Great for development!)
-
-
-Continuations Example
-
-
-Tags 
Examples
-
-
-File 
Upload Example
-
-
-CRUD 
Examples
-
-
-PersonManager 
Sample
-
-
-Validation 
Examples
 
-
-AJAX 
Examples
-
-
-Action Chaining Example
+<%-- THIS LIST IS MAINTAINED IN MAIN.JSP TO CREATE THE MENU BAR -- EDIT 
THERE AND COPY HERE --%>
 
-
-Execute and Wait 
Examples
-
-
-Token Examples 
(double post)
-
-
-File 
Download Example
-
-
-Model Driven Example
-
-
-Conversion Example
-
-
-Freemarker Example
-
-
-JavaServer 
Faces Example
-
-
-Struts 1.3 Integration 
Example
-
-
-Chat (AJAX) 
Example
-
-
-Hangman (AJAX and Non AJAX) Example
-
-
-Tiles Example
+
+">Config Browser
+">Continuations
+">Tags
+">File Upload
+">CRUD
+">Person Manager
+">Validation
+">AJAX
+">Action Chaining
+">Execute & Wait
+">Token
+">File 
Download
+">Conversion
+">JSF
+">Freemarker
+">Chat (AJAX)
+">Hangman
+">Fileupload
+">Tiles
+">Help
+
 
 
 




svn commit: r479244 - in /struts/struts1/trunk/taglib/src/main: java/org/apache/struts/taglib/html/BaseHandlerTag.java resources/META-INF/tld/struts-html.tld resources/META-INF/tld/struts-nested.tld

2006-11-25 Thread pbenedict
Author: pbenedict
Date: Sat Nov 25 16:47:09 2006
New Revision: 479244

URL: http://svn.apache.org/viewvc?view=rev&rev=479244
Log:
STR-1559: Added dir and lang attributes to regular+nested taglibs

Modified:

struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/BaseHandlerTag.java
struts/struts1/trunk/taglib/src/main/resources/META-INF/tld/struts-html.tld

struts/struts1/trunk/taglib/src/main/resources/META-INF/tld/struts-nested.tld

Modified: 
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/BaseHandlerTag.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/BaseHandlerTag.java?view=diff&rev=479244&r1=479243&r2=479244
==
--- 
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/BaseHandlerTag.java
 (original)
+++ 
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/BaseHandlerTag.java
 Sat Nov 25 16:47:09 2006
@@ -242,13 +242,23 @@
  * The name of the session attribute key for our locale.
  */
 private String locale = Globals.LOCALE_KEY;
-
+
 /**
  * The advisory title of this element.
  */
 private String title = null;
 
 /**
+ * The language code of this element.
+ */
+private String lang = null;
+
+/**
+ * The direction for weak/neutral text of this element.
+ */
+private String dir = null;
+
+/**
  * The message resources key of the advisory title.
  */
 private String titleKey = null;
@@ -728,6 +738,42 @@
 this.titleKey = titleKey;
 }
 
+/**
+ * Returns the language code of this element.
+ * 
+ * @since Struts 1.3.6
+ */
+public String getLang() {
+return this.lang;
+}
+
+/**
+ * Sets the language code of this element.
+ * 
+ * @since Struts 1.3.6
+ */
+public void setLang(String lang) {
+this.lang = lang;
+}
+
+/**
+ * Returns the direction for weak/neutral text this element.
+ * 
+ * @since Struts 1.3.6
+ */
+public String getDir() {
+return this.dir;
+}
+
+/**
+ * Sets the direction for weak/neutral text of this element.
+ * 
+ * @since Struts 1.3.6
+ */
+public void setDir(String dir) {
+this.dir = dir;
+}
+
 // - Public Methods
 
 /**
@@ -942,6 +988,7 @@
 
 prepareAttribute(styles, "title", message(getTitle(), getTitleKey()));
 prepareAttribute(styles, "alt", message(getAlt(), getAltKey()));
+prepareInternationalization(styles);
 
 return styles.toString();
 }
@@ -981,7 +1028,7 @@
 throws JspException {
 return null;
 }
-
+
 /**
  * Prepares the event handlers for inclusion in the component's HTML tag.
  *
@@ -1075,6 +1122,18 @@
 handlers.append(" readonly=\"readonly\"");
 }
 }
+}
+
+/**
+ * Prepares the internationalization attribtes, appending them to the the 
given
+ * StringBuffer.
+ *
+ * @param handlers The StringBuffer that output will be appended to.
+ * @since Struts 1.3.6
+ */
+protected void prepareInternationalization(StringBuffer handlers) {
+prepareAttribute(handlers, "lang", getLang());
+prepareAttribute(handlers, "dir", getDir());
 }
 
 /**

Modified: 
struts/struts1/trunk/taglib/src/main/resources/META-INF/tld/struts-html.tld
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/main/resources/META-INF/tld/struts-html.tld?view=diff&rev=479244&r1=479243&r2=479244
==
--- struts/struts1/trunk/taglib/src/main/resources/META-INF/tld/struts-html.tld 
(original)
+++ struts/struts1/trunk/taglib/src/main/resources/META-INF/tld/struts-html.tld 
Sat Nov 25 16:47:09 2006
@@ -151,6 +151,18 @@
 
 
 
+dir
+false
+true
+
+
+
+
+
 disabled
 false
 true
@@ -177,6 +189,18 @@
 
 
 
+lang
+false
+true
+
+
+
+
+
 onblur
 false
 true
@@ -471,6 +495,18 @@
 
 
 
+dir
+false
+true
+
+
+
+
+
 disabled
 false
 true
@@ -483,6 +519,18 @@
 
 
 
+lang
+false
+true
+
+
+
+
+
 onblur
 false
 true
@@ -795,6 +843,18 @@
  

svn commit: r479243 - /struts/struts1/trunk/apps/cookbook/src/main/webapp/jsp/localization/Localization.jsp

2006-11-25 Thread pbenedict
Author: pbenedict
Date: Sat Nov 25 16:46:58 2006
New Revision: 479243

URL: http://svn.apache.org/viewvc?view=rev&rev=479243
Log:
STR-1559: Added dir and lang attributes to regular+nested taglibs

Modified:

struts/struts1/trunk/apps/cookbook/src/main/webapp/jsp/localization/Localization.jsp

Modified: 
struts/struts1/trunk/apps/cookbook/src/main/webapp/jsp/localization/Localization.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/apps/cookbook/src/main/webapp/jsp/localization/Localization.jsp?view=diff&rev=479243&r1=479242&r2=479243
==
--- 
struts/struts1/trunk/apps/cookbook/src/main/webapp/jsp/localization/Localization.jsp
 (original)
+++ 
struts/struts1/trunk/apps/cookbook/src/main/webapp/jsp/localization/Localization.jsp
 Sat Nov 25 16:46:58 2006
@@ -30,8 +30,8 @@
French
German
Spanish
-   Italian
-   Portuguese
+   Italian
+   Portuguese
 
 
 




svn commit: r479263 - in /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components: Label.java Reset.java TextField.java UIBean.java

2006-11-25 Thread husted
Author: husted
Date: Sat Nov 25 19:13:06 2006
New Revision: 479263

URL: http://svn.apache.org/viewvc?view=rev&rev=479263
Log:
WW-1458 Enable use of both key and name attributes. Update some related 
Javadocs.

Modified:

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

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

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

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

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Label.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Label.java?view=diff&rev=479263&r1=479262&r2=479263
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Label.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Label.java
 Sat Nov 25 19:13:06 2006
@@ -34,13 +34,18 @@
  *  Examples
  * 
  * 
- * In this example, a label is rendered. The label is retrieved from a 
ResourceBundle by calling ActionSupport's
- * getText() method giving you an output of 'User Name:tm_jee'. Assuming that 
i18n message user_name corresponds
- * to 'User Name' and the action's getUserName() method returns 'tm_jee'
+ * In this example, a label is rendered. The label is retrieved from a 
ResourceBundle via the key attribute
+ * giving you an output of 'User Name: Ford.Prefect'. Assuming that i18n 
message userName corresponds
+ * to 'User Name' and the action's getUserName() method returns 
'Ford.Prefect'
  * 
  * 
  * 
- * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
  * 
  * 
  *

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Reset.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Reset.java?view=diff&rev=479263&r1=479262&r2=479263
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Reset.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Reset.java
 Sat Nov 25 19:13:06 2006
@@ -41,14 +41,14 @@
  *
  * 
  * 
- * 
+ * 
  * 
  * 
  *
  * 
  * 
  * Render an button reset:
- * 
+ * 
  * 
  * 
  *

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextField.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextField.java?view=diff&rev=479263&r1=479262&r2=479263
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextField.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextField.java
 Sat Nov 25 19:13:06 2006
@@ -33,15 +33,20 @@
  *  Examples
  * 
  * 
- * In this example, a text control is rendered. The label is retrieved from a 
ResourceBundle by calling
- * ActionSupport's getText() method.
+ * In this example, a text control for the "user" property is rendered. The 
label is also retrieved from a ResourceBundle via the key attribute.
  * 
  * 
  * 
- * 
+ * 
  * 
  * 
  *
+ * 
+ * 
+ * 
+ * 
+ * 
+
  * @s.tag name="textfield" tld-body-content="JSP" 
tld-tag-class="org.apache.struts2.views.jsp.ui.TextFieldTag"
  * description="Render an HTML input field of type text"
  */

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java?view=diff&rev=479263&r1=479262&r2=479263
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
 Sat Nov 25 19:13:06 2006
@@ -590,19 +590,16 @@
 String name = null;
 
 if (this.key != null) {
+
if(this.name == null) {
 this.name = key;
 }
 
 if(this.label == null) {
-this.label = "%{getText('"+key +"')}";
+this.label = "%{getText('"+ key +"')}";
 }
 
-if(this.value == null) {
-this.value = "%{"+key +"}";
-