cvs commit: jakarta-struts/web/blank/WEB-INF struts-config.xml

2004-02-06 Thread husted
husted  2004/02/06 04:18:39

  Modified:web/blank/WEB-INF struts-config.xml
  Log:
  Update to use forward attribute rather than ForwardAction.
  
  Revision  ChangesPath
  1.13  +1 -2  jakarta-struts/web/blank/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-struts/web/blank/WEB-INF/struts-config.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- struts-config.xml 15 Jan 2004 04:02:08 -  1.12
  +++ struts-config.xml 6 Feb 2004 12:18:39 -   1.13
  @@ -109,8 +109,7 @@
   !-- Forwards to Welcome.jsp --
   action
   path=/Welcome
  -type=org.apache.struts.actions.ForwardAction
  -parameter=/pages/Welcome.jsp/
  +forward=/pages/Welcome.jsp/
   
   !-- sample input and input submit actions
   
  
  
  

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



cvs commit: jakarta-struts/web/blank/WEB-INF struts-config.xml

2004-01-14 Thread husted
husted  2004/01/14 20:02:08

  Modified:web/blank/WEB-INF struts-config.xml
  Log:
  Restore Tiles plug-in element.
  
  Revision  ChangesPath
  1.12  +11 -1 jakarta-struts/web/blank/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-struts/web/blank/WEB-INF/struts-config.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- struts-config.xml 8 Jan 2004 16:28:47 -   1.11
  +++ struts-config.xml 15 Jan 2004 04:02:08 -  1.12
  @@ -147,7 +147,7 @@
   
   !--  Message Resources Definitions --
   
  -message-resources parameter=MessageResources/
  +message-resources parameter=MessageResources /
   
   
   !-- === Plug Ins Configuration --
  @@ -179,6 +179,16 @@
   
  Paths found in Tiles definitions are relative to the main context.
 --
  +
  +plug-in className=org.apache.struts.tiles.TilesPlugin 
  +
  +  !-- Path to XML definition file --
  +  set-property property=definitions-config
  +   value=/WEB-INF/tiles-defs.xml /
  +  !-- Set Module-awareness to true --
  +  set-property property=moduleAware value=true /
  +/plug-in
  +
   
 !-- === Validator plugin --
   
  
  
  

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



cvs commit: jakarta-struts/web/blank/WEB-INF struts-config.xml

2003-10-14 Thread sraeburn
sraeburn2003/10/14 10:02:53

  Modified:web/blank/WEB-INF struts-config.xml
  Log:
  Fixed missing end tag in form-bean example config
  PR# 23816 
  
  Also reformatted to remove unneccessary blank lines.
  
  Revision  ChangesPath
  1.10  +1 -142jakarta-struts/web/blank/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-struts/web/blank/WEB-INF/struts-config.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- struts-config.xml 29 Dec 2002 21:41:57 -  1.9
  +++ struts-config.xml 14 Oct 2003 17:02:53 -  1.10
  @@ -4,288 +4,147 @@
 -//Apache Software Foundation//DTD Struts Configuration 1.1//EN
 http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd;
   
  -
  -
   !--
  -
This is a blank Struts configuration file with an example
  -
welcome action/page and other commented sample elements.
   
  -
  -
Tiles and the Struts Validator are configured using the factory defaults
  -
and are ready-to-use.
   
  -
  -
NOTE: If you have a generator tool to create the corresponding Java classes
  -
for you, you could include the details in the form-bean declarations.
  -
Otherwise, you would only define the form-bean element itself, with the
  -
corresponding name and type attributes, as shown here.
  -
   --
   
   
  -
  -
  -
   struts-config
   
  -
  -
   !--  Data Source Configuration --
  -
   !--
  -
data-sources
  -
  data-source
  -
set-property
  -
   property=autoCommit
  -
   value=false/
  -
set-property
  -
   property=description
  -
   value=Example Data Source Configuration/
  -
set-property
  -
   property=driverClass
  -
   value=org.postgresql.Driver/
  -
set-property
  -
   property=maxCount
  -
   value=4/
  -
set-property
  -
   property=minCount
  -
   value=2/
  -
set-property
  -
   property=password
  -
   value=mypassword/
  -
set-property
  -
   property=url
  -
   value=jdbc:postgresql://localhost/mydatabase/
  -
set-property
  -
   property=user
  -
   value=myusername/
  -
  /data-source
  -
