cvs commit: jakarta-struts/doc installation-1.0.xml

2001-10-06 Thread husted

husted  01/10/06 10:36:28

  Added:   doc  installation-1.0.xml
  Log:
  Commit installation file Struts 1.0, to cure 404 on updated Website (oops;-).
  
  Revision  ChangesPath
  1.1  jakarta-struts/doc/installation-1.0.xml
  
  Index: installation-1.0.xml
  ===
  ?xml version=1.0?
  document url=./installation-1.0.xml
  
properties
  authorCraig R. McClanahan/author
  authorMartin Cooper/author
  authorTed Husted/author
  titleThe Struts Framework Project - Installation (1.0)/title
/properties
  
body
  
section name=Prerequisite Software href=Prerequisites
  
pThe Struts binary distribution needs three other software packages installed to 
operate. You may already have these installed on your system. To build Struts from 
source you may need to acquire and install several others. The complete list is as 
follows:/p
  
ul
listrongJava Development Kit/strong - You bmust/b download and install
a Java2 (version 1.2 or later) Java Development Kit implementation for
your operating system platform.
A good starting point for locating Java Development Kit distributions is
a href=http://java.sun.com/j2se;http://java.sun.com/j2se/a./li

listrongServlet Container/strong - You bmust/b download and install a
servlet container that is compatible with the Servlet API Specification,
version 2.2 or later, and the JavaServer Pages (JSP) Specification,
version 1.1 or later.  One popular choice is to download Apache's
a href=http://jakarta.apache.org/tomcat;Tomcat/a (version 3.1
or later required, version 3.2 or later recommended)./li
  
listrongXML Parser/strong - Struts brequires/b the presence of an XML
parser that is compatible with the Java API for XML Parsing (JAXP)
specification, 1.0 or later.  You can download and install the JAXP
a href=http://java.sun.com/xml;reference implementation/a,
which is required for building the Struts source distribution.  In
Struts-based web applications, you may replace the reference
implementation classes with any other JAXP compliant parser, such as
a href=http://xml.apache.org/xerces-j;Xerces/a.  See detailed
instructions related to the parser in the instructions for
a href=#Buildingbuilding/a and a href=#Installinginstalling/a
Struts, below./li
  
listrongAnt Build System/strong - If you are building Struts from the
source distribution, you must download and install version 1.3 or later
of the a href=http://jakarta.apache.org/ant;Ant/a build system.
This package is also strongly recommended for use in developing your
own web applications based on Struts.
ul
liIf you are using the release version of Ant version 1.3, you will
also need to download the optional.jar file that contains the
implementation of Ant's codelt;stylegt;/code command./li
liMake sure that the ant and ant.bat scripts are executable, by
adding the $ANT_HOME/bin directory to your PATH environment
variable./li
/ul/li
  
listrongJDBC 2.0 Optional Package Classes/strong - Struts supports
an optional implementation of codejavax.sql.DataSource/code, so it
requires the API classes to be compiled.  They can be downloaded from
a 
href=http://java.sun.com/products/jdbc/download.html;http://java.sun.com/products/jdbc/download.html/a./li
  
listrongXalan XSLT Processor/strong - If you are building Struts from
the source distribution, you must download and install version 1.2
(problems have been reported with current versions of Xalan 2.0)
of the a href=http://xml.apache.org/xalan;Xalan/a
XSLT processor (which also includes the Xerces XML parser), or use the
version of Xalan included in the JAXP 1.1 release.  This
processor is used to convert the Struts documentation from its internal
XML-based format into the HTML that is presented in the Struts
documentation application./li
/ul
  
/section
  
section name=Install A Struts Binary Distribution href=Installing
  
  pFirst, download a binary distribution of Struts by following the
  instructions a href=index.html#Acquiringhere/a.  Then, make sure
  you have downloaded and installed the
  a href=#Prerequisitesprerequisite/a software packages described
  above./p
  
  pUnpack the Struts binary distribution into a convenient directory.
  (If you a href=#Buildingbuild Struts from the source distribution/a, 
  the result of the build will already be an unpacked binary distribution 
  for you). The distribution consists of the following contents:/p
  
  ul
  listronglib/struts.jar/strong - This JAR file 

Re: properties other than basic wrappers

2001-10-06 Thread martin . cooper

There was a discussion on using the PropertyEditor mechanism on this list a
few months ago, and there were some significant concerns. You can review the
thread in the archive entitled Struts 1.1 TODO List -- Event and Listener
Model, starting here:

http://www.mail-archive.com/cgi-bin/htsearch?config=struts-dev_jakarta_apach
e_orgrestrict=exclude=words=PropertyEditor

I don't have any personal practical experience with PropertyEditors, but I
have to say that the content of this thread pretty much killed any interest
I might have had in building them into Struts.

