svn commit: r240165 - in /struts/shale/trunk: build.properties.sample build.xml core-library/build.xml docs/ docs/release-notes-1.0.0.html

2005-08-26 Thread craigmcc
Author: craigmcc
Date: Thu Aug 25 22:21:34 2005
New Revision: 240165

URL: http://svn.apache.org/viewcvs?rev=240165&view=rev
Log:
Add first cut at release notes, update release artifact organization.

Added:
struts/shale/trunk/docs/
struts/shale/trunk/docs/release-notes-1.0.0.html
Modified:
struts/shale/trunk/build.properties.sample
struts/shale/trunk/build.xml
struts/shale/trunk/core-library/build.xml

Modified: struts/shale/trunk/build.properties.sample
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/build.properties.sample?rev=240165&r1=240164&r2=240165&view=diff
==
--- struts/shale/trunk/build.properties.sample (original)
+++ struts/shale/trunk/build.properties.sample Thu Aug 25 22:21:34 2005
@@ -25,10 +25,11 @@
 # $Id:  $
 #
 
-# Fully qualified pathname of the directory containing this file, and the
-# corresponding overall "build.xml" file.  THIS VALUE MUST BE SET CORRECTLY
-# FOR THE BUILD TO FUNCTION!
-root.dir=${user.home}/Apache/struts/current/shale
+# Root directory into which you have unpacked the Shale Framework release.
+# This value *must* be set correctly for the build to function, unless you
+# have overridden *all* of the following settings that are based on
+# "root.dir" or "lib.dir".
+root.dir=${basedir}
 
 # Fully qualified pathname of the directory into which you have unpacked
 # a binary distribution of the JavaServer Faces Reference Implementation

Modified: struts/shale/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/build.xml?rev=240165&r1=240164&r2=240165&view=diff
==
--- struts/shale/trunk/build.xml (original)
+++ struts/shale/trunk/build.xml Thu Aug 25 22:21:34 2005
@@ -152,7 +152,7 @@
 
   
   
+  dir="${basedir}/clay-plugin/target/lib">
 
   
   
@@ -161,7 +161,7 @@
 
   
   
+  dir="${basedir}/test-framework/target/lib">
 
   
   
@@ -503,17 +503,29 @@
 
 
 
-
+
 
 
 
+
+
+
+
+
+  
+
+
 
 
 
   
 
-
+
   
 
@@ -524,7 +536,7 @@
   
 
-
+
   
 
@@ -535,7 +547,7 @@
   
 
-
+
   
 
@@ -575,19 +587,19 @@
   
 
 
-
 
 
-
 
 
-
 
 
-
 
   

Modified: struts/shale/trunk/core-library/build.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/build.xml?rev=240165&r1=240164&r2=240165&view=diff
==
--- struts/shale/trunk/core-library/build.xml (original)
+++ struts/shale/trunk/core-library/build.xml Thu Aug 25 22:21:34 2005
@@ -229,7 +229,7 @@
 
 
 
-
+
   
 
 

Added: struts/shale/trunk/docs/release-notes-1.0.0.html
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/docs/release-notes-1.0.0.html?rev=240165&view=auto
==
--- struts/shale/trunk/docs/release-notes-1.0.0.html (added)
+++ struts/shale/trunk/docs/release-notes-1.0.0.html Thu Aug 25 22:21:34 2005
@@ -0,0 +1,430 @@
+
+
+
+
+
+  
+Apache Shale (Version 1.0.0) Release Notes
+  
+
+  
+
+
+  Apache Shale (Version 1.0.0) Release Notes
+
+
+
+Introduction
+What Is Included
+External Dependencies
+Using Shale In Your Applications
+Changes From Previous Releases
+Known Issues In This Release
+
+
+
+1.0 Introduction
+
+Welcome to the http://struts.apache.org/shale/";>Apache Shale
+Framework.  Shale is a next generation framework for building web
+applications using Java technology, and builds upon the framework and
+component APIs provided by http://java.sun.com/j2ee/javaserverfaces/";>
+JavaServer Faces.
+
+This is the initial milestone release of Shale, released to encourage
+experimentation and gather feedback on usage issues and requested features.
+This should be treated as an "alpha" quality release.  However, many of
+the APIs in Shale are reasonably stable -- for details, scroll down to the
+API Package Target Audiences and Stability Ratings section of the
+Core Library Overview
+ JavaDocs.
+
+
+2.0 What Is Included
+
+A release of Shale includes several primary categories of materials:
+
+Shale distribution libraries:
+
+shale-core.jar - Core framework functionality
+shale-clay.jar - Clay plug-in
+shale-spring.jar - Optional integration layer with
+adapters for the http://springframework.org";>Spring
+Framework
+shale-test.jar - Unit test framework
+shale-tiles.jar - Optional integration layer with
+the standalone version of Tiles, currently under
+development as part of the http://struts.apache.org";>
+Ap

DO NOT REPLY [Bug 36367] New: - [tiles/chain] Can't use an action path in a tiles:insert

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36367

   Summary: [tiles/chain] Can't use an action path in a tiles:insert
   Product: Struts
   Version: Nightly Build
  Platform: Other
OS/Version: other
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Controller
AssignedTo: dev@struts.apache.org
ReportedBy: [EMAIL PROTECTED]


I'm pretty sure this worked with Struts 1.2.x, although I never used it; but I
just decided to try implementing something using an action as the path of a 
tile.

I can probably implement my functionality using a Controller instead, but I
thought i'd file this bug, especially if this is functionality which was in an
earlier version of Struts.

This may end up being a non-issue if we are moving towards externalizing Tiles
from Struts; then again, it could be solved by changing the PerformForward
action to do a test for response.isCommitted() and always using
requestDispatcher.doInclude(req,resp) when it is.  At first glance, I don't see
any reason why that would be particularly bad, no matter what is happening with
Tiles.  

Any opinions?

java.lang.IllegalStateException: Cannot forward after response has been
committed at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:371)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
at
org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:95)
at
org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:55)
at ...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r240168 [14/30] - in /struts/sandbox/trunk/ti: ./ core/src/java/org/apache/ti/ core/src/java/org/apache/ti/config/ core/src/java/org/apache/ti/config/mapper/ core/src/java/org/apache/ti/co

2005-08-26 Thread mrdon
Added: 
struts/sandbox/trunk/ti/core/src/java/org/apache/ti/pageflow/scoping/internal/ParseUtils.java.disabled
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/ti/core/src/java/org/apache/ti/pageflow/scoping/internal/ParseUtils.java.disabled?rev=240168&view=auto
==
--- 
struts/sandbox/trunk/ti/core/src/java/org/apache/ti/pageflow/scoping/internal/ParseUtils.java.disabled
 (added)
+++ 
struts/sandbox/trunk/ti/core/src/java/org/apache/ti/pageflow/scoping/internal/ParseUtils.java.disabled
 Thu Aug 25 22:46:03 2005