/data-sources
  -
   --
   
  -
  -
   !--  Form Bean Definitions --
   
  -
  -
   form-beans
   
  -
  -
   !-- sample form bean descriptor for an ActionForm
  -
   form-bean
  -
   name=inputForm
  -
   type=app.InputForm/
  -
   end sample --
   
  -
  -
   !-- sample form bean descriptor for a DynaActionForm
  -
   form-bean
  -
   name=logonForm
  -
   type=org.apache.struts.action.DynaActionForm
  -
   form-property
  -
   name=username
  -
   type=java.lang.String/
  -
   form-property
  -
   name=password
  -
   type=java.lang.String/
  -
  +   /form-bean
   end sample --
   
   
  -
   /form-beans
   
   
  -
  -
  -
   !-- = Global Exception Definitions --
   
  -
  -
   global-exceptions
  -
   !-- sample exception handler
  -
   exception
  -
   key=expired.password
  -
   type=app.ExpiredPasswordException
  -
   path=/changePassword.jsp/
  -
   end sample --
  -
   /global-exceptions
   
   
  -
  -
  -
   !-- === Global Forward Definitions --
   
  -
  -
   global-forwards
  -
   !-- Default forward to Welcome action --
  -
   !-- Demonstrates using index.jsp to forward --
  -
   forward
  -
   name=welcome
  -
   path=/Welcome.do/
  -
   /global-forwards
   
   
  -
  -
  -
   !-- === Action Mapping Definitions --
   
  -
  -
   action-mappings
   
  -
  -
   !-- Default Welcome action --
  -
   !-- Forwards to Welcome.jsp --
  -
   action
  -
   path=/Welcome
  -
   type=org.apache.struts.actions.ForwardAction
  -
   parameter=/pages/Welcome.jsp/
   
  -
  -
   !-- sample input and input submit actions
   
  -
  -
   action
  -
   path=/Input
  -
   type=org.apache.struts.actions.ForwardAction
  -
   parameter=/pages/Input.jsp/
   
  -
  -
   action
  -
   path=/InputSubmit
  -
   type=app.InputAction
  -
   name=inputForm
  -
   scope=request
  -
   validate=true
  -
   input=/pages/Input.jsp/
   
  -
  -
   end samples --
   
  -
  -
  -
  -
 

cvs commit: jakarta-struts/web/blank/WEB-INF struts-config.xml

2002-12-29 Thread cedric
cedric  2002/12/29 13:41:57

  Modified:web/blank/WEB-INF struts-config.xml
  Log:
  Documentation correction.
  
  Revision  ChangesPath
  1.9   +1 -3  jakarta-struts/web/blank/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-struts/web/blank/WEB-INF/struts-config.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- struts-config.xml 5 Nov 2002 14:18:57 -   1.8
  +++ struts-config.xml 29 Dec 2002 21:41:57 -  1.9
  @@ -311,9 +311,7 @@
  true : validate. DTD should be specified in file header. 
(default)
  false : no validation
  
  -   The TilesPlugin class create one single definition factory shared by all 
struts
  -   modules, even if the plugin is declared several times. Paths found in Tiles
  -   definitions are relative to the main context.
  +   Paths found in Tiles definitions are relative to the main context.
 --
 !-- comment following if struts1.0.x --
 plug-in className=org.apache.struts.tiles.TilesPlugin 
  
  
  

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




cvs commit: jakarta-struts/web/blank/WEB-INF struts-config.xml

2002-03-31 Thread dwinterfeldt

dwinterfeldt02/03/31 22:03:08

  Modified:web/blank/WEB-INF struts-config.xml
  Log:
  Changed ValidatorPlugIn to take a comma delimitted list of resources.
  
  Revision  ChangesPath
  1.4   +4 -3  jakarta-struts/web/blank/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-struts/web/blank/WEB-INF/struts-config.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- struts-config.xml 19 Mar 2002 03:55:32 -  1.3
  +++ struts-config.xml 1 Apr 2002 06:03:07 -   1.4
  @@ -103,14 +103,15 @@
 !-- == Plug Ins Configuration == --
 
 !-- 
  - Add multiple validator resource files by setting the pathname property. 
  + Add multiple validator resource files by setting the pathnames property 
  + with a comma delimitted list of resource files to load. 
Default pluggable validator definitions are contained in validator-rules.xml. 
Add any validation rules for forms in validator.xml.
 --
 !--
 plug-in className=org.apache.struts.validator.ValidatorPlugIn
  -set-property property=pathname value=/WEB-INF/validator-rules.xml/
  -set-property property=pathname value=/WEB-INF/validator.xml/
  +set-property property=pathnames value=/WEB-INF/validator-rules.xml,
  +  /WEB-INF/validation.xml/
 /plug-in
 --
   
  
  
  

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




cvs commit: jakarta-struts/web/blank/WEB-INF struts-config.xml

2002-03-18 Thread dwinterfeldt

dwinterfeldt02/03/18 19:55:32

  Modified:web/blank/WEB-INF struts-config.xml
  Log:
  Added message resource definition and a commented out ValidatorPlugIn entry.
  
  Revision  ChangesPath
  1.3   +18 -0 jakarta-struts/web/blank/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-struts/web/blank/WEB-INF/struts-config.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- struts-config.xml 25 Jun 2001 00:02:28 -  1.2
  +++ struts-config.xml 19 Mar 2002 03:55:32 -  1.3
  @@ -96,4 +96,22 @@
   
 /action-mappings
   
  +  !-- == Message Resources Definitions === --
  +
  +  message-resources parameter=ApplicationResources/
  +
  +  !-- == Plug Ins Configuration == --
  +  
  +  !-- 
  + Add multiple validator resource files by setting the pathname property. 
  + Default pluggable validator definitions are contained in validator-rules.xml. 
  + Add any validation rules for forms in validator.xml.
  +  --
  +  !--
  +  plug-in className=org.apache.struts.validator.ValidatorPlugIn
  +set-property property=pathname value=/WEB-INF/validator-rules.xml/
  +set-property property=pathname value=/WEB-INF/validator.xml/
  +  /plug-in
  +  --
  +
   /struts-config
  
  
  

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