--
Martin Cooper


- Original Message -
From: Nathan Coast [EMAIL PROTECTED]
To: Struts-Dev (E-mail) [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 9:07 AM
Subject: properties other than basic wrappers


 Hi,

 I guess this is directed at the commons-beanutils developers but I get the
 impression that the struts / commmons developers are one and the same.  Is
 there any work in progress to provide functionality for form-bean
properties
 with data types beyond the basic types / object wrappers?  having looked
at
 the code I guess the logical place for such code would be
 org.apache.commons.beanutils.ConvertUtils.  I saw the following in the
 struts 1.1 to-do list and wasn't sure if this was referring to the same
 thing:

 PropertyEditor Support. Add support for JavaBeans that include a
 PropertyEditor class for conversion to and from the string representation
 used in an HTML input field. This support should operate in a manner
 consistent with the way that standard JSP tags do in JSP 1.2.

 If there's a need for someone to work on this then how do I go about
getting
 involved?

 Cheers Nathan


 **
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the system manager.

 This footnote also confirms that this email message has been swept by
 MIMEsweeper at LevelSeas for the presence of computer viruses.

 www.mimesweeper.com
 **





No more 10-10 programs! 2.9 cents per min!

2001-10-06 Thread helen29

* * * * * * * For The First Time in Telecom History * * * * * * *

* * * * * * * You Can Have Your Cake and Eat It Too! * * * * * * 

* * * * * * * * * * * The Best of Both Worlds! * * * * * * * * * *

* * * * * * * * 2.9 Cents per Minute Long Distance * * * * * * * * *

 OR

* * * * * * * UNLIMITED FLAT RATE LONG DISTANCE * * * * * * * *


  YOU MAKE THE CALL!   ** 



No Credit Check! No Contracts or long Term Obligations! No More
Local Long Distance Calling! No Fine Print, or Hidden Fees!
No Changing Carriers! Just TALK as much as you want with these 
incredible low rates 2.9 cents a minute or Flate Rate  

* * * * * * * * * * * ABSOLUTELY NO GIMMICKS  * * * * * * * * * *

* * * * * * * * * * * ACTIVATION IN 48 HOURS * * * * * * * * * * 


FOR MORE INFORMATION: on our 2.9 cents a minute Long Distance
OR our Unlimited Long Distance click on the hyperlink below and 
mailto: [EMAIL PROTECTED]=Type more info in the subjct box.




To unsubscribe:[EMAIL PROTECTED]




cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionServlet.java

2001-10-06 Thread martinc

martinc 01/10/06 21:48:08

  Modified:doc  index.xml
   doc/userGuide building_controller.xml building_model.xml
building_view.xml introduction.xml
   src/share/org/apache/struts/action ActionServlet.java
  Log:
  Documentation updates:
   - Bugzilla items 3670 through 3680
   - Updated JavaDoc also for Bugzilla 3678
   - Document 'validating' init-param in User Guide
   - Fixed a typo on the home page
  PR: 3670 through 3680
  Submitted by: David M. Karr
  
  Revision  ChangesPath
  1.9   +1 -1  jakarta-struts/doc/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/index.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- index.xml 2001/09/18 01:39:51 1.8
  +++ index.xml 2001/10/07 04:48:08 1.9
  @@ -76,7 +76,7 @@
 morning. Use at your own risk!/p
   
 ul
  -  liNightly builds - download the source directly via
  +  liNightly builds - Download the source directly via
 a href=http://jakarta.apache.org/getinvolved/cvsindex.html;
 Anonymous CVS/a./li
 liNightly builds - Download the binary distributions from
  
  
  
  1.5   +17 -8 jakarta-struts/doc/userGuide/building_controller.xml
  
  Index: building_controller.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_controller.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- building_controller.xml   2001/10/05 11:19:29 1.4
  +++ building_controller.xml   2001/10/07 04:48:08 1.5
  @@ -197,8 +197,8 @@
 /p
 
 p
  -Inside of the lt;struts-configgt; element, there two important elements 
that use
  -to describe your actions:
  +Inside of the lt;struts-configgt; element, there are two important
  +elements that are used to describe your actions:
   
   blockquote
 blt;form-beansgt;/bbr /
  @@ -217,7 +217,7 @@
   blockquote
 blt;action-mappingsgt;/bbr /
   This section contains your action definitions.  You use an 
lt;actiongt; element
  -for each of your actions you would like to define.  Each action element 
has requires
  +for each of your actions you would like to define.  Each action element 
requires
   the following attributes to be defined:
   
   ul
  @@ -273,7 +273,7 @@
   name for the form bean.
 /p
 p
  -The codeglobal-forwards/code section is used to create logical name 
mappings between commonly used
  +The codeglobal-forwards/code section is used to create logical name 
mappings for commonly used
   jsp pages.  Each of these forwards is available through a call to your 
action mapping instance,
   i.e. codeactionMappingInstace.findForward(logicalName)/code.
 /p
  @@ -287,7 +287,7 @@
   and saving a bean of the specified class if needed.
 /p
 p
  -An optional but very useful section is the local local 
codeforwards/code. In the example 
  +Optional but very useful are the local codeforward/code elements. In 
the example 
   application, many actions include a local success and/or failure 
forward as 
   part of an Action mapping. 
 /p
  @@ -415,7 +415,8 @@
 instead of the servlet log.  [0]/li
 listrongfactory/strong - The Java class name of the
 codeMessageResourcesFactory/code used to create the application
  -  codeMessageResources/code object./li
  +  codeMessageResources/code object.
  +  [org.apache.struts.util.PropertyMessageResourcesFactory]/li
 listrongformBean/strong - The Java class name of the ActionFormBean
 implementation to use [org.apache.struts.action.ActionFormBean]./li
 listrongforward/strong - The Java class name of the ActionForward
  @@ -435,7 +436,7 @@
 user session, identify and store an appropriate
 codejava.util.Locale/code object (under the standard key
 identified by codeAction.LOCALE_KEY/code) in the user's session
  -  if there is not a Locale object there already./li
  +  if there is not a Locale object there already. [true]/li
 listrongmapping/strong - The Java class name of the ActionMapping
 implementation to use [org.apache.struts.action.ActionMapping].
 Two convenient classes you may wish to use are:
  @@ -453,7 +454,7 @@
 by a K M, or G, which are interpreted to mean kilobytes,
 megabytes, or gigabytes, respectively.  [250M]/li
 listrongmultipartClass/strong - The fully qualified 

cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionServlet.java

2001-10-06 Thread martinc

martinc 01/10/06 21:49:15

  Modified:doc/userGuide Tag: STRUTS_1_0_BRANCH building_controller.xml
building_model.xml building_view.xml
introduction.xml
   src/share/org/apache/struts/action Tag: STRUTS_1_0_BRANCH
ActionServlet.java
  Log:
  Ported documentation updates to 1.0 branch:
   - Bugzilla items 3670 through 3680
   - Updated JavaDoc also for Bugzilla 3678
   - Document 'validating' init-param in User Guide
  PR: 3670 through 3680
  Submitted by: David M. Karr
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +17 -8 jakarta-struts/doc/userGuide/building_controller.xml
  
  Index: building_controller.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_controller.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- building_controller.xml   2001/03/18 17:48:59 1.1
  +++ building_controller.xml   2001/10/07 04:49:15 1.1.2.1
  @@ -197,8 +197,8 @@
 /p
 
 p
  -Inside of the lt;struts-configgt; element, there two important elements 
that use
  -to describe your actions:
  +Inside of the lt;struts-configgt; element, there are two important
  +elements that are used to describe your actions:
   
   blockquote
 blt;form-beansgt;/bbr /
  @@ -217,7 +217,7 @@
   blockquote
 blt;action-mappingsgt;/bbr /
   This section contains your action definitions.  You use an 
lt;actiongt; element
  -for each of your actions you would like to define.  Each action element 
has requires
  +for each of your actions you would like to define.  Each action element 
requires
   the following attributes to be defined:
   
   ul
  @@ -273,7 +273,7 @@
   name for the form bean.
 /p
 p
  -The codeglobal-forwards/code section is used to create logical name 
mappings between commonly used
  +The codeglobal-forwards/code section is used to create logical name 
mappings for commonly used
   jsp pages.  Each of these forwards is available through a call to your 
action mapping instance,
   i.e. codeactionMappingInstace.findForward(logicalName)/code.
 /p
  @@ -287,7 +287,7 @@
   and saving a bean of the specified class if needed.
 /p
 p
  -An optional but very useful section is the local local 
codeforwards/code. In the example 
  +Optional but very useful are the local codeforward/code elements. In 
the example 
   application, many actions include a local success and/or failure 
forward as 
   part of an Action mapping. 
 /p
  @@ -415,7 +415,8 @@
 instead of the servlet log.  [0]/li
 listrongfactory/strong - The Java class name of the
 codeMessageResourcesFactory/code used to create the application
  -  codeMessageResources/code object./li
  +  codeMessageResources/code object.
  +  [org.apache.struts.util.PropertyMessageResourcesFactory]/li
 listrongformBean/strong - The Java class name of the ActionFormBean
 implementation to use [org.apache.struts.action.ActionFormBean]./li
 listrongforward/strong - The Java class name of the ActionForward
  @@ -435,7 +436,7 @@
 user session, identify and store an appropriate
 codejava.util.Locale/code object (under the standard key
 identified by codeAction.LOCALE_KEY/code) in the user's session
  -  if there is not a Locale object there already./li
  +  if there is not a Locale object there already. [true]/li
 listrongmapping/strong - The Java class name of the ActionMapping
 implementation to use [org.apache.struts.action.ActionMapping].
 Two convenient classes you may wish to use are:
  @@ -453,7 +454,7 @@
 by a K M, or G, which are interpreted to mean kilobytes,
 megabytes, or gigabytes, respectively.  [250M]/li
 listrongmultipartClass/strong - The fully qualified name of the
  -  MultiplartRequestHandler implementation class to be used for 
processing
  +  MultipartRequestHandler implementation class to be used for processing
 file uploads.  [org.apache.struts.upload.DiskMultipartRequestHandler]
 /li
 listrongnocache/strong - If set to codetrue/code, add HTTP 
headers
  @@ -468,11 +469,19 @@
 application as a servlet context attribute]/li
 listrongvalidate/strong - Are we using the new configuration file
 format?  

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html MultiboxTag.java

