[CONF] Confluence Changes in the last 24 hours

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

-
Updated Spaces:
-

Apache Directory Server v1.1 Documentation (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- Apache DS initialization was last edited by jconlon (11:27 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Apache+DS+initialization
 |-- Replication Requirements was last edited by akarasulu (09:15 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Replication+Requirements
 |-- TripleSec was created by akarasulu (09:09 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/TripleSec

Apache Geronimo v1.1 (GMOxDOC11) 
http://cwiki.apache.org/confluence/display/GMOxDOC11
|
|-Pages Added or Edited in This Space
 |-- openejb-jar.xml was last edited by [EMAIL PROTECTED] (08:46 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC11/openejb-jar.xml

Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW
|
|-Pages Added or Edited in This Space
 |-- Interceptors was last edited by [EMAIL PROTECTED] (08:29 AM).
 |   http://cwiki.apache.org/confluence/display/WW/Interceptors
 |-- CRUD Demo I was last edited by [EMAIL PROTECTED] (06:08 AM).
 |   http://cwiki.apache.org/confluence/display/WW/CRUD+Demo+I

Apache Directory Server v1.0 Documentation (DIRxSRVx10) 
http://cwiki.apache.org/confluence/display/DIRxSRVx10
|
|-Pages Added or Edited in This Space
 |-- How to enable SSL was last edited by szoerner (10:19 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx10/How+to+enable+SSL
 |-- What you need to know first was last edited by szoerner (08:28 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/What+you+need+to+know+first
 |-- ApacheDS v1.0 Basic User's Guide was last edited by szoerner (05:23 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/ApacheDS+v1.0+Basic+User%27s+Guide
 |-- Mozilla Thunderbird was last edited by szoerner (05:23 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx10/Mozilla+Thunderbird

Apache Cayenne (CAY) http://cwiki.apache.org/confluence/display/CAY
|
|-Pages Added or Edited in This Space
 |-- Unilever Germany Deploys a Cayenne-based Media management System was 
created by andrus (10:21 AM).
 |   
http://cwiki.apache.org/confluence/display/CAY/2006/11/26/Unilever+Germany+Deploys+a+Cayenne-based+Media+management+System

Apache Struts 2 Wiki (S2WIKI) http://cwiki.apache.org/confluence/display/S2WIKI
|
|-Pages Added or Edited in This Space
 |-- Tiles2 Graduation Proposal was last edited by ddewolf (06:27 AM).
 |   
http://cwiki.apache.org/confluence/display/S2WIKI/Tiles2+Graduation+Proposal

Apache MINA (MINA) http://cwiki.apache.org/confluence/display/MINA
|
|-Pages Added or Edited in This Space
 |-- Documentation was last edited by trustin (11:59 PM).
 |   http://cwiki.apache.org/confluence/display/MINA/Documentation
 |-- Mailing Lists was last edited by trustin (06:30 AM).
 |   http://cwiki.apache.org/confluence/display/MINA/Mailing+Lists

Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET
|
|-Pages Added or Edited in This Space
 |-- Multiple submit buttons was last edited by novotnyr (05:42 AM).
 |   http://cwiki.apache.org/confluence/display/WICKET/Multiple+submit+buttons


-
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: r479633 - in /struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html: BaseHandlerTag.java FormTag.java OptionTag.java

2006-11-27 Thread pbenedict
Author: pbenedict
Date: Mon Nov 27 06:25:35 2006
New Revision: 479633

URL: http://svn.apache.org/viewvc?view=rev&rev=479633
Log:
STR-1559: Added missing dir and lang attributes to FormTag+OptionTag, and 
cleared the properties on release

Modified:

struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/BaseHandlerTag.java

struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java

struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/OptionTag.java

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=479633&r1=479632&r2=479633
==
--- 
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
 Mon Nov 27 06:25:35 2006
@@ -785,11 +785,13 @@
 alt = null;
 altKey = null;
 bundle = null;
+dir = null;
 errorKey = Globals.ERROR_KEY;
 errorStyle = null;
 errorStyleClass = null;
 errorStyleId = null;
 indexed = false;
+lang = null;
 locale = Globals.LOCALE_KEY;
 onclick = null;
 ondblclick = null;

Modified: 
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java?view=diff&rev=479633&r1=479632&r2=479633
==
--- 
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java
 (original)
+++ 
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java
 Mon Nov 27 06:25:35 2006
@@ -190,6 +190,16 @@
  */
 protected boolean readonly = false;
 
+/**
+ * The language code of this element.
+ */
+private String lang = null;
+
+/**
+ * The direction for weak/neutral text of this element.
+ */
+private String dir = null;
+
 // - Properties
 
 /**
@@ -406,6 +416,42 @@
 return readonly;
 }
 
+/**
+ * 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
 
 /**
@@ -495,7 +541,9 @@
 renderAction(results);
 renderAttribute(results, "accept-charset", getAcceptCharset());
 renderAttribute(results, "class", getStyleClass());
+renderAttribute(results, "dir", getDir());
 renderAttribute(results, "enctype", getEnctype());
+renderAttribute(results, "lang", getLang());
 renderAttribute(results, "onreset", getOnreset());
 renderAttribute(results, "onsubmit", getOnsubmit());
 renderAttribute(results, "style", getStyle());
@@ -716,9 +764,11 @@
 action = null;
 moduleConfig = null;
 enctype = null;
+dir = null;
 disabled = false;
 focus = null;
 focusIndex = null;
+lang = null;
 mapping = null;
 method = null;
 onreset = null;

Modified: 
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/OptionTag.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/OptionTag.java?view=diff&rev=479633&r1=479632&r2=479633
==
--- 
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/OptionTag.java
 (original)
+++ 
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/OptionTag.java
 Mon Nov 27 06:25:35 2006
@@ -97,6 +97,16 @@
 protected String styleId = 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 server value 

svn commit: r479635 [2/2] - in /struts/struts1/trunk/el/src/main: java/org/apache/strutsel/taglib/html/ resources/META-INF/tld/

2006-11-27 Thread pbenedict
Modified: 
struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELTextareaTagBeanInfo.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELTextareaTagBeanInfo.java?view=diff&rev=479635&r1=479634&r2=479635
==
--- 
struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELTextareaTagBeanInfo.java
 (original)
+++ 
struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELTextareaTagBeanInfo.java
 Mon Nov 27 06:27:18 2006
@@ -72,6 +72,12 @@
 }
 
 try {
+proplist.add(new PropertyDescriptor("dir", ELTextareaTag.class,
+null, "setDirExpr"));
+} catch (IntrospectionException ex) {
+}
+
+try {
 proplist.add(new PropertyDescriptor("disabled",
 ELTextareaTag.class, null, "setDisabledExpr"));
 } catch (IntrospectionException ex) {
@@ -104,6 +110,12 @@
 try {
 proplist.add(new PropertyDescriptor("indexed", ELTextareaTag.class,
 null, "setIndexedExpr"));
+} catch (IntrospectionException ex) {
+}
+
+try {
+proplist.add(new PropertyDescriptor("lang", ELTextareaTag.class,
+null, "setLangExpr"));
 } catch (IntrospectionException ex) {
 }
 

Modified: 
struts/struts1/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld?view=diff&rev=479635&r1=479634&r2=479635
==
--- struts/struts1/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld 
(original)
+++ struts/struts1/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld 
Mon Nov 27 06:27:18 2006
@@ -142,6 +142,18 @@
 
 
 
+dir
+false
+true
+
+
+
+
+
 disabled
 false
 true
@@ -164,6 +176,18 @@
 
 
 
+lang
+false
+true
+
+
+
+
+
 onblur
 false
 true
@@ -431,6 +455,18 @@
 
 
 
+dir
+false
+true
+
+
+
+
+
 disabled
 false
 true
@@ -441,6 +477,18 @@
 
 
 
+lang
+false
+true
+
+
+
+
+
 onblur
 false
 true
@@ -725,6 +773,18 @@
 
 
 
+dir
+false
+true
+
+
+
+
+
 disabled
 false
 true
@@ -814,6 +874,18 @@
 
 
 
+lang
+false
+true
+
+
+
+
+
 name
 false
 true
@@ -1276,6 +1348,18 @@
 
 
 
+dir
+false
+true
+
+
+
+
+
 disabled
 false
 true
@@ -1366,6 +1450,18 @@
 
 
 
+lang
+false
+true
+
+
+
+
+
 maxlength
 false
 true
@@ -1684,6 +1780,18 @@
 
 
 
+dir
+false
+true
+
+
+
+
+
 disabled
 false
 true
@@ -1737,6 +1845,18 @@
 
 
 
+lang
+false
+true
+
+
+
+
+
 method
 false
 true
@@ -2345,6 +2465,18 @@
 
 
 
+dir
+false
+true
+
+
+
+
+
 disabled
 false
 true
@@ -2367,6 +2499,18 @@
 
 
 
+lang
+false
+true
+
+
+
+
+
 name
 false
 true
@@ -2715,6 +2859,18 @@
 
 
 
+dir
+false
+true
+
+
+
+
+
 disabled
 false
 

svn commit: r479637 - /struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELFormTagBeanInfo.java

2006-11-27 Thread pbenedict
Author: pbenedict
Date: Mon Nov 27 06:35:06 2006
New Revision: 479637

URL: http://svn.apache.org/viewvc?view=rev&rev=479637
Log:
STR-2977: Fix disabled+readonly attributes to reference ELFormTag

Modified:

struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELFormTagBeanInfo.java

Modified: 
struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELFormTagBeanInfo.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELFormTagBeanInfo.java?view=diff&rev=479637&r1=479636&r2=479637
==
--- 
struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELFormTagBeanInfo.java
 (original)
+++ 
struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELFormTagBeanInfo.java
 Mon Nov 27 06:35:06 2006
@@ -49,7 +49,7 @@
 }
 
 try {
-proplist.add(new PropertyDescriptor("disabled", ELTextTag.class,
+proplist.add(new PropertyDescriptor("disabled", ELFormTag.class,
 null, "setDisabledExpr"));
 } catch (IntrospectionException ex) {
 }
@@ -103,7 +103,7 @@
 }
 
 try {
-proplist.add(new PropertyDescriptor("readonly", ELTextTag.class,
+proplist.add(new PropertyDescriptor("readonly", ELFormTag.class,
 null, "setReadonlyExpr"));
 } catch (IntrospectionException ex) {
 }




svn commit: r479638 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/velocity/components/AutocompleterDirective.java

2006-11-27 Thread husted
Author: husted
Date: Mon Nov 27 06:35:22 2006
New Revision: 479638

URL: http://svn.apache.org/viewvc?view=rev&rev=479638
Log:
WW-1520 Add missing file from r479236

Added:

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

Added: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/velocity/components/AutocompleterDirective.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/velocity/components/AutocompleterDirective.java?view=auto&rev=479638
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/velocity/components/AutocompleterDirective.java
 (added)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/velocity/components/AutocompleterDirective.java
 Mon Nov 27 06:35:22 2006
@@ -0,0 +1,46 @@
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.struts2.views.velocity.components;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.struts2.components.Autocompleter;
+import org.apache.struts2.components.Bean;
+import org.apache.struts2.components.Component;
+
+import com.opensymphony.xwork2.util.ValueStack;
+
+/**
+ * @see Autocompleter
+ */
+public class AutocompleterDirective extends AbstractDirective {
+
+protected Component getBean(ValueStack stack, HttpServletRequest req,
+HttpServletResponse res) {
+return new Autocompleter(stack, req, res);
+}
+
+public String getBeanName() {
+return "autocompleter";
+}
+
+}




svn commit: r479654 - in /struts/struts1/trunk/src/site/xdoc/userGuide: release-notes-1_3_5.xml release-notes.xml

2006-11-27 Thread husted
Author: husted
Date: Mon Nov 27 07:13:37 2006
New Revision: 479654

URL: http://svn.apache.org/viewvc?view=rev&rev=479654
Log:
STR-2978 svn copy release-notes.xml as release-notes-1_3_5.xml and update for 
1.3.6. 

Added:
struts/struts1/trunk/src/site/xdoc/userGuide/release-notes-1_3_5.xml
  - copied unchanged from r479643, 
struts/struts1/trunk/src/site/xdoc/userGuide/release-notes.xml
Modified:
struts/struts1/trunk/src/site/xdoc/userGuide/release-notes.xml

Modified: struts/struts1/trunk/src/site/xdoc/userGuide/release-notes.xml
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/src/site/xdoc/userGuide/release-notes.xml?view=diff&rev=479654&r1=479653&r2=479654
==
--- struts/struts1/trunk/src/site/xdoc/userGuide/release-notes.xml (original)
+++ struts/struts1/trunk/src/site/xdoc/userGuide/release-notes.xml Mon Nov 27 
07:13:37 2006
@@ -19,10 +19,10 @@
 
 
 
-Release Notes (since 1.3.3)
+Release Notes (since 1.3.5)
 
 
-
+
 
 
 "I've had nothing yet, so I can't take more."
@@ -31,46 +31,20 @@
 nothing." 
 
 
-
-
-SPECIAL NOTE ON UPGRADING - README FIRST!
-- If you use the standard
-CANCEL BUTTON
-in your application
-and validate is set to true for that mapping, you
-MUST
-also specify "cancellable=true" in the mapping, otherwise,
-an InvalidCancelException will be thrown if the Cancel 
button is
-used. See the new
-Opt-In Cancel 
Handling
-feature for more.
-
-
-
-
-
-
-
-
 
 
 
 This section contains release notes for changes that have
 taken place to Struts,
 since the
-Version 1.3.3
+Version 1.3.5
 distribution.
 To keep up-to-date on all changes to the framework, 
 subscribe to
 the (commits at struts.apache.org) list.
 To preview our plans for upcoming changes,
 please visit the
-Roadmap page
-.
+Roadmap page.
 
 
 Notes on upgrading
@@ -94,11 +68,10 @@
 
 The purpose of this section is to highlight the new
 features since the
-Version 1.3.3 
distribution.
+Version 1.3.5 
distribution.
 For more detail, see the Project Info reports for each
 component,
-which include a list of external
-dependencies.
+which include a list of external dependencies.
 
 
 You can also access to the Apache Struts source repository 
and
@@ -111,79 +84,16 @@
 interfaces.
 
 
-Components
-
-
-The Struts 1.3.5 distribution contains the eight
-components: Core, Applications, EL, Extras, Faces, 
-Scripting, Taglib, and Tiles.
-
-
-
-The entire Struts distribution, including the website, 
-is being built with Maven 2.
-But, of course, you can continue to build your own
-projects any way you like!
-
-
-Specification Changes
-
-The 1.3.x series of Struts has
-a minimum requirement of the following specification
-versions:
-
-
-Java Servlet 2.3 and JavaServer Pages (JSP) 1.2
-
-
-Java 2 Standard Platform Edition (J2SE) 1.4
-
-
-
-Dependency Changes
-
-A following software dependency change applies to this 
distribution:
-
-
-Upgraded to Commons Validator 1.3 (previously 1.2) 
-
- 

svn commit: r479748 - /struts/struts1/trunk/pom.xml

2006-11-27 Thread pbenedict
Author: pbenedict
Date: Mon Nov 27 12:24:13 2006
New Revision: 479748

URL: http://svn.apache.org/viewvc?view=rev&rev=479748
Log:
STR-2978: Specify version of maven-source-plugin

Modified:
struts/struts1/trunk/pom.xml

Modified: struts/struts1/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/pom.xml?view=diff&rev=479748&r1=479747&r2=479748
==
--- struts/struts1/trunk/pom.xml (original)
+++ struts/struts1/trunk/pom.xml Mon Nov 27 12:24:13 2006
@@ -169,6 +169,10 @@
 2.0-beta-4
 
 
+maven-source-plugin
+2.0.1
+
+
 maven-jar-plugin
 2.1
 




svn commit: r479753 - /struts/struts1/trunk/pom.xml

2006-11-27 Thread pbenedict
Author: pbenedict
Date: Mon Nov 27 12:33:55 2006
New Revision: 479753

URL: http://svn.apache.org/viewvc?view=rev&rev=479753
Log:
STR-2839: Updated config to aggregate javadoc

Modified:
struts/struts1/trunk/pom.xml

Modified: struts/struts1/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/pom.xml?view=diff&rev=479753&r1=479752&r2=479753
==
--- struts/struts1/trunk/pom.xml (original)
+++ struts/struts1/trunk/pom.xml Mon Nov 27 12:33:55 2006
@@ -224,6 +224,9 @@
  
 
 maven-javadoc-plugin
+
+  true
+
 
 
 maven-surefire-report-plugin




svn commit: r479779 - /struts/struts1/trunk/pom.xml

2006-11-27 Thread pbenedict
Author: pbenedict
Date: Mon Nov 27 13:57:02 2006
New Revision: 479779

URL: http://svn.apache.org/viewvc?view=rev&rev=479779
Log:
STR-2942: DTDDoc 1.0 has been released. I have removed the temporary profile 
and moved the plug-in into the reporting section.

Modified:
struts/struts1/trunk/pom.xml

Modified: struts/struts1/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/pom.xml?view=diff&rev=479779&r1=479778&r2=479779
==
--- struts/struts1/trunk/pom.xml (original)
+++ struts/struts1/trunk/pom.xml Mon Nov 27 13:57:02 2006
@@ -94,38 +94,6 @@
 assembly
 
 
-
-
-dtddoc
-
-true
-
-
-
-dtddoc
-http://dtddoc.sf.net/maven2
-
-
-
-
-dtddoc
-http://dtddoc.sf.net/maven2
-
-
-
-
-
-net.sf.dtddoc
-dtddoc-maven-plugin
-
-
-**/web-app*
-
-
-
-
-
-
 
 
 
@@ -184,6 +152,11 @@
 
 
 
+
+ net.sf.dtddoc
+ dtddoc-maven-plugin
+1.0.0
+ 
 
 
 
@@ -243,6 +216,15 @@
 
 
 maven-pmd-plugin
+
+
+net.sf.dtddoc
+dtddoc-maven-plugin
+
+
+**/web-app*
+
+
 
 
 




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

2006-11-27 Thread mrdon
Author: mrdon
Date: Mon Nov 27 16:19:54 2006
New Revision: 479821

URL: http://svn.apache.org/viewvc?view=rev&rev=479821
Log:
Adding missing Autocompleter class from WW-1520

Added:

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

Added: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Autocompleter.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Autocompleter.java?view=auto&rev=479821
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Autocompleter.java
 (added)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Autocompleter.java
 Mon Nov 27 16:19:54 2006
@@ -0,0 +1,160 @@
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.struts2.components;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.struts2.views.util.UrlHelper;
+
+import com.opensymphony.xwork2.util.ValueStack;
+
+/**
+ * The autocomplete tag is a combobox that can autocomplete text entered on 
the input box.
+ * When used on the "simple" theme, the autocompleter can be used like the 
ComboBox.
+ * When used on the "ajax" theme, the list can be retieved from an action. 
This action must
+ * return a JSON list in the format:
+ * 
+ * [
+ *   ["Text 1","Value1"],
+ *   ["Text 2","Value2"],
+ *   ["Text 3","Value3"]
+ * ] 
+ * 
+ * THE FOLLOWING IS ONLY VALID WHEN AJAX IS CONFIGURED
+ * 
+ *  href
+ * 
+ * @s.tag name="autocompleter" tld-body-content="JSP" 
tld-tag-class="org.apache.struts2.views.jsp.ui.AutocompleterTag"
+ *description="Renders a combobox with autocomplete and AJAX 
capabilities"
+ */
+public class Autocompleter extends ComboBox {
+public static final String TEMPLATE = "autocompleter";
+final private static String COMPONENT_NAME = Autocompleter.class.getName();
+
+private String forceValidOption;
+private String searchType;
+private String autoComplete;
+private String searchDelay;
+private String disabled;
+private String href;
+private String listLength;
+
+
+public Autocompleter(ValueStack stack, HttpServletRequest request,
+HttpServletResponse response) {
+super(stack, request, response);
+}
+
+protected String getDefaultTemplate() {
+return TEMPLATE;
+}
+
+public String getComponentName() {
+return COMPONENT_NAME;
+}
+
+public void evaluateParams() {
+super.evaluateParams();
+
+if (forceValidOption != null)
+addParameter("forceValidOption", findValue(forceValidOption,
+Boolean.class));
+if (searchType != null)
+addParameter("searchType", findString(searchType));
+if (autoComplete != null)
+addParameter("autoComplete", findValue(autoComplete, 
Boolean.class));
+if (searchDelay != null)
+addParameter("searchDelay", findValue(searchDelay, Integer.class));
+if (disabled != null)
+addParameter("disabled", findValue(disabled, Boolean.class));
+if (href != null) {
+addParameter("href", UrlHelper.buildUrl(findString(href), request,
+response, null));
+addParameter("mode", "remote");
+} 
+if (listLength != null)
+addParameter("listLength", findValue(listLength, Integer.class));
+
+}
+
+
+protected Object findListValue() {
+return (list != null) ? findValue(list, Object.class) : null;
+}
+
+/**
+ * sets if combobox must perform autocomplete
+ * @s.tagattribute required="false" type="Boolean" default="true"
+ */
+public void setAutoComplete(String autoComplete) {
+this.autoComplete = autoComplete;
+}
+
+/**
+ * sets combobox to enabled or disabled
+ * @s.tagattribute required="false" type="Boolean" default="false"
+ */
+public void setDisabled(String disabled) {
+this.disabled = disabled;
+}
+
+/**
+ * 

svn commit: r479828 - /struts/struts2/trunk/apps/blank/pom.xml

2006-11-27 Thread mrdon
Author: mrdon
Date: Mon Nov 27 16:49:54 2006
New Revision: 479828

URL: http://svn.apache.org/viewvc?view=rev&rev=479828
Log:
Fixed unit tests not passing for blank webapp
WW-1483

Modified:
struts/struts2/trunk/apps/blank/pom.xml

Modified: struts/struts2/trunk/apps/blank/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/blank/pom.xml?view=diff&rev=479828&r1=479827&r2=479828
==
--- struts/struts2/trunk/apps/blank/pom.xml (original)
+++ struts/struts2/trunk/apps/blank/pom.xml Mon Nov 27 16:49:54 2006
@@ -27,6 +27,14 @@
 provided
 
 
+
+javax.servlet
+jsp-api
+2.0
+provided
+
+
+
 
 
 




svn commit: r479850 - in /struts: site/src/site/fml/roadmap.fml site/src/site/xdoc/index.xml struts2/trunk/assembly/pom.xml struts2/trunk/src/site/site.xml

2006-11-27 Thread husted
Author: husted
Date: Mon Nov 27 18:21:39 2006
New Revision: 479850

URL: http://svn.apache.org/viewvc?view=rev&rev=479850
Log:
WW-1458 Add link to XWork API docs. Move Shale reference to FAQ. Fix POM 
reference to assembly plugin.

Modified:
struts/site/src/site/fml/roadmap.fml
struts/site/src/site/xdoc/index.xml
struts/struts2/trunk/assembly/pom.xml
struts/struts2/trunk/src/site/site.xml

Modified: struts/site/src/site/fml/roadmap.fml
URL: 
http://svn.apache.org/viewvc/struts/site/src/site/fml/roadmap.fml?view=diff&rev=479850&r1=479849&r2=479850
==
--- struts/site/src/site/fml/roadmap.fml (original)
+++ struts/site/src/site/fml/roadmap.fml Mon Nov 27 18:21:39 2006
@@ -298,10 +298,10 @@
 http://struts.apache.org/2.x/WW/migration-guide.html";>
 Struts 2 Migration Guide.
 
-  
+  
  
 
-
+
 What circumstances justify a migration?
 
 
@@ -353,6 +353,20 @@
 It's a shiny new toy (find a new project). 
   
 
  
+
+
+
+
+Wouldn't it be just as easy to migrate to JavaServer 
Faces?
+
+
+http://struts.apache.org/2.x/docs/javaserver-faces.html";>
+Struts 2 supports JSF components, 
+so it's not an either/or proposition.
+For a complete JSF solution designed with 
+Struts developers in mind, 
+see http://shale.apache.org/";>Apache Shale.
+
 
 
 

Modified: struts/site/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/struts/site/src/site/xdoc/index.xml?view=diff&rev=479850&r1=479849&r2=479850
==
--- struts/site/src/site/xdoc/index.xml (original)
+++ struts/site/src/site/xdoc/index.xml Mon Nov 27 18:21:39 2006
@@ -33,7 +33,7 @@
 
 
 
-
+
 
 
  http://struts.apache.org/download.cgi#struts201";>Apache 
Struts 2 
@@ -45,7 +45,7 @@
 
 
 
-
+
 
 
 The best available version of Struts is
@@ -59,7 +59,7 @@
 
 
 
-
+
 
 
 
@@ -200,21 +200,6 @@
 my next project?".
  

-
-
-
-
-
-Shale started as an Apache Struts subproject and then 
-graduated
-to a full top-level Apache project in its own right.  
-Apache Shale builds on JavaServer Faces (JSF), making JSF 
-applications easier to develop. For details, visit the 
-http://shale.apache.org";>Apache Shale 
-site.
-
-
-
 
 
 

Modified: struts/struts2/trunk/assembly/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/assembly/pom.xml?view=diff&rev=479850&r1=479849&r2=479850
==
--- struts/struts2/trunk/assembly/pom.xml (original)
+++ struts/struts2/trunk/assembly/pom.xml Mon Nov 27 18:21:39 2006
@@ -113,7 +113,7 @@
 
 
 maven-assembly-plugin
-2.0.2-SNAPSHOT
+2.0.1
 
 
 src/main/assembly/all.xml

Modified: struts/struts2/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/src/site/site.xml?view=diff&rev=479850&r1=479849&r2=479850
==
--- struts/struts2/trunk/src/site/site.xml (original)
+++ struts/struts2/trunk/src/site/site.xml Mon Nov 27 18:21:39 2006
@@ -75,12 +75,16 @@
 href="struts2-core/apidocs/index.html"
 />
 
 http://struts.apache.org/WW/tag-reference.html";
+/>
+
 
 




svn commit: r479854 - in /struts/struts2/trunk: apps/showcase/src/main/webapp/ajax/ apps/showcase/src/main/webapp/ajax/autocompleter/ core/src/main/java/org/apache/struts2/components/ core/src/main/re

2006-11-27 Thread husted
Author: husted
Date: Mon Nov 27 18:34:13 2006
New Revision: 479854

URL: http://svn.apache.org/viewvc?view=rev&rev=479854
Log:
WW-1522 "Automatic Alias ActionConfigs" - Apply second patch. 

Added:
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/JSONList.js
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/

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

struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Autocompleter.java
struts/struts2/trunk/core/src/main/resources/META-INF/struts-tags.tld

struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/__package__.js
struts/struts2/trunk/core/src/main/resources/template/ajax/dojoRequire.js

Added: struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/JSONList.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/JSONList.js?view=auto&rev=479854
==
--- struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/JSONList.js (added)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/JSONList.js Mon Nov 
27 18:34:13 2006
@@ -0,0 +1,63 @@
+[
+   ["Alabama","AL"],
+   ["Alaska","AK"],
+   ["American Samoa","AS"],
+   ["Arizona","AZ"],
+   ["Arkansas","AR"],
+   ["Armed Forces Europe","AE"],
+   ["Armed Forces Pacific","AP"],
+   ["Armed Forces the Americas","AA"],
+   ["California","CA"],
+   ["Colorado","CO"],
+   ["Connecticut","CT"],
+   ["Delaware","DE"],
+   ["District of Columbia","DC"],
+   ["Federated States of Micronesia","FM"],
+   ["Florida","FL"],
+   ["Georgia","GA"],
+   ["Guam","GU"],
+   ["Hawaii","HI"],
+   ["Idaho","ID"],
+   ["Illinois","IL"],
+   ["Indiana","IN"],
+   ["Iowa","IA"],
+   ["Kansas","KS"],
+   ["Kentucky","KY"],
+   ["Louisiana","LA"],
+   ["Maine","ME"],
+   ["Marshall Islands","MH"],
+   ["Maryland","MD"],
+   ["Massachusetts","MA"],
+   ["Michigan","MI"],
+   ["Minnesota","MN"],
+   ["Mississippi","MS"],
+   ["Missouri","MO"],
+   ["Montana","MT"],
+   ["Nebraska","NE"],
+   ["Nevada","NV"],
+   ["New Hampshire","NH"],
+   ["New Jersey","NJ"],
+   ["New Mexico","NM"],
+   ["New York","NY"],
+   ["North Carolina","NC"],
+   ["North Dakota","ND"],
+   ["Northern Mariana Islands","MP"],
+   ["Ohio","OH"],
+   ["Oklahoma","OK"],
+   ["Oregon","OR"],
+   ["Pennsylvania","PA"],
+   ["Puerto Rico","PR"],
+   ["Rhode Island","RI"],
+   ["South Carolina","SC"],
+   ["South Dakota","SD"],
+   ["Tennessee","TN"],
+   ["Texas","TX"],
+   ["Utah","UT"],
+   ["Vermont","VT"],
+   ["Virgin Islands, U.S.","VI"],
+   ["Virginia","VA"],
+   ["Washington","WA"],
+   ["West Virginia","WV"],
+   ["Wisconsin","WI"],
+   ["Wyoming","WY"]
+]

Added: 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp?view=auto&rev=479854
==
--- 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp 
(added)
+++ 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp 
Mon Nov 27 18:34:13 2006
@@ -0,0 +1,57 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
+
+
+Ajax Examples
+
+
+
+
+
+
+
+
+Using a JSON list returned from an action (href="/JSONList.action"), without 
autoComplete (autoComplete="false")
+
+
+
+
+
+
+Using a JSON list returned from an action (href="/JSONList.action"), with 
autoComplete (autoComplete="true")
+
+
+
+
+
+
+Using a local list (list="{'apple','banana','grape','pear'}")
+
+
+
+
+
+
+Force valid options (forceValidOption="true")
+
+
+
+
+
+
+Make dropdown's height to 180px  (dropdownHeight="180")
+
+
+
+
+
+
+Disabled combobox (disabled="true")
+
+
+
+
+
+
+
+

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Autocompleter.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Autocompleter.java?view=diff&rev=479854&r1=479853&r2=479854
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Autocompleter.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Autocompleter.java
 Mon Nov 27 18:34:13 2006
@@ -37,7 +37,7 @@
  *   ["Text 1","Value1"],
  *   ["Text 2","Value2"],
  *   ["Text 3","Value3"]
- * ] 
+ * ]
  * 
  * THE FOLLOWING IS ONLY VALID WHEN AJAX IS CONFIGURED
  

svn commit: r479870 - /struts/struts1/trunk/faces/pom.xml

2006-11-27 Thread pbenedict
Author: pbenedict
Date: Mon Nov 27 19:12:04 2006
New Revision: 479870

URL: http://svn.apache.org/viewvc?view=rev&rev=479870
Log:
STR-2979: Faces build causes NPE with maven-taglib-plugin

Modified:
struts/struts1/trunk/faces/pom.xml

Modified: struts/struts1/trunk/faces/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/faces/pom.xml?view=diff&rev=479870&r1=479869&r2=479870
==
--- struts/struts1/trunk/faces/pom.xml (original)
+++ struts/struts1/trunk/faces/pom.xml Mon Nov 27 19:12:04 2006
@@ -117,6 +117,8 @@
 

   
+  
   

 




svn commit: r479871 - /struts/struts1/trunk/pom.xml

2006-11-27 Thread pbenedict
Author: pbenedict
Date: Mon Nov 27 19:15:50 2006
New Revision: 479871

URL: http://svn.apache.org/viewvc?view=rev&rev=479871
Log:
STR-2952: Upgraded maven-site-plugin + maven-jxr-plugin, and versioned 
maven-taglib-plugin

Modified:
struts/struts1/trunk/pom.xml

Modified: struts/struts1/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/pom.xml?view=diff&rev=479871&r1=479870&r2=479871
==
--- struts/struts1/trunk/pom.xml (original)
+++ struts/struts1/trunk/pom.xml Mon Nov 27 19:15:50 2006
@@ -134,7 +134,7 @@
 
 
 maven-site-plugin
-2.0-beta-4
+2.0-beta-5
 
 
 maven-source-plugin
@@ -157,6 +157,11 @@
  dtddoc-maven-plugin
 1.0.0
  
+
+net.sourceforge.maven-taglib
+maven-taglib-plugin
+2.3
+
 
 
 
@@ -211,8 +216,8 @@
 
 
 
-org.codehaus.mojo
-jxr-maven-plugin
+org.apache.maven.plugins
+maven-jxr-plugin
 
 
 maven-pmd-plugin