@@ -0,0 +1,884 @@
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ * $Header:$
+ */
+package org.apache.ti.pageflow.scoping.internal;
+
+import java.util.Map;
+import java.util.StringTokenizer;
+import java.io.UnsupportedEncodingException;
+
+
+class ParseUtils
+{
+
//-
+// helpers to parse the query string.  
+
+/**
+ * Parses an RFC1630 query string into an existing Map.
+ *
+ * @param str  Query string
+ * @param res  Map into which insert the values.
+ * @param encoding Encoding to be used for stored Strings
+ */
+public static void parseQueryString( String str, Map res, String encoding )
+{
+
+// "Within the query string, the plus sign is reserved as
+// shorthand notation for a space. Therefore, real plus signs must
+// be encoded. This method was used to make query URIs easier to
+// pass in systems which did not allow spaces." -- RFC 1630
+int i = str.indexOf( '#' );
+if ( i > 0 )
+{
+str = str.substring( 0, i );
+}
+StringTokenizer st = new StringTokenizer( str.replace( '+', ' ' ), "&" 
);
+
+while ( st.hasMoreTokens() )
+{
+String qp = st.nextToken();
+String[] pair = qp.split( "=" );  // was String[] pair = 
StringUtils.split(qp, '=');
+//String s = unescape(pair[1], encoding);
+res.put( unescape( pair[0], encoding ), unescape( pair[1], 
encoding ) );
+}
+}
+
+/**
+ * URI-unescapes the specified string, except for +/
+ * encoding.
+ *
+ * @param str  String to be unescaped
+ * @param encoding The name of a character encoding
+ * @return Unescaped string
+ */
+private static String unescape( String str, String encoding )
+{
+//We cannot unescape '+' to space because '+' is allowed in the file 
name
+//str = str.replace('+', ' ');
+
+//if the str does not contain "%", we don't need to do anything
+if ( str.indexOf( '%' ) < 0 )
+{
+return str;
+}
+
+if ( encoding == null || encoding.length() == 0 )
+{
+encoding = WLS_DEFAULT_ENCODING;
+}
+
+// Do not assume String only contains ascii.  str.length() <= 
str.getBytes().length
+int out = 0;
+
+byte[] strbytes = str.getBytes();
+int len = strbytes.length;
+
+boolean foundNonAscii = false;
+for ( int in = 0; in < len; in++, out++ )
+{
+if ( strbytes[in] == '%' && ( in + 2 < len ) )
+{
+if ( Hex.isHexChar( strbytes[in + 1] ) &&
+ Hex.isHexChar( strbytes[in + 2] ) )
+{
+strbytes[out] =
+( byte ) ( ( Hex.hexValueOf( strbytes[in + 1] ) << 4 ) +
+   ( Hex.hexValueOf( strbytes[in + 2] ) << 0 ) );
+in += 2;
+continue;
+}
+}
+// IE takes non-ASCII URLs. We use the default encoding
+// if non-ASCII characters are contained in URLs.
+if ( !foundNonAscii &&
+ ( strbytes[in] <= 0x1f || strbytes[in] == 0x7f ) )
+{
+encoding = System.getProperty( "file.encoding" );
+foundNonAscii = true;
+}
+strbytes[out] = strbytes[in];
+}
+
+return newString( strbytes, 0, out, encoding );  // was:  
BytesToString.newString(...)
+}
+
+private static String newString( byte b[], int offset, int length, String 
enc )
+{
+if ( is8BitUnicodeSubset( en

[Struts Wiki] Update of "StandaloneTiles" by GregReddin

2005-08-26 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by GregReddin:
http://wiki.apache.org/struts/StandaloneTiles

The comment on the change is:
Added list of classes with Servlet API dependencies.

New page:
== Removing Servlet API dependencies ==

The purpose of this enhancement is to remove Tiles' dependency on the Servlet 
APIs.  The following classes have an API dependency on the Servlet APIs.  By 
that, I mean that the API in these classes must change to remove the dependency 
on the Servlet APIs.  The reason for removing the Servlet API dependency is to 
make Tiles accessible in a Portlet world.  The services provided by the Servlet 
API will be included in a new Context object yet to be created.

src/java/org/apache/tiles/ComponentDefinitionsFactory.java

src/java/org/apache/tiles/Controller.java

src/java/org/apache/tiles/ControllerSupport.java

src/java/org/apache/tiles/definition/ComponentDefinitionsFactoryWrapper.java

src/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java

src/java/org/apache/tiles/DefinitionsUtil.java

src/java/org/apache/tiles/filter/TilesFilter.java

src/java/org/apache/tiles/servlets/TilesServlet.java

src/java/org/apache/tiles/taglib/util/TagUtils.java

src/java/org/apache/tiles/TilesUtilImpl.java

src/java/org/apache/tiles/UrlController.java

src/java/org/apache/tiles/xmlDefinition/DefinitionsFactory.java

src/java/org/apache/tiles/xmlDefinition/FactorySet.java

src/java/org/apache/tiles/xmlDefinition/I18nFactorySet.java

src/java/org/apache/tiles/util/RequestUtils.java

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Struts Wiki] Trivial Update of "FrontPage" by GregReddin

2005-08-26 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by GregReddin:
http://wiki.apache.org/struts/FrontPage

The comment on the change is:
Added section for standalone Tiles

--
   * StrutsSolutions (A page to find solutions to common "ways of doing 
things"-type questions)
   * AjaxStruts - Ajax using XMLHttpRequest and Struts
   * ["StrutsIDEGuides"]
+  * StandaloneTiles
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r240168 [26/30] - in /struts/sandbox/trunk/ti: ./ core/src/java/org/apache/ti/ core/src/java/org/apache/ti/config/ core/src/java/org/apache/ti/config/mapper/ core/src/java/org/apache/ti/co

2005-08-26 Thread mrdon
Added: 
struts/sandbox/trunk/ti/core/src/java/org/apache/ti/util/type/TypeUtils.java
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/ti/core/src/java/org/apache/ti/util/type/TypeUtils.java?rev=240168&view=auto
==
--- 
struts/sandbox/trunk/ti/core/src/java/org/apache/ti/util/type/TypeUtils.java 
(added)
+++ 
struts/sandbox/trunk/ti/core/src/java/org/apache/ti/util/type/TypeUtils.java 
Thu Aug 25 22:46:03 2005
@@ -0,0 +1,609 @@
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ * $Header:$
+ */
+package org.apache.ti.util.type;
+
+import org.apache.ti.schema.config.NetuiConfigDocument.NetuiConfig;
+import org.apache.ti.schema.config.TypeConverters;
+import org.apache.ti.util.Bundle;
+import org.apache.ti.util.config.ConfigUtil;
+import org.apache.ti.util.internal.InternalStringBuilder;
+import org.apache.ti.util.logging.Logger;
+
+import java.io.InputStream;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.text.DateFormat;
+import java.util.Date;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.Locale;
+import java.util.Map;
+import java.util.Properties;
+
+/**
+ *
+ *
+ */
+public final class TypeUtils {
+
+private static final Logger LOGGER = Logger.getInstance(TypeUtils.class);
+private static final String TYPE_CONVERTER_PROPERTIES = 
"/properties/netui-typeconverter.properties";
+private static final String EMPTY_STRING = "";
+private static final HashMap/**/ TYPE_CONVERTERS 
= new HashMap/**/();
+private static String TO_STRING = null;
+
+static {
+// initialize the default type converters
+initialize();
+
+Map/**/ map = readFromConfig();
+if (map != null) {
+load(map);
+map.clear();
+}
+
+map = readFromProperties();
+if (map != null)
+load(map);
+
+LOGGER.info(registeredConvertersToString());
+}
+
+/* do not construct */
+private TypeUtils() {
+}
+
+/**
+ * Convert an object from a String to the given type.
+ *
+ * @param value the String to convert
+ * @param type  the type to which to convert the String
+ * @return the Object result of converting the String to the type.
+ * @throws TypeConverterNotFoundException if a TypeConverter for the 
target type can not be found.
+ * @deprecated
+ */
+public static final Object convertToObject(String value, Class type) {
+return convertToObject(value, type, null);
+}
+
+/**
+ * Convert an object from a String to the given type using the specified 
[EMAIL PROTECTED] java.util.Locale}.
+ * 
+ * The locale is optionally used depending on the implementation of the 
[EMAIL PROTECTED] TypeConverter} that is used.
+ *
+ * @param value  the String to convert
+ * @param type   the type to which to convert the String
+ * @param locale the locale to use during conversion
+ * @return the Object result of converting the String to the type.
+ * @throws TypeConverterNotFoundException if a TypeConverter for the 
target type can not be found.
+ */
+public static final Object convertToObject(String value, Class type, 
Locale locale) {
+BaseTypeConverter converter = lookupTypeConverter(type);
+assert converter != null;
+return converter.convertToObject(type, value, locale);
+}
+
+public static final byte convertToByte(String value) {
+return ((Byte) convertToObject(value, byte.class, null)).byteValue();
+}
+
+public static final boolean convertToBoolean(String value) {
+return ((Boolean) convertToObject(value, boolean.class, 
null)).booleanValue();
+}
+
+public static final char convertToChar(String value) {
+return ((Character) convertToObject(value, char.class, 
null)).charValue();
+}
+
+public static final double convertToDouble(String value) {
+return ((Double) convertToObject(value, double.class, 
null)).doubleValue();
+}
+
+public static final float convertToFloat(String value) {
+return ((Float) convertToObject(value, float.class, 
null)).floatValue();
+}
+
+public static final int convertToInt(String value) {
+return ((Integer) convertToObject(value, int.

svn commit: r240168 [28/30] - in /struts/sandbox/trunk/ti: ./ core/src/java/org/apache/ti/ core/src/java/org/apache/ti/config/ core/src/java/org/apache/ti/config/mapper/ core/src/java/org/apache/ti/co

2005-08-26 Thread mrdon
Added: 
struts/sandbox/trunk/ti/samples/src/java/org/apache/ti/samples/pageflow/loginexample/ExampleLoginHandler.java
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/ti/samples/src/java/org/apache/ti/samples/pageflow/loginexample/ExampleLoginHandler.java?rev=240168&view=auto
==
--- 
struts/sandbox/trunk/ti/samples/src/java/org/apache/ti/samples/pageflow/loginexample/ExampleLoginHandler.java
 (added)
+++ 
struts/sandbox/trunk/ti/samples/src/java/org/apache/ti/samples/pageflow/loginexample/ExampleLoginHandler.java
 Thu Aug 25 22:46:03 2005
@@ -0,0 +1,69 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ * $Header:$
+ */
+package org.apache.ti.samples.pageflow.loginexample;
+
+import javax.security.auth.login.LoginException;
+import java.security.Principal;
+import java.util.Map;
+
+import org.apache.ti.pageflow.handler.BaseHandler;
+import org.apache.ti.pageflow.handler.LoginHandler;
+import org.apache.ti.pageflow.xwork.PageFlowActionContext;
+
+public class ExampleLoginHandler
+extends BaseHandler
+implements LoginHandler
+{
+private static class UserPrincipal
+implements Principal
+{
+public String getName()
+{
+return "good";
+}
+}
+
+public void login( String username, String password )
+throws LoginException
+{
+if ( username.equals("good") && password.equals("good") )
+{
+Map sessionScope = PageFlowActionContext.get().getSessionScope();
+sessionScope.put("_principal", new UserPrincipal());
+}
+else
+{
+throw new LoginException( username );
+}
+}
+
+public void logout( boolean invalidateSessions )
+{
+PageFlowActionContext.get().getSessionScope().remove("_principal");
+}
+
+public boolean isUserInRole(String roleName)
+{
+return false;
+}
+
+public Principal getUserPrincipal()
+{
+return (Principal) 
PageFlowActionContext.get().getSessionScope().get("_principal");
+}
+}

Added: struts/sandbox/trunk/ti/samples/src/java/pageflow/basic/Controller.java
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/ti/samples/src/java/pageflow/basic/Controller.java?rev=240168&view=auto
==
--- struts/sandbox/trunk/ti/samples/src/java/pageflow/basic/Controller.java 
(added)
+++ struts/sandbox/trunk/ti/samples/src/java/pageflow/basic/Controller.java Thu 
Aug 25 22:46:03 2005
@@ -0,0 +1,43 @@
+package pageflow.basic;
+
+import org.apache.ti.pageflow.annotations.ti;
+import org.apache.ti.pageflow.PageFlowController;
+import org.apache.ti.pageflow.Forward;
+import com.opensymphony.xwork.Action;
+
[EMAIL PROTECTED](
+handleExceptions={
+@ti.handleException(type=Controller.CustomException.class, 
path="error.jsp"),
+@ti.handleException(type=ArithmeticException.class, 
method="handleArithmeticException")
+}
+)
+public class Controller extends PageFlowController {
+
+@ti.action
+public String someAction() {
+return Action.SUCCESS;
+}
+
+static class CustomException extends Exception {}
+static class IntentionalException extends CustomException {}
+
+@ti.action
+public String throw1() throws IntentionalException {
+throw new IntentionalException();  // caught by the 
@ti.handleException for CustomException
+}
+
+@ti.action
+public String throw2() {
+throw new ArithmeticException("intentional");
+}
+
+@ti.exceptionHandler
+public String handleArithmeticException(ArithmeticException e, String 
message) {
+return Action.SUCCESS;
+}
+}
+
+/*
+ (See /WEB-INF/src/_pageflow-config/pageflow/basic/xwork.xml for a mockup of 
the generated config.)
+ */
+

Added: 
struts/sandbox/trunk/ti/samples/src/java/pageflow/formBean/Controller.java
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/ti/samples/src/java/pageflow/formBean/Controller.java?rev=240168&view=auto
==
--- struts/sandbox/trunk/ti/samples/src/java/pageflow/formBean/Controller.java 
(added)
+++ struts/sandbox/trunk/ti/samples/src/java/pageflow/formBean/Controller.java 
Thu Aug 25 22:46:03 2005
@@ -0,0 +1,27 @@
+package pageflow

Re: [OT] RE: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-26 Thread Dakota Jack
Well, you aren't doing a great job, David, because what you have never
noticed happened again this last week.  Why don't you try doing a
search for SHALE and JSF for the last week?  I really don't think this
is a big deal, but wonder why someone would bother saying what was
going on here without making at least a cursory check.  Anyway, your
suggestion is clearly mistaken.

On 8/25/05, David Durham <[EMAIL PROTECTED]> wrote:
> Dakota Jack wrote:
> > First, comparing Struts and JSF is like comparing C++ and Visual
> > Basic.  Struts is REQUEST-DRIVEN MVC and JSF (Shale) is PAGE CENTRIC
> > RAD (rapid development with tools as in VB).  Anyone that cannot see
> > they don't go together, frankly, is not that insightful, in my
> > opinion.  The present idea that they go together is one of the more
> > interesting marketing ploys in my recent experience.  I have to admit
> > that Craig is not only a superb coder but also a clever politician.  I
> > would have bet big money that no one could convince the Struts
> > community to share a bedroom with JSF.  I would have lost.  I still am
> > amazed.
> >
> > Second, Rod Johnson only has three books out that I know of.  There is
> > a whole section on web frameworks in Ch. 13 of Expert One-on-One J2EE
> > Development without EJB.  That is where I "read it".  You can read the
> > same thing from numerous other folks in the Struts lists as well.  Of
> > course, if you don't want to see it, you won't.
> >
> > Third, I am amazed that people who consider themselves to be expert in
> > this area, and who should be expert in this area given their status,
> > people such as yourself, Matthias, even argue this point.  A modicum
> > of understanding of the two frameworks shows that they are like night
> > and day.  Indeed, Craig is constantly trumpeting that JSF is a "new
> > deal" which should tell you that it is not what he now decries as the
> > "old deal", Struts.  He says it is a huge architectural shift.  He is
> > right.  You CANNOT combine the two.  You CAN mix them into what is
> > essentially a mush, a hodge-podge.  But, you cannot combine them.  You
> > have to have a switch that chooses one over the other in the mix.
> > That is what Rod Johnson says and that is what I agree with.
> >
> > Fourth, I am about to leave the debate arena on this one, however.
> > This is all too nutty for me to stick with any longer.  I don't mind a
> > good spirited debate on architecture, but I am not intersted in a
> > political community with its head in the sand.  When a VB expert is
> > voted into the C++ expert community, that is enough for me.  And, when
> > a JSF expert is voted into the Struts community, that is enough for
> > me.  I have to admit that I am completely enamored anyway with the
> > Spring IoC and AOP approach and believe that a one can build something
> > akin to the Struts package there.  I will, of course, remain
> > interested in Struts even though the interest will be more one of
> > morbid fascination with the process that is happening here.
> >
> > Cheers!
> 
> Thanks, I'm following this list off and on, but fairly regularly, I
> don't recall anyone else saying "hey, this shouldn't be in struts".  I
> have no doubt that others feel the way you do, just interested in some
> names that's all.  I don't think this is a decision that's made based on
> technical merits as you suggest it should.  From what I can tell, this
> is a community effort as much as it is a technical effort.
> 
> 
> - Dave
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r240168 [6/30] - in /struts/sandbox/trunk/ti: ./ core/src/java/org/apache/ti/ core/src/java/org/apache/ti/config/ core/src/java/org/apache/ti/config/mapper/ core/src/java/org/apache/ti/cor

2005-08-26 Thread mrdon
Added: 
struts/sandbox/trunk/ti/core/src/java/org/apache/ti/pageflow/PageFlowController.java
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/ti/core/src/java/org/apache/ti/pageflow/PageFlowController.java?rev=240168&view=auto
==
--- 
struts/sandbox/trunk/ti/core/src/java/org/apache/ti/pageflow/PageFlowController.java
 (added)
+++ 
struts/sandbox/trunk/ti/core/src/java/org/apache/ti/pageflow/PageFlowController.java
 Thu Aug 25 22:46:03 2005
@@ -0,0 +1,787 @@
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ * $Header:$
+ */
+package org.apache.ti.pageflow;
+
+import org.apache.ti.pageflow.handler.Handlers;
+import org.apache.ti.pageflow.handler.StorageHandler;
+import org.apache.ti.pageflow.internal.CachedPageFlowInfo;
+import org.apache.ti.pageflow.internal.CachedSharedFlowRefInfo;
+import org.apache.ti.pageflow.internal.InternalConstants;
+import org.apache.ti.pageflow.internal.InternalUtils;
+import org.apache.ti.pageflow.internal.ViewRenderer;
+import org.apache.ti.pageflow.xwork.PageFlowActionContext;
+import org.apache.ti.pageflow.xwork.PageFlowPathResult;
+import org.apache.ti.pageflow.xwork.PageFlowResult;
+import org.apache.ti.util.internal.DiscoveryUtils;
+import org.apache.ti.util.internal.FileUtils;
+import org.apache.ti.util.internal.cache.ClassLevelCache;
+import org.apache.ti.util.logging.Logger;
+
+import javax.servlet.http.HttpSessionBindingEvent;
+import java.lang.reflect.Field;
+import java.util.Map;
+
+
+/**
+ * 
+ * Base class for controller logic, exception handlers, and state associated 
with a particular web directory path.
+ * The class is configured through the
+ * [EMAIL PROTECTED] org.apache.ti.pageflow.annotations.ti.controller 
@ti.controller} annotation.
+ * 
+ * 
+ * 
+ * When a page flow request (the page flow URI itself, or any ".do" or page 
URI in the directory path), arrives, an
+ * instance of the associated PageFlowController class is set as the 
current page flow, and remains stored in the
+ * session until a different one becomes active ("long lived" page flows stay 
in the session indefinitely;
+ * see [EMAIL PROTECTED] 
org.apache.ti.pageflow.annotations.ti.controller#longLived longLived}
+ * on [EMAIL PROTECTED] org.apache.ti.pageflow.annotations.ti.controller 
@ti.controller}).
+ * 
+ * 
+ * 
+ * The page flow class handles actions that are most commonly raised by 
user interaction with pages.  The actions
+ * are handled by action methods or action annotations that 
determine the next URI to be displayed, after
+ * optionally performing arbitrary logic.
+ * 
+ * 
+ * 
+ * If the PageFlowController is a "nested page flow"
+ * ([EMAIL PROTECTED] org.apache.ti.pageflow.annotations.ti.controller#nested 
nested} is set to true
+ * on [EMAIL PROTECTED] org.apache.ti.pageflow.annotations.ti.controller 
@ti.controller}), then this
+ * is a reusable, modular flow that can be "nested" during other flows.  It 
has entry points (actions with optional form
+ * bean arguments), and exit points ([EMAIL PROTECTED] 
org.apache.ti.pageflow.annotations.ti.forward @ti.forward},
+ * [EMAIL PROTECTED] org.apache.ti.pageflow.annotations.ti.simpleAction 
@ti.simpleAction}, or
+ * [EMAIL PROTECTED] org.apache.ti.pageflow.annotations.ti.conditionalForward 
@ti.conditionalForward} annotations
+ * that have returnAction attributes).
+ * 
+ * 
+ * 
+ * The page flow class also handles exceptions thrown by actions or during 
page execution
+ * (see [EMAIL PROTECTED] 
org.apache.ti.pageflow.annotations.ti.controller#catches catches} on
+ * [EMAIL PROTECTED] org.apache.ti.pageflow.annotations.ti.controller 
@ti.controller}).  Unhandled exceptions are
+ * handled in order by declared [EMAIL PROTECTED] SharedFlowController}s
+ * (see [EMAIL PROTECTED] 
org.apache.ti.pageflow.annotations.ti.controller#sharedFlowRefs sharedFlowRefs} 
on
+ * [EMAIL PROTECTED] org.apache.ti.pageflow.annotations.ti.controller 
@ti.controller}).
+ * 
+ * 
+ * 
+ * Properties in the current page flow instance can be accessed from JSP 
2.0-style expressions like this one:
+ * ${pageFlow.someProperty}.
+ * 
+ * 
+ * 
+ * There may only be one page flow in any package.
+ * 
+ *
+ * @see SharedFlowController
+ */
+public abstract class PageFlowController
+extends FlowController
+implements InternalConstants {
+
+/**
+ * A 'return-to="page"' for

JSP with textarea/Form getter and german special character problem

2005-08-26 Thread Andreas Scheucher

Hello,

I have got a JSP with an textarea. Whene i read out the value over the 
getter from the related formBean, i get wrong characters for german 
spezial characters:

äöüÄÖÜß ( right encoding is ä ö ü Ä  ß

becomes to äöü����

Can anybody tell me, what to do to get the characters in the rigth encoding?
I am relatively new to web programming. Hence I am not that fitt in 
encodings and things like this.


Thanks in advance,
Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Thoughts on Checkstyle stuff

2005-08-26 Thread Ted Husted
On 8/24/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Perhaps I can make an offer here...
> 
> At some point, I imagine, you guys (the committers) are all going to agree
> that the code is stable and ready for release.  How about if at that
> point, whenever it is, someone drops me a line and says "ok, have at it
> with the Checkstyle stuff", and give me maybe a week let's say.  Then I
> can probably eliminate most or perhaps all of them in one shot, and that
> might be easier to verify nothing gets broken in the process too.
> 
> Does that sound reasonable?

What happens is the release manager rolls a distribution, and then the
PMC decides if it is fit to release.

For the 1.3.x series, the issue would be the patches. Before making
any (more) drastic changes to the code, we should either apply to
decide not to apply any outstanding patches. There's a link to the
tickets with known patches on the RoadMap page,

* http://struts.apache.org/roadmap.html

-Ted.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r240221 - /struts/site/trunk/xdocs/userGuide/preface.xml

2005-08-26 Thread husted
Author: husted
Date: Fri Aug 26 05:40:20 2005
New Revision: 240221

URL: http://svn.apache.org/viewcvs?rev=240221&view=rev
Log:
Vet the hyperlinks. 

Modified:
struts/site/trunk/xdocs/userGuide/preface.xml

Modified: struts/site/trunk/xdocs/userGuide/preface.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/userGuide/preface.xml?rev=240221&r1=240220&r2=240221&view=diff
==
--- struts/site/trunk/xdocs/userGuide/preface.xml (original)
+++ struts/site/trunk/xdocs/userGuide/preface.xml Fri Aug 26 05:40:20 2005
@@ -55,7 +55,7 @@
   
   For more about building Java application in general, see the
   http://developer.java.sun.com/developer/onlineTraining/new2java/divelog/part1/toc.jsp";>New
 to
-  Java tutorial.
+  Java Center.
   
 
 
@@ -131,9 +131,7 @@
 by Mohamed Fayad and Douglas C. Schmidt
 
 
-These papers can be especially helpful if you are
-http://www.waferproject.org/index.html";>fact-finding or 
reviewing
-server-side
+These papers can be especially helpful if you are fact-finding or 
reviewing server-side
 http://directory.google.com/Top/Computers/Programming/Languages/Java/Server-Side/Libraries_and_Frameworks/";>frameworks.
 
 
@@ -231,6 +229,9 @@
 http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils/package-summary.html#package_description";>
 Package Description and http://jakarta.apache.org/commons/beanutils/api/index.html";>Javadocs.
 
+ 
+ https://formdef.dev.java.net/";>Struts FormDef
+ 
 
 
 
@@ -709,15 +710,17 @@
 http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSPBeans.html";>JavaBeans
 Components in JSP Pages
 in the Java Web Services Tutorial.
 
-Struts also works well with the new
+Struts also works well with the
 http://java.sun.com/products/jsp/jstl";>JavaServer Pages 
Standard Tag Library
 (JSTL) and taglibs from other sources, like
-http://jsptags.com/";>JSP Tags and
-http://jakarta.apache.org/taglibs/index.html";>Jakarta Taglibs.
+http://jsptags.com/";>JSP Tags,
+http://jakarta.apache.org/taglibs/index.html";>Jakarta Taglibs,
+http://struts.application-servers.com";>Struts Layout, and
+http://http://displaytag.sourceforge.net/";>Display Tags.
 
 
 
-One of the contributed libraries available for Struts is 
Struts-EL.
+One of the subprojects available for Struts Classic is http://struts.apache.org/struts-el/index.html";>Struts-EL.
 This taglib is specifically designed to work well with JSTL.
 In particular, it uses the same "expression language" engine for 
evaluating tag attribute values as JSTL.
 This is in contrast to the original Struts tag library, which can only 
use "rtexprvalue"s (runtime scriptlet
@@ -725,38 +728,39 @@
 
 
 There are also toolkits available that make Struts easy to use with
-http://www.openroad.ca/opencode/";>XSLT and
-http://jakarta.apache.org/velocity/index.html";>Velocity 
Templates.
+http://stxx.sourceforge.net/";>XSLT and
+http://jakarta.apache.org/velocity/tools/index.html";>Velocity 
Templates.
 
 
 
-The newest star on the Java horizon is Java Server 
Faces.
-http://java.sun.com/j2ee/javaserverfaces/";>JavaServer 
Faces technology simplifies building
-user interfaces for JavaServer applications, both for the web and 
for the desktop.
-The JSF specification is still under development, although an 
early-release reference implementation is
-available through the http://java.sun.com/webservices/download.html";>Java Web Services Developer
-Pack.
-Likewise, an early-release JavaServer Faces taglib for Struts,
-http://archive.apache.org/dist/jakarta/struts/old/release/struts-faces/";>Struts-Faces,
 is
-also in early release and available through the nightly build.
-   
-
+The newest star on the Java horizon is  http://java.sun.com/j2ee/javaserverfaces/";>JavaServer Faces 
technology.
+JSF simplifies building user interfaces for JavaServer 
applications, both for the web and for the desktop.
+To keep pace, Struts is offering a new framework to go with this 
new technology, called
+http://struts.apache.org/struts-shale/index.html";>Struts 
Shale.
+For teams looking for a smoother transition to JSF, we offer 
Struts-Faces taglib,
+which lets you use JSF components with your existing Actions.
+
 
-Java Server Faces is very compatible with Struts.
-Additional Struts/JSF integration tools are sure to appear as the 
specification is finalized and comes into
-widespread use.
+For an open source implementation of JSF, visit our sibling project
+   .

Re: Shale/JSF/Java posts

2005-08-26 Thread Ted Husted
Moving to dev@ ...

On 8/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 8/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> >
> > Would starting up a separate shale mailing list be a bad idea? I only
> > ask because the number of struts posts is quite heavy and if someone
> > posts a Shale question withough an approriate [shale] intro, I might
> > miss the post and end up deleting it if I get busy and it ends up buried
> > between the other struts posts?
>
> Experience across all of Apache is that splitting up mailing lists
> tends not to accomplish the desired purpose (redirecting the traffic).
>  More importantly, the cases where it has happened caused existing
> communities to divide instead of unite, to their ultimate detriment,
> and indeed in some cases has engendered conflict.  That's not what
> Apache is about.
> 
> -1 on separate lists for *any* Struts subprojects (including Shale).

Another approach that is working for some projects is to have separate
user lists, but a single dev list. I'd be -1 on separate dev lists,
but +0 on separate user lists for at least some of the subprojects,
where the traffic boundaries are obvious.

-Ted.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project struts-core (in module struts) failed

2005-08-26 Thread Stefan Bodewig
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project struts-core has an issue affecting its community integration.
This issue affects 4 projects,
 and has been outstanding for 42 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- fulcrum-quartz :  Services Framework
- quartz :  Job Scheduler
- struts-core :  Model 2 Model-View-Controller framework for Servlets and 
JSP
- struts-tiles :  Model 2 Model-View-Controller framework for Servlets and 
JSP


Full details are available at:
http://vmgump.apache.org/gump/public/struts/struts-core/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [struts.jar] identifier set to project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
xerces.jar.
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/struts/struts-core/gump_work/build_struts_struts-core.html
Work Name: build_struts_struts-core (Type: Build)
Work ended in a state of : Failed
Elapsed: 9 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Dcommons-beanutils.jar=/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar
 
-Djakarta-oro.jar=/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-26082005.jar
 
-Dcommons-chain.jar=/usr/local/gump/public/workspace/jakarta-commons/chain/target/commons-chain-26082005.jar
 -Dantlr.jar=/usr/local/gump/packages/antlr-2.7.3/antlr.jar 
-Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Dcommons-lang.jar=/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-26082005.jar
 
-Dcommons-logging.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-26082005.jar
 -Djdk.version=1.4 
-Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar
 
-Dcommons-validator.jar=/usr/local/gump/public/workspace/jakarta-commons/validator/dist/commons-validator.jar
 
-Dcommons-digester-rss.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/src/examples/rss/dist/commons-digester-rss.jar
 
-Dxerces.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 
-Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-26082005.jar
 
-Dcommons-fileupload.jar=/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-26082005.jar
 
-Dcommons-digester.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar
 dist 
[Working Directory: /usr/local/gump/public/workspace/struts/core]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/struts/core/target/library/classes:/usr/local/gump/public/workspace/struts/core/target/tiles/library/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/antlr-2.7.3/antlr.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/src/examples/rss/dist/commons-digester-rss.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-26082005.jar:/usr/local/gump/

[EMAIL PROTECTED]: Project struts-core (in module struts) failed

2005-08-26 Thread Stefan Bodewig
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project struts-core has an issue affecting its community integration.
This issue affects 4 projects,
 and has been outstanding for 42 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- fulcrum-quartz :  Services Framework
- quartz :  Job Scheduler
- struts-core :  Model 2 Model-View-Controller framework for Servlets and 
JSP
- struts-tiles :  Model 2 Model-View-Controller framework for Servlets and 
JSP


Full details are available at:
http://vmgump.apache.org/gump/public/struts/struts-core/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [struts.jar] identifier set to project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
xerces.jar.
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/struts/struts-core/gump_work/build_struts_struts-core.html
Work Name: build_struts_struts-core (Type: Build)
Work ended in a state of : Failed
Elapsed: 9 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Dcommons-beanutils.jar=/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar
 
-Djakarta-oro.jar=/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-26082005.jar
 
-Dcommons-chain.jar=/usr/local/gump/public/workspace/jakarta-commons/chain/target/commons-chain-26082005.jar
 -Dantlr.jar=/usr/local/gump/packages/antlr-2.7.3/antlr.jar 
-Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Dcommons-lang.jar=/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-26082005.jar
 
-Dcommons-logging.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-26082005.jar
 -Djdk.version=1.4 
-Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar
 
-Dcommons-validator.jar=/usr/local/gump/public/workspace/jakarta-commons/validator/dist/commons-validator.jar
 
-Dcommons-digester-rss.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/src/examples/rss/dist/commons-digester-rss.jar
 
-Dxerces.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 
-Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-26082005.jar
 
-Dcommons-fileupload.jar=/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-26082005.jar
 
-Dcommons-digester.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar
 dist 
[Working Directory: /usr/local/gump/public/workspace/struts/core]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/struts/core/target/library/classes:/usr/local/gump/public/workspace/struts/core/target/tiles/library/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/antlr-2.7.3/antlr.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/src/examples/rss/dist/commons-digester-rss.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-26082005.jar:/usr/local/gump/

Re: Shale/JSF/Java posts

2005-08-26 Thread Sean Schofield
I agree with Craig about this potentially dividing the community up. 
While many prefer to work exclusively in one camp or another there are
plenty of people who want to stay on top of what's happening in both
camps.

Since "shale" is not a word most of us use in everyday conversation
(except when talking about *the shale* subproject) I think a simple
key word filter would work even if the user did not mention [shale] in
the subject line.

sean

ps. I've been limiting my shale questions to the dev list since its
not even 1.0 yet and the community is still growing.  Hopefully this
is ok.


On 8/26/05, Ted Husted <[EMAIL PROTECTED]> wrote:
> Moving to dev@ ...
> 
> On 8/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> > On 8/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> > >
> > > Would starting up a separate shale mailing list be a bad idea? I only
> > > ask because the number of struts posts is quite heavy and if someone
> > > posts a Shale question withough an approriate [shale] intro, I might
> > > miss the post and end up deleting it if I get busy and it ends up buried
> > > between the other struts posts?
> >
> > Experience across all of Apache is that splitting up mailing lists
> > tends not to accomplish the desired purpose (redirecting the traffic).
> >  More importantly, the cases where it has happened caused existing
> > communities to divide instead of unite, to their ultimate detriment,
> > and indeed in some cases has engendered conflict.  That's not what
> > Apache is about.
> >
> > -1 on separate lists for *any* Struts subprojects (including Shale).
> 
> Another approach that is working for some projects is to have separate
> user lists, but a single dev list. I'd be -1 on separate dev lists,
> but +0 on separate user lists for at least some of the subprojects,
> where the traffic boundaries are obvious.
> 
> -Ted.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Shale/JSF/Java posts

2005-08-26 Thread Ted Husted
There are senior ASF members who say that the "community" is the set
of active committers, since these individuals are the ones that create
and maintain the software. Users are simply our way of creating more
committers. :)  If that is so, then separating *only* the user lists
won't divide the core community. So long as we have a single dev@, we
will have a unified *development* community, which, arguably, is the
one that counts.

I'd also agree that until there is a PMC-sanctioned release, the best
place for Shale posts is the [EMAIL PROTECTED] We've always said the user list 
is
for released software, and Shale has no release.

-Ted.
http://www.husted.com/poe/

On 8/26/05, Sean Schofield <[EMAIL PROTECTED]> wrote:
> I agree with Craig about this potentially dividing the community up.
> While many prefer to work exclusively in one camp or another there are
> plenty of people who want to stay on top of what's happening in both
> camps.
> 
> Since "shale" is not a word most of us use in everyday conversation
> (except when talking about *the shale* subproject) I think a simple
> key word filter would work even if the user did not mention [shale] in
> the subject line.
> 
> sean
> 
> ps. I've been limiting my shale questions to the dev list since its
> not even 1.0 yet and the community is still growing.  Hopefully this
> is ok.
> 
> 
> On 8/26/05, Ted Husted <[EMAIL PROTECTED]> wrote:
> > Moving to dev@ ...
> >
> > On 8/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> > > On 8/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Would starting up a separate shale mailing list be a bad idea? I only
> > > > ask because the number of struts posts is quite heavy and if someone
> > > > posts a Shale question withough an approriate [shale] intro, I might
> > > > miss the post and end up deleting it if I get busy and it ends up buried
> > > > between the other struts posts?
> > >
> > > Experience across all of Apache is that splitting up mailing lists
> > > tends not to accomplish the desired purpose (redirecting the traffic).
> > >  More importantly, the cases where it has happened caused existing
> > > communities to divide instead of unite, to their ultimate detriment,
> > > and indeed in some cases has engendered conflict.  That's not what
> > > Apache is about.
> > >
> > > -1 on separate lists for *any* Struts subprojects (including Shale).
> >
> > Another approach that is working for some projects is to have separate
> > user lists, but a single dev list. I'd be -1 on separate dev lists,
> > but +0 on separate user lists for at least some of the subprojects,
> > where the traffic boundaries are obvious.
> >
> > -Ted.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



an open testing competition

2005-08-26 Thread Calvin Austin


When was the last time someone thanked you for writing a test, or 
noticed that you dramatically improved code coverage? Well Spikesource 
is running an open testing competition to foster participartory 
testing,  however we can only make it successful with the blessing of 
committers of the projects involved.


What's in it for you? Well apart from a share in the team award and a 
good chance for an immediate early bird registration prize if you act 
quickly,  the end result should be useful tests for everyone, win or lose.


For more details see
http://www.spikesource.com/events/opentestingcontest/

and you can also contact me and I'll find the right person to contact

Finally thanks for everyone's work on struts and shale.

calvin



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r240300 - in /struts/shale/trunk: build.properties.sample build.xml core-library/build.xml

2005-08-26 Thread craigmcc
Author: craigmcc
Date: Fri Aug 26 10:57:52 2005
New Revision: 240300

URL: http://svn.apache.org/viewcvs?rev=240300&view=rev
Log:
Tweak build scripts (including build.properties.sample) for successful
building against MyFaces 1.0.9 instead of the JSF RI.  If you are using
the top level Shale build.xml, you'll need to execute
"ant download-dependencies" again to pick up some new ones that MyFaces needs.

Modified:
struts/shale/trunk/build.properties.sample
struts/shale/trunk/build.xml
struts/shale/trunk/core-library/build.xml

Modified: struts/shale/trunk/build.properties.sample
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/build.properties.sample?rev=240300&r1=240299&r2=240300&view=diff
==
--- struts/shale/trunk/build.properties.sample (original)
+++ struts/shale/trunk/build.properties.sample Fri Aug 26 10:57:52 2005
@@ -62,6 +62,17 @@
 # The absolute or relative pathname of the JavaServer Faces 
 # implementation
 jsf.home = /usr/local/jsf-1_1_01
+#jsf.home = /usr/local/myfaces-1.0.9
+
+# The absolute pathname of the JavaServer Faces API jar file
+# for your implementation
+jsf-api.jar = ${jsf.home}/lib/jsf-api.jar
+#jsf-api.jar = ${jsf.home}/lib/myfaces-jsf-api.jar
+
+# The absolute pathname of the JavaServer Faces implementation jar file
+# for your implementation
+jsf-impl.jar = ${jsf.home}/lib/jsf-impl.jar
+#jsf-impl.jar = ${jsf.home}/lib/myfaces-impl.jar
 
 # The absolute or relative pathname of the JUnit 3.8.1 JAR
 junit.home = /usr/local/junit-3.8.1
@@ -71,8 +82,6 @@
 
 # The absolute or relative pathname of the Commons Validator install dir
 validator.home = ${lib.dir}/commons-validator
-
-# (OPTIONAL) The absolute or relative pathname to the "dist" directory
 
 # The absolute or relative pathname of the directory containing the
 # Jakarta Commons Logging library

Modified: struts/shale/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/build.xml?rev=240300&r1=240299&r2=240300&view=diff
==
--- struts/shale/trunk/build.xml (original)
+++ struts/shale/trunk/build.xml Fri Aug 26 10:57:52 2005
@@ -46,6 +46,22 @@
 
   
 
+  
+
+  
+  
+
+  
+
+  
+
+  
+  
+
+  
+
   
 
@@ -54,6 +70,14 @@
 
   
 
+  
+
+  
+  
+
+  
+
   
 
@@ -70,6 +94,14 @@
 
   
 
+  
+
+  
+  
+
+  
+
   
 
@@ -124,6 +156,11 @@
   
   
 
+
+
+
+
+
   
 
   
 
+
+
+
+
+
+
 
 
 
+
+
+
 
 
+
+
+
 
 

Modified: struts/shale/trunk/core-library/build.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/build.xml?rev=240300&r1=240299&r2=240300&view=diff
==
--- struts/shale/trunk/core-library/build.xml (original)
+++ struts/shale/trunk/core-library/build.xml Fri Aug 26 10:57:52 2005
@@ -229,7 +229,7 @@
 
 
 
-
+
   
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: an open testing competition

2005-08-26 Thread James Mitchell

Any interest?

--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: jmitchtx



On Aug 26, 2005, at 1:30 PM, Calvin Austin wrote:



When was the last time someone thanked you for writing a test, or  
noticed that you dramatically improved code coverage? Well  
Spikesource is running an open testing competition to foster  
participartory testing,  however we can only make it successful  
with the blessing of committers of the projects involved.


What's in it for you? Well apart from a share in the team award and  
a good chance for an immediate early bird registration prize if you  
act quickly,  the end result should be useful tests for everyone,  
win or lose.


For more details see
http://www.spikesource.com/events/opentestingcontest/

and you can also contact me and I'll find the right person to contact

Finally thanks for everyone's work on struts and shale.

calvin



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r240369 - in /struts/shale/trunk: clay-plugin/build.xml core-library/build.xml test-framework/build.xml use-cases/build.xml

2005-08-26 Thread dgeary
Author: dgeary
Date: Fri Aug 26 18:15:30 2005
New Revision: 240369

URL: http://svn.apache.org/viewcvs?rev=240369&view=rev
Log:
Modified buildfiles to rely on JARS in the top-level lib directory that were 
downloaded by download-dependencies, copy-tiles, and copy-jsf-ri ANT tasks

Modified:
struts/shale/trunk/clay-plugin/build.xml
struts/shale/trunk/core-library/build.xml
struts/shale/trunk/test-framework/build.xml
struts/shale/trunk/use-cases/build.xml

Modified: struts/shale/trunk/clay-plugin/build.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/build.xml?rev=240369&r1=240368&r2=240369&view=diff
==
--- struts/shale/trunk/clay-plugin/build.xml (original)
+++ struts/shale/trunk/clay-plugin/build.xml Fri Aug 26 18:15:30 2005
@@ -49,13 +49,13 @@
 
   
   
+
value="${lib.dir}/commons-beanutils/commons-beanutils.jar"/>
   
+
value="${lib.dir}/commons-collections/commons-collections.jar"/>
   
+
value="${lib.dir}/commons-digester/commons-digester.jar"/>
   
+
value="${lib.dir}/commons-logging/commons-logging.jar"/>
   
   
   

Modified: struts/shale/trunk/core-library/build.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/build.xml?rev=240369&r1=240368&r2=240369&view=diff
==
--- struts/shale/trunk/core-library/build.xml (original)
+++ struts/shale/trunk/core-library/build.xml Fri Aug 26 18:15:30 2005
@@ -61,7 +61,6 @@
 
value="${validator.home}/commons-validator.jar"/>
 
   
-  
   
   
   
@@ -114,6 +113,7 @@
 
 
 
+
 
 
 

Modified: struts/shale/trunk/test-framework/build.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/test-framework/build.xml?rev=240369&r1=240368&r2=240369&view=diff
==
--- struts/shale/trunk/test-framework/build.xml (original)
+++ struts/shale/trunk/test-framework/build.xml Fri Aug 26 18:15:30 2005
@@ -47,19 +47,17 @@
 
   
   
+
value="${lib.dir}/commons-beanutils/commons-beanutils.jar"/>
   
+
value="${lib.dir}/commons-collections/commons-collections.jar"/>
   
+
value="${lib.dir}/commons-digester/commons-digester.jar"/>
   
-  
-  
-  
-  
-  
-  
+  
+  
+  
+  
   
   
 

Modified: struts/shale/trunk/use-cases/build.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/build.xml?rev=240369&r1=240368&r2=240369&view=diff
==
--- struts/shale/trunk/use-cases/build.xml (original)
+++ struts/shale/trunk/use-cases/build.xml Fri Aug 26 18:15:30 2005
@@ -49,24 +49,22 @@
 
   
   
+
value="${lib.dir}/commons-beanutils/commons-beanutils.jar"/>
   
+
value="${lib.dir}/commons-chain/commons-chain.jar"/>
   
+
value="${lib.dir}/commons-collections/commons-collections.jar"/>
   
+
value="${lib.dir}/commons-digester/commons-digester.jar"/>
   
+
value="${lib.dir}/commons-logging/commons-logging.jar"/>
   
+
value="${lib.dir}/commons-validator/commons-validator.jar"/>
 
-  
-  
-  
-  
-  
-  
+  
+  
+  
+  
   
   
   
@@ -75,7 +73,7 @@
   
   
   
-  
+  
 
 
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Shale/JSF/Java posts

2005-08-26 Thread Martin Cooper
On 8/26/05, Ted Husted <[EMAIL PROTECTED]> wrote:
> Moving to dev@ ...
> 
> On 8/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> > On 8/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> > >
> > > Would starting up a separate shale mailing list be a bad idea? I only
> > > ask because the number of struts posts is quite heavy and if someone
> > > posts a Shale question withough an approriate [shale] intro, I might
> > > miss the post and end up deleting it if I get busy and it ends up buried
> > > between the other struts posts?
> >
> > Experience across all of Apache is that splitting up mailing lists
> > tends not to accomplish the desired purpose (redirecting the traffic).
> >  More importantly, the cases where it has happened caused existing
> > communities to divide instead of unite, to their ultimate detriment,
> > and indeed in some cases has engendered conflict.  That's not what
> > Apache is about.
> >
> > -1 on separate lists for *any* Struts subprojects (including Shale).
> 
> Another approach that is working for some projects is to have separate
> user lists, but a single dev list. I'd be -1 on separate dev lists,
> but +0 on separate user lists for at least some of the subprojects,
> where the traffic boundaries are obvious.

One significant problem I see with separate user lists is that there
is going to be overlap, and hence repetition. For example, someone
using Tiles with Struts Classic may run into a problem that would also
be relevant to someone using it with Shale, but with separate lists,
the question will likely get asked twice, and the Shale person won't
benefit from the Classic person's experience (or vice versa).

Yes, Tiles may eventually move elsewhere, but the point remains.
Discussion on shared artifacts, as well as general non-"partisan"
topics, would be negatively affected by dividing the list. Hence I'm
-0 on multiple user lists (and, for the record, -1 on multiple dev
lists).

--
Martin Cooper


> -Ted.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r240373 - in /struts/core/trunk/src/share/org/apache/struts/action: Action.java ActionForm.java ActionMapping.java ActionMessages.java ActionRedirect.java ActionServlet.java

2005-08-26 Thread jmitchell
Author: jmitchell
Date: Fri Aug 26 18:58:39 2005
New Revision: 240373

URL: http://svn.apache.org/viewcvs?rev=240373&view=rev
Log:
No functional changes, all are javadoc or style fixeswith one exception.  
In ActionServlet#addServletMapping, the debug statement should have been part 
of the condition below it.

Modified:
struts/core/trunk/src/share/org/apache/struts/action/Action.java
struts/core/trunk/src/share/org/apache/struts/action/ActionForm.java
struts/core/trunk/src/share/org/apache/struts/action/ActionMapping.java
struts/core/trunk/src/share/org/apache/struts/action/ActionMessages.java
struts/core/trunk/src/share/org/apache/struts/action/ActionRedirect.java
struts/core/trunk/src/share/org/apache/struts/action/ActionServlet.java

Modified: struts/core/trunk/src/share/org/apache/struts/action/Action.java
URL: 
http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/action/Action.java?rev=240373&r1=240372&r2=240373&view=diff
==
--- struts/core/trunk/src/share/org/apache/struts/action/Action.java (original)
+++ struts/core/trunk/src/share/org/apache/struts/action/Action.java Fri Aug 26 
18:58:39 2005
@@ -399,7 +399,6 @@
  * @param request The servlet request we are processing
  * @return true if the cancel button was pressed;
  * false otherwise.
- * @see org.apache.struts.taglib.html.CancelTag
  */
 protected boolean isCancelled(HttpServletRequest request) {
 

Modified: struts/core/trunk/src/share/org/apache/struts/action/ActionForm.java
URL: 
http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/action/ActionForm.java?rev=240373&r1=240372&r2=240373&view=diff
==
--- struts/core/trunk/src/share/org/apache/struts/action/ActionForm.java 
(original)
+++ struts/core/trunk/src/share/org/apache/struts/action/ActionForm.java Fri 
Aug 26 18:58:39 2005
@@ -95,7 +95,8 @@
 /**
  * Return the controller servlet instance to which we are attached.
  * as an ActionServletWrapper.
- *
+ * 
+ * @return An instance of [EMAIL PROTECTED] 
org.apache.struts.action.ActionServletWrapper}
  * @see org.apache.struts.action.ActionServletWrapper
  * @since Struts 1.0.1
  */
@@ -115,6 +116,7 @@
  * null if this form's enctype is not
  * "multipart/form-data".
  *
+ * @return The [EMAIL PROTECTED] 
org.apache.struts.upload.MultipartRequestHandler} for this form.
  * @see org.apache.struts.upload.MultipartRequestHandler
  */
 public MultipartRequestHandler getMultipartRequestHandler() {

Modified: 
struts/core/trunk/src/share/org/apache/struts/action/ActionMapping.java
URL: 
http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/action/ActionMapping.java?rev=240373&r1=240372&r2=240373&view=diff
==
--- struts/core/trunk/src/share/org/apache/struts/action/ActionMapping.java 
(original)
+++ struts/core/trunk/src/share/org/apache/struts/action/ActionMapping.java Fri 
Aug 26 18:58:39 2005
@@ -65,19 +65,19 @@
  * specified forwarding configuration. If no forwarding configuration
  * can be found, return null.
  *
- * @param name Logical name of the forwarding instance to be returned
+ * @param forwardName Logical name of the forwarding instance to be 
returned
  *
  * @return The local or global forward with the specified name.
  */
-public ActionForward findForward(String name) {
+public ActionForward findForward(String forwardName) {
 
-ForwardConfig config = findForwardConfig(name);
+ForwardConfig config = findForwardConfig(forwardName);
 if (config == null) {
-config = getModuleConfig().findForwardConfig(name);
+config = getModuleConfig().findForwardConfig(forwardName);
 }
 if (config == null) {
 if (log.isWarnEnabled()) {
-log.warn("Unable to find '" + name + "' forward.");
+log.warn("Unable to find '" + forwardName + "' forward.");
 }
 }
 return ((ActionForward) config);

Modified: 
struts/core/trunk/src/share/org/apache/struts/action/ActionMessages.java
URL: 
http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/action/ActionMessages.java?rev=240373&r1=240372&r2=240373&view=diff
==
--- struts/core/trunk/src/share/org/apache/struts/action/ActionMessages.java 
(original)
+++ struts/core/trunk/src/share/org/apache/struts/action/ActionMessages.java 
Fri Aug 26 18:58:39 2005
@@ -158,23 +158,23 @@
  * to the end of the list for that property. If a message's property is not
  * in the current list it is added to the end of the properties.
  *
-

svn commit: r240380 - in /struts/shale/trunk/use-cases/src: java/org/apache/shale/usecases/rolodex/ test/org/apache/shale/usecases/rolodex/ web/WEB-INF/

2005-08-26 Thread gvanmatre
Author: gvanmatre
Date: Fri Aug 26 19:45:41 2005
New Revision: 240380

URL: http://svn.apache.org/viewcvs?rev=240380&view=rev
Log:
Cleaned up some missing copyright's and minor refactoring.

Added:

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/QueryParam.java
Removed:

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/states.xml
Modified:

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Rolodex.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/RolodexDao.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/State.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/dex.xml

struts/shale/trunk/use-cases/src/test/org/apache/shale/usecases/rolodex/RolodexTestCase.java
struts/shale/trunk/use-cases/src/web/WEB-INF/clay-config.xml
struts/shale/trunk/use-cases/src/web/WEB-INF/faces-config.xml

Modified: 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java?rev=240380&r1=240379&r2=240380&view=diff
==
--- 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java
 (original)
+++ 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java
 Fri Aug 26 19:45:41 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.usecases.rolodex;
 
 /**

Modified: 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java?rev=240380&r1=240379&r2=240380&view=diff
==
--- 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java
 (original)
+++ 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java
 Fri Aug 26 19:45:41 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.shale.usecases.rolodex;
 
 import java.io.UnsupportedEncodingException;

Modified: 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java?rev=240380&r1=240379&r2=240380&view=diff
==
--- 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java
 (original)
+++ 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java
 Fri Aug 26 19:45:41 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ * 
+ * Licensed 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 t

svn commit: r240381 - /struts/site/trunk/xdocs/volunteers.xml

2005-08-26 Thread gvanmatre
Author: gvanmatre
Date: Fri Aug 26 20:11:54 2005
New Revision: 240381

URL: http://svn.apache.org/viewcvs?rev=240381&view=rev
Log:
Added gvanmatre to the list.

Modified:
struts/site/trunk/xdocs/volunteers.xml

Modified: struts/site/trunk/xdocs/volunteers.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/volunteers.xml?rev=240381&r1=240380&r2=240381&view=diff
==
--- struts/site/trunk/xdocs/volunteers.xml (original)
+++ struts/site/trunk/xdocs/volunteers.xml Fri Aug 26 20:11:54 2005
@@ -95,6 +95,9 @@

Wendy Smoak
(wsmoak at apache.org)
+   
+   Gary VanMatre
+   (gvanmatre at apache.org)   
 
 
  
@@ -371,6 +374,32 @@
 asking questions on the user list naturally transformed into
 answering them, which I've been doing ever since. I accepted an
 invitation to become a Struts Committer in June, 2005.
+   
+Gary VanMatre -- Committer
+
+I landed an internship in college working with the big blue 
iron where 
+I dappled in the craft of VSE COBOL and JCL. Through the 90's, I 
worked my 
+way into several client-server technologies (Visual Basic, 
PowerBuilder and Delphi) 
+and finally thought that I had learned the last programming 
language I 
+would ever need to know, Forté Transactional Object Oriented 
language (TOOL).
+
+I rode the Forté wave for several years and suddenly found 
myself 
+looking for work and feeling like a real "tool". An empty, dust 
free 
+self was just the right size for the proprietary distributed 
object 
+solution once called Forté.
+
+In 2002, is when I found Java. While working a VB assignment, 
+I decided the only hope I had of getting a competitive edge was to 
+become a Sun Certified Java Programmer. With that card, I found an 
+opportunity to become a Struts developer and began lurking about 
the 
+Struts mailing lists in 2003.
+
+In late 2004, I started hearing a buzz about a new Struts 
subproject 
+and became very interested in the ideas. I also began acquiring a 
stack 
+of JSF books matching my Struts collection.  My experience with 
Struts, 
+Tiles and something that Colorado Department of State calls 
Rustts, gave 
+me the idea that has become known as the Shale "Clay" plug-in. I 
was 
+invited to become a Struts Committer in July 2005.
 
  
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED]: Project struts-core (in module struts) failed

2005-08-26 Thread James Mitchell
Well, seems we have a new problem.  Hopefully someone more familiar  
with Gump than I am will step forward.


--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: jmitchtx





On Aug 26, 2005, at 9:28 AM, Stefan Bodewig wrote:


To whom it may engage...

This is an automated request, but not an unsolicited one. For
more information please visit http://gump.apache.org/nagged.html,
and/or contact the folk at [EMAIL PROTECTED]

Project struts-core has an issue affecting its community integration.
This issue affects 4 projects,
 and has been outstanding for 42 runs.
The current state of this project is 'Failed', with reason 'Build  
Failed'.

For reference only, the following projects are affected by this:
- fulcrum-quartz :  Services Framework
- quartz :  Job Scheduler
- struts-core :  Model 2 Model-View-Controller framework for  
Servlets and JSP
- struts-tiles :  Model 2 Model-View-Controller framework for  
Servlets and JSP



Full details are available at:
http://vmgump.apache.org/gump/public/struts/struts-core/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error  
messages) were provided:

 -DEBUG- Sole output [struts.jar] identifier set to project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for  
property xerces.jar.

 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/struts/struts-core/gump_work/ 
build_struts_struts-core.html

Work Name: build_struts_struts-core (Type: Build)
Work ended in a state of : Failed
Elapsed: 9 secs
Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/ 
local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/ 
usr/local/gump/public/workspace/xml-xalan/java/build/xalan- 
unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/ 
external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml- 
xerces2/java/build/xercesImpl.jar org.apache.tools.ant.Main - 
Dgump.merge=/x1/gump/public/gump/work/merge.xml - 
Dbuild.sysclasspath=only -Dcommons-beanutils.jar=/usr/local/gump/ 
public/workspace/jakarta-commons/beanutils/dist/commons-beanutils- 
core.jar -Djakarta-oro.jar=/usr/local/gump/public/workspace/jakarta- 
oro/jakarta-oro-26082005.jar -Dcommons-chain.jar=/usr/local/gump/ 
public/workspace/jakarta-commons/chain/target/commons- 
chain-26082005.jar -Dantlr.jar=/usr/local/gump/packages/antlr-2.7.3/ 
antlr.jar -Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0- 
stdext.jar -Dcommons-lang.jar=/usr/local/gump/public/workspace/ 
jakarta-commons/lang/dist/commons-lang-26082005.jar -Dcommons- 
logging.jar=/usr/local/gump/public/workspace/jakarta-commons/ 
logging/dist/commons-logging-26082005.jar -Djdk.version=1.4 - 
Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/ 
lib/servlet.jar -Dcommons-validator.jar=/usr/local/gump/public/ 
workspace/jakarta-commons/validator/dist/commons-validator.jar - 
Dcommons-digester-rss.jar=/usr/local/gump/public/workspace/jakarta- 
commons/digester/src/examples/rss/dist/commons-digester-rss.jar - 
Dxerces.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/ 
xercesImpl.jar -Dcommons-collections.jar=/usr/local/gump/public/ 
workspace/jakarta-commons/collections/build/commons- 
collections-26082005.jar -Dcommons-fileupload.jar=/usr/local/gump/ 
public/workspace/jakarta-commons/fileupload/target/commons- 
fileupload-26082005.jar -Dcommons-digester.jar=/usr/local/gump/ 
public/workspace/jakarta-commons/digester/dist/commons-digester.jar  
dist

[Working Directory: /usr/local/gump/public/workspace/struts/core]
CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/ 
workspace/struts/core/target/library/classes:/usr/local/gump/public/ 
workspace/struts/core/target/tiles/library/classes:/usr/local/gump/ 
public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/ 
workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/ 
workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/ 
public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/ 
workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/ 
workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/ 
workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/ 
workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/ 
dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/ 
java/build/resolver.jar:/usr/local/gump/packages/jdbc2_0/jdbc2_0- 
stdext.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/ 
lib/servlet.jar:/usr/local/gump/packages/antlr-2.7.3/antlr.jar:/usr/ 
local/gump/public/workspace/jakarta-commons/beanutils/dist/commons- 
beanutils-core.jar:/usr/local/gump/public/w

svn commit: r240388 - in /struts/build/trunk: project.properties project.xml

2005-08-26 Thread husted
Author: husted
Date: Fri Aug 26 21:12:04 2005
New Revision: 240388

URL: http://svn.apache.org/viewcvs?rev=240388&view=rev
Log:
Add repository element to site/build/project.xml and extend number of days in 
project.properties, so that changelogs are generated throughout. 
Next, I'll boil these down into release notes for 1.3.0. 

Modified:
struts/build/trunk/project.properties
struts/build/trunk/project.xml

Modified: struts/build/trunk/project.properties
URL: 
http://svn.apache.org/viewcvs/struts/build/trunk/project.properties?rev=240388&r1=240387&r2=240388&view=diff
==
--- struts/build/trunk/project.properties (original)
+++ struts/build/trunk/project.properties Fri Aug 26 21:12:04 2005
@@ -1,5 +1,6 @@
 
 maven.changelog.factory = org.apache.maven.svnlib.SvnChangeLogFactory
+maven.changelog.range = 120
 
 maven.multiproject.basedir  = ../
 maven.multiproject.includes = */project.xml

Modified: struts/build/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/struts/build/trunk/project.xml?rev=240388&r1=240387&r2=240388&view=diff
==
--- struts/build/trunk/project.xml (original)
+++ struts/build/trunk/project.xml Fri Aug 26 21:12:04 2005
@@ -123,6 +123,12 @@
   
http://mail-archives.apache.org/eyebrowse/SummarizeList?listId=41
 
   
+  
+  
+
scm|svn|http://svn.apache.org/repos/asf/struts/current
+
scm|svn|https://svn.apache.org/repos/asf/struts/current
+http://svn.apache.org/repos/asf/struts/site/trunk
+
 
   
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]