2001-10-06 Thread martinc

martinc 01/10/06 23:13:05

  Modified:src/share/org/apache/struts/taglib/html MultiboxTag.java
  Log:
  doAfterBody() should return SKIP_BODY instead of SKIP_PAGE.
  
  PR: 3830
  Submitted by: Nino Walker
  
  Revision  ChangesPath
  1.10  +5 -5  
jakarta-struts/src/share/org/apache/struts/taglib/html/MultiboxTag.java
  
  Index: MultiboxTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/MultiboxTag.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- MultiboxTag.java  2001/07/16 00:44:55 1.9
  +++ MultiboxTag.java  2001/10/07 06:13:05 1.10
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/MultiboxTag.java,v 
1.9 2001/07/16 00:44:55 craigmcc Exp $
  - * $Revision: 1.9 $
  - * $Date: 2001/07/16 00:44:55 $
  + * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/MultiboxTag.java,v 
1.10 2001/10/07 06:13:05 martinc Exp $
  + * $Revision: 1.10 $
  + * $Date: 2001/10/07 06:13:05 $
*
* 
*
  @@ -83,7 +83,7 @@
*
* @author Ralph Schaer
* @author Craig R. McClanahan
  - * @version $Revision: 1.9 $ $Date: 2001/07/16 00:44:55 $
  + * @version $Revision: 1.10 $ $Date: 2001/10/07 06:13:05 $
*/
   
   public class MultiboxTag extends BaseHandlerTag {
  @@ -210,7 +210,7 @@
   this.constant = bodyContent.getString().trim();
   if (.equals(this.constant))
   this.constant = null;
  -return (SKIP_PAGE);
  +return (SKIP_BODY);
   
   }
   
  
  
  



cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html MultiboxTag.java

2001-10-06 Thread martinc

martinc 01/10/06 23:16:09

  Modified:src/share/org/apache/struts/taglib/html Tag:
STRUTS_1_0_BRANCH MultiboxTag.java
  Log:
  Port fix for doAfterBody() to 1.0 branch.
  
  PR: 3830
  Submitted by: Nino Walker
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.6.2.3   +5 -5  
jakarta-struts/src/share/org/apache/struts/taglib/html/MultiboxTag.java
  
  Index: MultiboxTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/MultiboxTag.java,v
  retrieving revision 1.6.2.2
  retrieving revision 1.6.2.3
  diff -u -r1.6.2.2 -r1.6.2.3
  --- MultiboxTag.java  2001/06/10 03:51:41 1.6.2.2
  +++ MultiboxTag.java  2001/10/07 06:16:09 1.6.2.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/MultiboxTag.java,v 
1.6.2.2 2001/06/10 03:51:41 craigmcc Exp $
  - * $Revision: 1.6.2.2 $
  - * $Date: 2001/06/10 03:51:41 $
  + * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/MultiboxTag.java,v 
1.6.2.3 2001/10/07 06:16:09 martinc Exp $
  + * $Revision: 1.6.2.3 $
  + * $Date: 2001/10/07 06:16:09 $
*
* 
*
  @@ -83,7 +83,7 @@
*
* @author Ralph Schaer
* @author Craig R. McClanahan
  - * @version $Revision: 1.6.2.2 $ $Date: 2001/06/10 03:51:41 $
  + * @version $Revision: 1.6.2.3 $ $Date: 2001/10/07 06:16:09 $
*/
   
   public class MultiboxTag extends BaseHandlerTag {
  @@ -210,7 +210,7 @@
   this.constant = bodyContent.getString().trim();
   if (.equals(this.constant))
   this.constant = null;
  -return (SKIP_PAGE);
  +return (SKIP_BODY);
   
   }