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

2002-10-27 Thread rleland
rleland 2002/10/26 23:01:49

  Modified:src/share/org/apache/struts/action ActionServlet.java
ActionServletWrapper.java
  Log:
  Fixup javadoc
  
  Revision  ChangesPath
  1.123 +6 -4  
jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
  
  Index: ActionServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
  retrieving revision 1.122
  retrieving revision 1.123
  diff -u -r1.122 -r1.123
  --- ActionServlet.java27 Oct 2002 05:36:47 -  1.122
  +++ ActionServlet.java27 Oct 2002 06:01:48 -  1.123
   -1212,6 +1212,8 
* Initialize the servlet mapping under which our controller servlet
* is being accessed.  This will be used in the codehtml:formgt;/code
* tag to generate correct destination URLs for form submissions.
  + * throws ServletException if error happens while scanning web.xml
  + * FIXME throws ServletException Never thrown by this base method
*/
   protected void initServlet() throws ServletException {
   
  
  
  
  1.6   +12 -8 
jakarta-struts/src/share/org/apache/struts/action/ActionServletWrapper.java
  
  Index: ActionServletWrapper.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServletWrapper.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ActionServletWrapper.java 22 Sep 2002 05:46:52 -  1.5
  +++ ActionServletWrapper.java 27 Oct 2002 06:01:48 -  1.6
   -100,7 +100,10 
   
   }
   
  -
  +/**
  + * Log message
  + * param message
  + */
   public void log(String message) {
   
   servlet.log(message);
   -109,6 +112,7 
   
   /**
* Set servlet to a MultipartRequestHandler.
  + * param object The MultipartRequestHandler
* :FIXME: Should this be based on an setServlet
* interface or introspection for a setServlet method?
* Or, is it safer to just add the types we want as we want them?
   -119,10 +123,10 
   
   
   /**
  - * Create object and set servlet property
  - *
  + * Create object and set servlet property.
  + * param servlet codeActionServlet/code to wrap
*/
  - public ActionServletWrapper (ActionServlet servlet) {
  + public ActionServletWrapper(ActionServlet servlet) {
   super();
   this.servlet = servlet;
   }
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




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

2002-10-27 Thread rleland
rleland 2002/10/26 23:11:00

  Modified:src/share/org/apache/struts/action DynaActionForm.java
  Log:
  Remove unused assignments and cleanup JavaDoc
  
  Revision  ChangesPath
  1.4   +7 -13 
jakarta-struts/src/share/org/apache/struts/action/DynaActionForm.java
  
  Index: DynaActionForm.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/DynaActionForm.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DynaActionForm.java   17 Jul 2002 15:40:23 -  1.3
  +++ DynaActionForm.java   27 Oct 2002 06:10:59 -  1.4
   -165,8 +165,8 
   
   
   /**
  - * Does the specified mapped property contain a value for the specified
  - * key value?
  + * Indicates if the specified mapped property contain a value for the specified
  + * key value.
*
* param name Name of the property to check
* param key Name of the key to check
   -176,7 +176,6 
*/
   public boolean contains(String name, String key) {
   
  -DynaProperty descriptor = getDynaProperty(name);
   Object value = dynaValues.get(name);
   if (value == null) {
   throw new NullPointerException
   -260,7 +259,6 
*/
   public Object get(String name, int index) {
   
  -DynaProperty descriptor = getDynaProperty(name);
   Object value = dynaValues.get(name);
   if (value == null) {
   throw new NullPointerException
   -291,7 +289,6 
*/
   public Object get(String name, String key) {
   
  -DynaProperty descriptor = getDynaProperty(name);
   Object value = dynaValues.get(name);
   if (value == null) {
   throw new NullPointerException
   -330,7 +327,6 
*/
   public void remove(String name, String key) {
   
  -DynaProperty descriptor = getDynaProperty(name);
   Object value = dynaValues.get(name);
   if (value == null) {
   throw new NullPointerException
   -402,7 +398,6 
*/
   public void set(String name, int index, Object value) {
   
  -DynaProperty descriptor = getDynaProperty(name);
   Object prop = dynaValues.get(name);
   if (prop == null) {
   throw new NullPointerException
   -439,7 +434,6 
*/
   public void set(String name, String key, Object value) {
   
  -DynaProperty descriptor = getDynaProperty(name);
   Object prop = dynaValues.get(name);
   if (prop == null) {
   throw new NullPointerException
   -559,7 +553,7 
   
   
   /**
  - * Is an object of the source class assignable to the destination class?
  + * Indicates if an object of the source class is assignable to the destination 
class.
*
* param dest Destination class
* param source Source class
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




cvs commit: jakarta-struts/src/share/org/apache/struts/validator FieldChecks.java Resources.java ValidatorPlugIn.java

2002-10-27 Thread rleland
rleland 2002/10/26 23:44:01

  Modified:src/share/org/apache/struts/validator FieldChecks.java
Resources.java ValidatorPlugIn.java
  Log:
  Cleanup JavaDoc.
  In Plugin close stream after use.
  
  Revision  ChangesPath
  1.2   +1 -2  
jakarta-struts/src/share/org/apache/struts/validator/FieldChecks.java
  
  Index: FieldChecks.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/validator/FieldChecks.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FieldChecks.java  18 Oct 2002 03:41:10 -  1.1
  +++ FieldChecks.java  27 Oct 2002 06:44:00 -  1.2
   -135,8 +135,7 
   
   /**
*  p
  - *
  - *  Checks if the field isn't null based on the values of other fields
  + *  Checks if the field isn't null based on the values of other fields.
*  /p
*
*param  bean The bean validation is being performed on.
  
  
  
  1.2   +32 -7 
jakarta-struts/src/share/org/apache/struts/validator/Resources.java
  
  Index: Resources.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/validator/Resources.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Resources.java18 Oct 2002 03:41:10 -  1.1
  +++ Resources.java27 Oct 2002 06:44:00 -  1.2
   -108,6 +108,7 
   
  /**
   * Retrieve codeValidatorResources/code for the module.
  +* param application servlet context
   *
   * deprecated In Struts 1.1b3 This method can only return the resources for the 
default
   *  module.  Use getValidatorResources(HttpServletRequest, ServletContext)
   -119,6 +120,8 
   
 /**
  * Retrieve codeValidatorResources/code for the current module.
  +   * param application  Application Context
  +   * param request The ServletRequest
  */
  public static ValidatorResources getValidatorResources(ServletContext 
application,HttpServletRequest request) {
 return (ValidatorResources) 
application.getAttribute(ValidatorPlugIn.VALIDATOR_KEY +
   -127,6 +130,7 
   
  /**
   * Retrieve codeMessageResources/code for the application module.
  +* param  application servlet context
   *
   * deprecated This method can only return the resources for the default
   *  module.  Use getMessageResources(HttpServletRequest) to get the
   -138,6 +142,7 
   
  /**
   * Retrieve codeMessageResources/code for the application module.
  +* param request the servlet request
  */
  public static MessageResources getMessageResources(HttpServletRequest request) {
 return (MessageResources)request.getAttribute(Action.MESSAGES_KEY);
   -145,6 +150,7 
   
  /**
   * Get the codeLocale/code of the current user.
  +* param request servlet request
  */
  public static Locale getLocale(HttpServletRequest request) {
 Locale locale = null;
   -162,6 +168,9 
   
  /**
   * Gets the codeLocale/code sensitive value based on the key passed in.
  +* param messages  The Message resources
  +* param localeThe locale
  +* param key key used to lookup the message
  */
  public static String getMessage(MessageResources messages, Locale locale, String 
key) {
 String message = null;
   -178,6 +187,8 
   
  /**
   * Gets the codeLocale/code sensitive value based on the key passed in.
  +* param request servlet request
  +* param key the request key
  */
  public static String getMessage(HttpServletRequest request, String key) {
 MessageResources messages = getMessageResources(request);
   -188,6 +199,10 
  /**
   * Gets the locale sensitive message based on the codeValidatorAction/code 
message and the
   * codeField/code's arg objects.
  +* param messages  The Message resources
  +* param localeThe locale
  +* param vaThe Validator Action
  +* param field The Validator Field
  */
  public static String getMessage(MessageResources messages, Locale locale,
  ValidatorAction va, Field field) {
   -201,6 +216,9 
  /**
   * Gets the codeActionError/code based on the codeValidatorAction/code 
message and the
   * codeField/code's arg objects.
  +* param request the servlet request
  +* param va Validator action
  +* param field the validator Field
  */
  public static ActionError getActionError(HttpServletRequest request,
   ValidatorAction va, Field field) {
   -214,6 +232,10 
  /**
   * Gets the message arguments based on the current codeValidatorAction/code
   * and codeField/code.
  +* param actionName   action name
  +* param messages  

DO NOT REPLY [Bug 5286] - struts logic:redirect tag not working

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5286.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5286

struts logic:redirect tag not working





--- Additional Comments From [EMAIL PROTECTED]  2002-10-27 13:42 ---
The issue about ampersands has already been adressed. 
 
See bug 13458 for details.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




cvs commit: jakarta-struts/doc/userGuide struts-html.xml

2002-10-27 Thread martinc
martinc 2002/10/27 11:19:59

  Modified:doc/userGuide struts-html.xml
  Log:
  Remove accesskey attribute from select tag.
  
  PR: 13337
  Submitted by: David M. Karr
  
  Revision  ChangesPath
  1.31  +0 -10 jakarta-struts/doc/userGuide/struts-html.xml
  
  Index: struts-html.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- struts-html.xml   26 Oct 2002 00:34:54 -  1.30
  +++ struts-html.xml   27 Oct 2002 19:19:59 -  1.31
   -5609,16 +5609,6 
   
   
   attribute
  -nameaccesskey/name
  -requiredfalse/required
  -rtexprvaluetrue/rtexprvalue
  -info
  -The keyboard character used to move focus immediately to this
  -element.
  -/info
  -/attribute
  -
  -attribute
   namealt/name
   requiredfalse/required
   rtexprvaluetrue/rtexprvalue
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 13337] - html:select has an accesskey attribute, but select has no accesskey in HTML 4.01

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13337.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13337

html:select has an accesskey attribute, but select has no accesskey in HTML 4.01

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-10-27 19:22 ---
Fixed in 20021028 nightly build.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide struts-html-el.xml

2002-10-27 Thread dmkarr
dmkarr  2002/10/27 12:29:42

  Modified:contrib/struts-el/doc/userGuide struts-html-el.xml
  Log:
  PR: 13337
  
  The accessKey attribute was removed from html:select, so we have to remove
  the same attribute from html-el:select.
  
  Revision  ChangesPath
  1.6   +0 -10 
jakarta-struts/contrib/struts-el/doc/userGuide/struts-html-el.xml
  
  Index: struts-html-el.xml
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/struts-el/doc/userGuide/struts-html-el.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- struts-html-el.xml26 Oct 2002 05:24:44 -  1.5
  +++ struts-html-el.xml27 Oct 2002 20:29:42 -  1.6
   -5392,16 +5392,6 
   
   
   attribute
  -nameaccesskey/name
  -requiredfalse/required
  -rtexprvaluefalse/rtexprvalue
  -info
  -The keyboard character used to move focus immediately to this
  -element.
  -/info
  -/attribute
  -
  -attribute
   namealt/name
   requiredfalse/required
   rtexprvaluefalse/rtexprvalue
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




cvs commit: jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html ELSelectTag.java

2002-10-27 Thread dmkarr
dmkarr  2002/10/27 12:29:54

  Modified:contrib/struts-el/src/share/org/apache/strutsel/taglib/html
ELSelectTag.java
  Log:
  PR: 13337
  
  The accessKey attribute was removed from html:select, so we have to remove
  the same attribute from html-el:select.
  
  Revision  ChangesPath
  1.5   +4 -11 
jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELSelectTag.java
  
  Index: ELSelectTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELSelectTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ELSelectTag.java  16 Oct 2002 03:48:26 -  1.4
  +++ ELSelectTag.java  27 Oct 2002 20:29:54 -  1.5
   -167,13 +167,6 
*/
   private void evaluateExpressions() throws JspException {
   try {
  -setAccesskey((String) evalAttr(accessKey, getAccesskey(),
  -   String.class));
  -} catch (NullAttributeException ex) {
  -setAccesskey(null);
  -}
  -
  -try {
   setAlt((String) evalAttr(alt, getAlt(), String.class));
   } catch (NullAttributeException ex) {
   setAlt(null);
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




cvs commit: jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html ELSelectTagBeanInfo.java

2002-10-27 Thread dmkarr
dmkarr  2002/10/27 12:30:06

  Modified:contrib/struts-el/src/share/org/apache/strutsel/taglib/html
ELSelectTagBeanInfo.java
  Log:
  PR: 13337
  
  The accessKey attribute was removed from html:select, so we have to remove
  the same attribute from html-el:select.
  
  Revision  ChangesPath
  1.2   +32 -34
jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELSelectTagBeanInfo.java
  
  Index: ELSelectTagBeanInfo.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELSelectTagBeanInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ELSelectTagBeanInfo.java  16 Oct 2002 03:48:26 -  1.1
  +++ ELSelectTagBeanInfo.java  27 Oct 2002 20:30:06 -  1.2
   -85,72 +85,70 
   {
   public  PropertyDescriptor[] getPropertyDescriptors()
   {
  -PropertyDescriptor[]  result   = new PropertyDescriptor[29];
  +PropertyDescriptor[]  result   = new PropertyDescriptor[28];
   
   try {
  -result[0] = new PropertyDescriptor(accesskey, ELSelectTag.class,
  -   null, setAccesskey);
  -result[1] = new PropertyDescriptor(alt, ELSelectTag.class,
  +result[0] = new PropertyDescriptor(alt, ELSelectTag.class,
  null, setAlt);
  -result[2] = new PropertyDescriptor(altKey, ELSelectTag.class,
  +result[1] = new PropertyDescriptor(altKey, ELSelectTag.class,
  null, setAltKey);
   // This attribute has a non-standard mapping.
  -result[3] = new PropertyDescriptor(disabled, ELSelectTag.class,
  +result[2] = new PropertyDescriptor(disabled, ELSelectTag.class,
  null, setDisabledExpr);
   // This attribute has a non-standard mapping.
  -result[4] = new PropertyDescriptor(indexed, ELSelectTag.class,
  +result[3] = new PropertyDescriptor(indexed, ELSelectTag.class,
  null, setIndexedExpr);
  -result[5] = new PropertyDescriptor(multiple, ELSelectTag.class,
  +result[4] = new PropertyDescriptor(multiple, ELSelectTag.class,
  null, setMultiple);
  -result[6] = new PropertyDescriptor(name, ELSelectTag.class,
  +result[5] = new PropertyDescriptor(name, ELSelectTag.class,
  null, setName);
  -result[7] = new PropertyDescriptor(onblur, ELSelectTag.class,
  +result[6] = new PropertyDescriptor(onblur, ELSelectTag.class,
  null, setOnblur);
  -result[8] = new PropertyDescriptor(onchange, ELSelectTag.class,
  +result[7] = new PropertyDescriptor(onchange, ELSelectTag.class,
  null, setOnchange);
  -result[9] = new PropertyDescriptor(onclick, ELSelectTag.class,
  +result[8] = new PropertyDescriptor(onclick, ELSelectTag.class,
  null, setOnclick);
  -result[10] = new PropertyDescriptor(ondblclick, ELSelectTag.class,
  +result[9] = new PropertyDescriptor(ondblclick, ELSelectTag.class,
  null, setOndblclick);
  -result[11] = new PropertyDescriptor(onfocus, ELSelectTag.class,
  +result[10] = new PropertyDescriptor(onfocus, ELSelectTag.class,
  null, setOnfocus);
  -result[12] = new PropertyDescriptor(onkeydown, ELSelectTag.class,
  +result[11] = new PropertyDescriptor(onkeydown, ELSelectTag.class,
  null, setOnkeydown);
  -result[13] = new PropertyDescriptor(onkeypress, ELSelectTag.class,
  +result[12] = new PropertyDescriptor(onkeypress, ELSelectTag.class,
  null, setOnkeypress);
  -result[14] = new PropertyDescriptor(onkeyup, ELSelectTag.class,
  +result[13] = new PropertyDescriptor(onkeyup, ELSelectTag.class,
  null, setOnkeyup);
  -result[15] = new PropertyDescriptor(onmousedown,
  +result[14] = new PropertyDescriptor(onmousedown,
  ELSelectTag.class,
  null, setOnmousedown);
  -result[16] = new PropertyDescriptor(onmousemove,
  +result[15] = new PropertyDescriptor(onmousemove,
  

cvs commit: jakarta-struts/doc/userGuide building_controller.xml

2002-10-27 Thread dgraham
dgraham 2002/10/27 13:30:04

  Modified:doc/userGuide building_controller.xml
  Log:
  added basic controller docs and plugin example
  
  Revision  ChangesPath
  1.40  +19 -2 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.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- building_controller.xml   27 Oct 2002 02:29:02 -  1.39
  +++ building_controller.xml   27 Oct 2002 21:30:04 -  1.40
   -678,7 +678,18 
   
 section name=4.6.2 Controller Configuration href=controller_config
 p
  -[:TODO:]
  +The lt;controllergt; element allows you to configure the ActionServlet.  
Many of the controller
  +parameters were previously defined by servlet init. parameters in your 
web.xml file but have been
  +moved to this section of struts-config.xml.  For full details on available 
parameters see the
  +struts-config_1_1.dtd.
  +  /p
  +  p
  + This example uses the default values for several controller 
parameters.  If you only want default
  + behavior you can omit the controller section altogether.br/
  + lt;controller 
  + processorClass=org.apache.struts.action.RequestProcessor
  + debug=0
  + contentType=text/html/gt;
 /p
 /section
   
   -738,6 +749,12 
   For PlugIns that require configuration themselves, the nested
   codelt;set-propertygt;/code element is available.
   /p
  +p
  + This is an example using the Tiles plugin:br/
  + lt;plug-in className=org.apache.struts.tiles.TilesPlugin gt;
  + lt;set-property property=definitions-config 
value=/WEB-INF/tiles-defs.xml/gt;
  + lt;/plug-ingt;
  +/p
   /section
   
 section name=4.6.5 Other Configuration Objects href=other_config
   -805,7 +822,7 
  data-source needs, the query you provide for the pingQuery
  attribute must return at least one row./ibr/
br/
  -bExample:/bcodeSELECT COUNT(*) FROM VALIDTABLE/codebr/
  +bExample:/b codeSELECT COUNT(*) FROM VALIDTABLE/codebr/
br/
Just be sure you to replace VALIDTABLE with the name of a valid table in 
your database.
 /p
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




cvs commit: jakarta-struts/doc/userGuide building_controller.xml

2002-10-27 Thread dgraham
dgraham 2002/10/27 13:36:12

  Modified:doc/userGuide building_controller.xml
  Log:
  added processContent doc for RequestProcessor
  
  Revision  ChangesPath
  1.41  +8 -1  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.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- building_controller.xml   27 Oct 2002 21:30:04 -  1.40
  +++ building_controller.xml   27 Oct 2002 21:36:12 -  1.41
   -371,7 +371,8 
   will be used later to retrieve an ActionMapping./li
 licodeprocessLocale/code Select a locale for this request, if one
   hasn't already been selected, and place it in the request./li
  -  licodeprocessContent/code [:TODO:]/li
  +  licodeprocessContent/code Set the default content type (with 
optional 
  +character encoding) for all responses if requested./li
 licodeprocessNoCache/code If appropriate, set the following response
   headers: Pragma, Cache-Control, and Expires./li
 licodeprocessPreprocess/code This is one of the hooks the
   -417,9 +418,11 
 Your execute method should process the Exception and return an ActionForward
 object to tell Struts where to forward to next.  Then you configure your 
 handler in struts-config.xml like this:br/
  + pre
lt;global-exceptionsgt;
lt;exception key=some.key type=java.io.IOException 
handler=com.yourcorp.ExceptionHandler/gt;
lt;/global-exceptionsgt;
  + /pre
 br/
 That configuration says that com.yourcorp.ExceptionHandler.execute() will be 
called 
 when any IOException is thrown by an Action.  The key is a key from your 
message resources
   -686,10 +689,12 
 p
This example uses the default values for several controller 
parameters.  If you only want default
behavior you can omit the controller section altogether.br/
  + pre
lt;controller 
processorClass=org.apache.struts.action.RequestProcessor
debug=0
contentType=text/html/gt;
  + /pre
 /p
 /section
   
   -751,9 +756,11 
   /p
   p
This is an example using the Tiles plugin:br/
  + pre
lt;plug-in className=org.apache.struts.tiles.TilesPlugin gt;
lt;set-property property=definitions-config 
value=/WEB-INF/tiles-defs.xml/gt;
lt;/plug-ingt;
  + /pre
   /p
   /section
   
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




Re: RE: Struts IRC Channel

2002-10-27 Thread Ted Husted
James,

If you or anyone else want to work on improving the jGuru FAQ, 
I could share with you the manager's logon. 

The search capabilities there are much better, and jGuru has a 
firm commitment to supporting the open source community. 

I believe we should also be able to export the material back 
out as XML if we wanted to retain a copy for safekeeping.

Though, I think larger topics, like setting up Netbeans, are 
very appropriate for a HOWTO section in the Users Guide (or 
whatever).

-Ted.

10/26/2002 3:42:01 PM, James Mitchell [EMAIL PROTECTED] 
wrote:

I totally agree with you David.

I've collected an enormous amount of FAQ material (which I 
haven't organized
yet) from this and the users list over the last 6 or 7 months.

What good does it do to solve a really tricky problem if no 
one else can
take advantage of that knowledge transfer?

I'll be adding the new FAQ material and a few 'how to' 
sections  soon.  (for
example: How to setup Netbeans to step through and debug your 
web
application on Tomcat using Remote Debugging - a pictorial 
guide)




James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

Only two things are infinite, the universe and human 
stupidity, and I'm not
sure about the former.
- Albert Einstein (1879-1955)





 -Original Message-
 From: David Graham [mailto:dgraham1980;hotmail.com]
 Sent: Saturday, October 26, 2002 3:01 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Struts IRC Channel


 I for one, will not be answering questions on another forum.  
It's hard
 enough to keep up with the questions on this list :-).  
Also, I
 think it's a
 good that there be a central place to ask Struts questions.

 David






 From: Nick [EMAIL PROTECTED]
 Reply-To: Struts Developers List struts-
[EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Struts IRC Channel
 Date: Sat, 26 Oct 2002 14:57:00 -0400 (EDT)
 
 Hi,
 
 I've recently started hanging out in #struts on 
irc.freenode.net to help
 answer questions relating to the framework.  I don't know 
that much about
 some of the esoteric areas of Struts, so I would really 
appreciate it if
 some of the developers would idle there and field the 
occasional
 question.
 Activity is very low, so the load shouldn't be too high.
 
 If you think that this is a waste of time, let me know how 
you'd improve
 upon it.  Sending people to mailing list archives doesn't 
always work as
 the search functionality isn't great.
 
 Thanks for your time.
 
 -Nick
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:struts-dev-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:struts-dev-help;jakarta.apache.org


 
___
__
 Get faster connections -- switch to MSN Internet Access!
 http://resourcecenter.msn.com/access/plans/default.asp


 --
 To unsubscribe, e-mail:
mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-
[EMAIL PROTECTED]



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






--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 11021] - ActionForward or html:link tag does not support absolute URIs

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11021.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11021

ActionForward or html:link tag does not support absolute URIs





--- Additional Comments From [EMAIL PROTECTED]  2002-10-27 23:30 ---
It would also be good to have an option on whether to encode the url when
redirecting. encoding is not desireable when redirecting to a php page for example.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 11021] - ActionForward or html:link tag does not support absolute URIs

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11021.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11021

ActionForward or html:link tag does not support absolute URIs





--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 01:16 ---
The behavior you describe is handled by the JSTL c:redirect tag.  This tag also 
handles query 
string parameters more elegantly than the struts version.  If you're on a servlet 2.3 
level 
container use that, if not you can do this in an Action by saying 


response.sendRedirect(URLEncoder.encode(myurl,utf-8));

I recommend doing 
this in the Action regardless of JSTL availability because, in general, JSPs should 
not be 
performing business logic.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




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

2002-10-27 Thread dgraham
dgraham 2002/10/27 17:29:39

  Modified:src/share/org/apache/struts/action ActionServlet.java
  Log:
  fixed javadoc error
  
  Revision  ChangesPath
  1.124 +5 -5  
jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
  
  Index: ActionServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
  retrieving revision 1.123
  retrieving revision 1.124
  diff -u -r1.123 -r1.124
  --- ActionServlet.java27 Oct 2002 06:01:48 -  1.123
  +++ ActionServlet.java28 Oct 2002 01:29:39 -  1.124
   -194,7 +194,7 
* instances that should be added to the codeDigester/code that will
* be processing codestruts-config.xml/code files.  By default, only
* the codeRuleSet/code for the standard configuration elements is
  - * loaded.  (Since Struts 1.1)li
  + * loaded.  (Since Struts 1.1)/li
* listrongvalidating/strong - Should we use a validating XML parser to
* process the configuration file (strongly recommended)? [true]/li
* /ul
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




cvs commit: jakarta-struts/doc/userGuide building_controller.xml

2002-10-27 Thread dgraham
dgraham 2002/10/27 17:33:38

  Modified:doc/userGuide building_controller.xml
  Log:
  updated action servlet init params to match javadoc
  
  Revision  ChangesPath
  1.42  +118 -76   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.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- building_controller.xml   27 Oct 2002 21:36:12 -  1.41
  +++ building_controller.xml   28 Oct 2002 01:33:38 -  1.42
   -895,83 +895,125 
 describe the default values that are assumed if you do not provide a 
value for
 that initialization parameter.
   /p
  -p
  -   [:TODO: Conform with JavaDoc as to nominal and deprecated params]
  -/p
   ul
  -
  -  listrongapplication/strong - Java class name of the application
  -   resources bundle base class.  [NONE]/li
  -  listrongbufferSize/strong - The size of the input buffer used when
  -   processing file uploads.  [4096]/li
  -  listrongconfig/strong - Context-relative path to the XML resource
  -  containing our configuration information.
  -  [/WEB-INF/struts-config.xml]/li
  -  listrongcontent/strong - Default content type and character encoding
  -  to be set on each response; may be overridden by a forwarded-to
  -  servlet or JSP page.  [text/html]/li
  -  listrongdebug/strong - The debugging detail level for this
  -  servlet, which controls how much information is logged.  [0]/li
  -  listrongdetail/strong - The debugging detail level for the Digester
  -  we utilize in codeinitMapping()/code, which logs to System.out
  -  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.
  -  [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
  -  implementation to use [org.apache.struts.action.ActionForward].
  -  Two convenient classes you may wish to use are:
  -  ul
  -  liemorg.apache.struts.action.ForwardingActionForward/em -
  -  Subclass of codeorg.apache.struts.action.ActionForward/code
  -  that defaults the coderedirect/code property to
  -  codefalse/code (same as the ActionForward default value)./li
  -  liemorg.apache.struts.action.RedirectingActionForward/em -
  -  Subclass of codeorg.apache.struts.action.ActionForward/code
  -  that defaults the coderedirect/code property to
  -  codetrue/code./li
  -  /ul/li
  -  listronglocale/strong - If set to codetrue/code, and there is a
  -  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. [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:
  -  ul
  -  liemorg.apache.struts.action.RequestActionMapping/em - Subclass
  -  of codeorg.apache.struts.action.ActionMapping/code that
  -  defaults the codescope/code property to request./li
  -  liemorg.apache.struts.action.SessionActionMapping/em - Subclass
  -  of codeorg.apache.struts.action.ActionMapping/code that
  -  defaults the codescope/code property to session.  (Same
  -  as the ActionMapping default value)./li
  -  /ul/li
  -  listrongmaxFileSize/strong - The maximum size (in bytes) of a file
  -  to be accepted as a file upload.  Can be expressed as a number 
followed
  -  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
  -  MultipartRequestHandler implementation class to be used for processing
  -  file uploads.  

DO NOT REPLY [Bug 12519] - Optional package for Validation framework is not thread safe

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12519.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12519

Optional package for Validation framework is not thread safe

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
Summary|Optional package for|Optional package for
   |Validation framework is not |Validation framework is not
   |thread safe |thread safe



--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 01:47 ---
Closing bug because the validator now uses ORO instead of RegExp.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




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

2002-10-27 Thread jmitchell
jmitchell2002/10/27 18:12:54

  Modified:src/share/org/apache/struts/taglib/html package.html
  Log:
  Update links.
  
  Revision  ChangesPath
  1.17  +16 -16
jakarta-struts/src/share/org/apache/struts/taglib/html/package.html
  
  Index: package.html
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/package.html,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- package.html  10 Oct 2002 03:13:41 -  1.16
  +++ package.html  28 Oct 2002 02:12:53 -  1.17
   -44,37 +44,37 
/h3
   
   ul
  -  lia href=../../../../../../struts-html.html#buttonbutton/a
  +  lia href=../../../../../../userGuide/struts-html.html#buttonbutton/a
  /li
  -  lia href=../../../../../../struts-html.html#cancelcancel/a
  +  lia href=../../../../../../userGuide/struts-html.html#cancelcancel/a
  /li
  -  lia href=../../../../../../struts-html.html#checkboxcheckboxes/a
  +  lia 
href=../../../../../../userGuide/struts-html.html#checkboxcheckboxes/a
  /li
  -  lia href=../../../../../../struts-html.html#filefile/a
  +  lia href=../../../../../../userGuide/struts-html.html#filefile/a
  /li
  -  lia href=../../../../../../struts-html.html#hiddenhidden/a
  +  lia href=../../../../../../userGuide/struts-html.html#hiddenhidden/a
  /li
  -  lia href=../../../../../../struts-html.html#imageimage/a
  +  lia href=../../../../../../userGuide/struts-html.html#imageimage/a
  /li
  -  lia href=../../../../../../struts-html.html#multiboxmultibox/a
  +  lia 
href=../../../../../../userGuide/struts-html.html#multiboxmultibox/a
  /li
  -  lia href=../../../../../../struts-html.html#passwordpassword/a
  +  lia 
href=../../../../../../userGuide/struts-html.html#passwordpassword/a
 input fields/li
  -  lia href=../../../../../../struts-html.html#radioradio/a
  +  lia href=../../../../../../userGuide/struts-html.html#radioradio/a
 buttons/li
  -  lia href=../../../../../../struts-html.html#resetreset/a
  +  lia href=../../../../../../userGuide/struts-html.html#resetreset/a
 buttons/li
  -  lia href=../../../../../../struts-html.html#selectselect/a
  +  lia href=../../../../../../userGuide/struts-html.html#selectselect/a
 lists with embedded/li
  -  lia href=../../../../../../struts-html.html#optionoption/a
  +  lia href=../../../../../../userGuide/struts-html.html#optionoption/a
  /li
  -  lia href=../../../../../../struts-html.html#optionsoptions/a
  +  lia href=../../../../../../userGuide/struts-html.html#optionsoptions/a
  /li
  -  lia href=../../../../../../struts-html.html#submitsubmit/a
  +  lia href=../../../../../../userGuide/struts-html.html#submitsubmit/a
 buttons/li
  -  lia href=../../../../../../struts-html.html#texttext/a
  +  lia href=../../../../../../userGuide/struts-html.html#texttext/a
 input fields/li
  -  lia href=../../../../../../struts-html.html#textareatextareas/a
  +  lia 
href=../../../../../../userGuide/struts-html.html#textareatextareas/a
  /li
   
   /ul
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/bean package.html

2002-10-27 Thread jmitchell
jmitchell2002/10/27 18:14:32

  Modified:src/share/org/apache/struts/taglib/bean package.html
  Log:
  Update link to commons PropertyUtils.
  
  Revision  ChangesPath
  1.4   +1 -1  
jakarta-struts/src/share/org/apache/struts/taglib/bean/package.html
  
  Index: package.html
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/package.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- package.html  24 Mar 2002 07:14:44 -  1.3
  +++ package.html  28 Oct 2002 02:14:32 -  1.4
   -156,7 +156,7 
   accessed by these references have properties of the appropriate names and 
   types.  Otherwise, JSP runtime exceptions will be thrown./p
 
  -pSee the JavaDocs for a href=../../util/PropertyUtils.htmlPropertyUtils/a
  +pSee the JavaDocs for a 
href=http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils/PropertyUtils.html;PropertyUtils/a
for more detailed information about the mechanisms that Struts uses to access 
   properties in a general way, through Java reflection APIs./p
 
  
  
  

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 6847] - Multiple file upload not possible due to MultiPartRequestHandler limitation?

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6847.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6847

Multiple file upload not possible due to MultiPartRequestHandler limitation?

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 03:44 ---
I does appear (from the spec, based on surrounding comments) that multiple files
should be allowed to be selected, but this behaviour is determined by a
client-side control (your browser's implementation) and has nothing to do with
Struts or the HTML it produces.

Using the struts-upload.war, I have tried this on NN 4.0.8, NN 4.7, NN 6, NN7,
IE 6 and Mozilla 1.0 and I am only able to select 1 file per file input.

I'm closing this as 'invalid'.  Please re-open if you can find an example
(online) that demonstrates the ability to select multiple files that works with
any of the major browsers.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 7353] - Validator JavaScript Select Error

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7353.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7353

Validator JavaScript Select Error

[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Validator Framework |Validator
Product|Struts  |Commons
Version|1.1 Beta 1  |Nightly Builds



--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 03:47 ---
James Turner is whoopin ace on the commons validator, so I'll kick it back over.
 Let me know if you don't have time to fix this and I'll gladly take a look.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 8798] - Indexed row validation patch

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8798.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8798

Indexed row validation patch

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 03:52 ---
What bug does this fix?

Please submit this patch to that bug.

Also, please re-do this diff and change the settings on your editor to not 'trim
spaces', because this makes it VERY difficult to see what was actually changed.

Thank you for your help though.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 9616] - Some more Struts docs

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9616.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9616

Some more Struts docs





--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 03:56 ---
Vic, would you mind if I touch up this doc before applying it?

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




Re: [struts-el] HTML taglib

2002-10-27 Thread Eddie Bush
Yes - that's what I have installed globally.  NB just updated to 1.5 the 
other day as well (yes, 1.5.1), so that should be gold too.  I still 
manage the Struts compiles fromt he command-line though (so it's always 
built using 1.5.1).

Rob Leland wrote:

Eddie Bush wrote:


Ok - this nearly *has* to be an issue with either Ant 1.4.1 or NB. 


Just for Reference to properly build Jakarta-Commons you'll need to use
Ant 1.5.1.

-Rob 


--
Eddie Bush




--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 13279] - Getting ImportTag not to swallow exceptions

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13279.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13279

Getting ImportTag not to swallow exceptions





--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 04:27 ---
I'm confused by this bug.  First, I couldn't find an ImportTag anywhere in Struts. 
Second, this was 
opened against version 1.0 beta 2 when tiles wasn't even a standard part of struts.  
Some 
clarification is needed to determine how to fix this.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




Nightly binary distributions broken?

2002-10-27 Thread Alan P Sexton

The last two nightly binary distributions seem to be essentially empty
(I thought it downloaded pretty fast). See the sizes on 20021026 and
20021027 at
http://jakarta.apache.org/builds/jakarta-struts/nightly/

...
jakarta-struts-20021025.tar.gz 25-Oct-2002 03:27   15M  GZIP compressed file
jakarta-struts-20021025.zip25-Oct-2002 03:47   15M  
jakarta-struts-20021026.tar.gz 26-Oct-2002 02:55  162   GZIP compressed file
jakarta-struts-20021026.zip26-Oct-2002 02:55  466   
jakarta-struts-20021027.tar.gz 27-Oct-2002 02:50  163   GZIP compressed file
jakarta-struts-20021027.zip27-Oct-2002 02:50  466   

-- 

Alan P. Sexton,
University of BirminghamTel:   0121-414 3703
School of Computer Science  Fax:   0121-414 4281
Edgbaston, Birmingham B15 2TT, England  Email: [EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




RE: Nightly binary distributions broken?

2002-10-27 Thread James Mitchell
That's odd, I just built a distribution from a fresh cvs snapshot just a few
hours ago.

James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former.
- Albert Einstein (1879-1955)


 -Original Message-
 From: Alan P Sexton [mailto:A.P.Sexton;cs.bham.ac.uk]
 Sent: Sunday, October 27, 2002 11:42 PM
 To: [EMAIL PROTECTED]
 Subject: Nightly binary distributions broken?



 The last two nightly binary distributions seem to be essentially empty
 (I thought it downloaded pretty fast). See the sizes on 20021026 and
 20021027 at
 http://jakarta.apache.org/builds/jakarta-struts/nightly/

 ...
 jakarta-struts-20021025.tar.gz 25-Oct-2002 03:27   15M  GZIP
 compressed file
 jakarta-struts-20021025.zip25-Oct-2002 03:47   15M
 jakarta-struts-20021026.tar.gz 26-Oct-2002 02:55  162   GZIP
 compressed file
 jakarta-struts-20021026.zip26-Oct-2002 02:55  466
 jakarta-struts-20021027.tar.gz 27-Oct-2002 02:50  163   GZIP
 compressed file
 jakarta-struts-20021027.zip27-Oct-2002 02:50  466

 --

 Alan P. Sexton,
 University of Birmingham  Tel:   0121-414 3703
 School of Computer ScienceFax:   0121-414 4281
 Edgbaston, Birmingham B15 2TT, EnglandEmail:
 [EMAIL PROTECTED]



 --
 To unsubscribe, e-mail:
 mailto:struts-dev-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:struts-dev-help;jakarta.apache.org




--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/tiles InsertTag.java

2002-10-27 Thread dgraham
dgraham 2002/10/27 21:15:48

  Modified:src/share/org/apache/struts/taglib/tiles InsertTag.java
  Log:
  ran code formatter to fix crazy indentations
  
  Revision  ChangesPath
  1.5   +834 -901  
jakarta-struts/src/share/org/apache/struts/taglib/tiles/InsertTag.java
  
  Index: InsertTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/tiles/InsertTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- InsertTag.java10 Oct 2002 16:32:27 -  1.4
  +++ InsertTag.java28 Oct 2002 05:15:48 -  1.5
   -59,7 +59,6 
*
*/
   
  -
   package org.apache.struts.taglib.tiles;
   
   import org.apache.struts.tiles.ComponentContext;
   -99,900 +98,834 
* author Cedric Dumoulin
* version $Revision$ $Date$
*/
  -public class InsertTag extends DefinitionTagSupport implements PutTagParent, 
ComponentConstants, PutListTagParent
  -{
  -/** Commons Logging instance. */
  -  protected static Log log = LogFactory.getLog(InsertTag.class);
  -
  -/* JSP Tag attributes */
  -/** Flush attribute value */
  -  protected boolean flush = true;
  -
  -/** Name to insert */
  -  protected String name = null;
  -/** Name of attribute from which to read page name to include */
  -  protected String attribute = null;
  -/** Name of bean used as entity to include */
  -  protected String beanName = null;
  -/** Name of bean property, if any */
  -  protected String beanProperty = null;
  -/** Scope of bean, if any */
  -  protected String beanScope = null;
  -
  -/**
  - * Are errors ignored. This is the property for attribute 'ignore'.
  - * Default value is false, which throw an exception.
  - * Only 'attribute not found' errors are ignored.
  - */
  -  protected boolean isErrorIgnored = false;
  -/** Name of component instance to include */
  -  protected String definitionName = null;
  -
  -/* Internal properties */
  -/**
  - * Does the end tag need to be processed.
  - * Default value is true. Boolean set in case of ignored errors.
  - */
  -  protected boolean processEndTag = true;
  -/** Current component context */
  -  protected ComponentContext cachedCurrentContext;
  -/** Finale handler of tag methods */
  -  protected TagHandler tagHandler = null;
  -
  -/** Trick to allows inner classes to access pageContext */
  -  protected PageContext pageContext = null;
  -
  - /**
  -  * Reset member values for reuse. This method calls super.release(),
  -  * which invokes TagSupport.release(), which typically does nothing.
  -  */
  -public void release() {
  -
  -super.release();
  -attribute = null;
  -beanName = null;
  -beanProperty = null;
  -beanScope = null;
  -
  -definitionName = null;
  -flush = true;
  -name = null;
  -page = null;
  -role = null;
  -isErrorIgnored = false;
  -}
  -
  - /**
  -  * Reset internal member values for reuse.
  -  */
  -protected void releaseInternal()
  -  {
  -  cachedCurrentContext = null;
  -  processEndTag = true;
  -// pageContext = null;  // orion doesn't set it between two tags
  -  tagHandler = null;
  -  }
  -
  -/**
  - * Set the current page context.
  - * Called by the page implementation prior to doStartTag().
  - * p
  - * Needed to allow inner classes to access pageContext.
  - */
  -  public void setPageContext(PageContext pc)
  -  {
  -  this.pageContext = pc;
  -  super.setPageContext(pc);
  -  }
  -
  -/**
  - * Get the pageContext property
  - */
  -  public PageContext getPageContext()
  -  {
  -  return pageContext;
  -  }
  -
  -/**
  - * Set property.
  - */
  -  public void setName(String value){
  -this.name = value;
  -  }
  -
  -/**
  - * Get the property.
  - */
  -  public String getName()
  -  {
  -  return name;
  -  }
  -
  -/**
  - * Set property
  - */
  -  public void setComponent(String name){
  -this.page = name;
  -  }
  -
  -/**
  - * Set property
  - * deprecated Use setDefinition() instead.
  - */
  -  public void setInstance(String name){
  -this.definitionName = name;
  -  }
  -
  -/**
  - * Set property
  - */
  -  public void setDefinition(String name){
  -this.definitionName = name;
  -  }
  -
  -/**
  - * Get the property.
  - */
  -  public String getDefinitionName()
  -  {
  -  return definitionName;
  -  }
  -
  -/**
  - * Set property
  - */
  -  public void setAttribute(String value){
  -this.attribute = value;
  -  }
  -
  -/**
  - * Set property.
  - */
  -  public void setBeanName(String 

DO NOT REPLY [Bug 7353] - Validator JavaScript Select Error

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7353.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7353

Validator JavaScript Select Error

[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Validator   |Validator Framework
Product|Commons |Struts
Version|Nightly Builds  |Nightly Build



--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 06:13 ---
Unfortuantely, the Javascript code isn't part of the Commons Validator proper, 
it only lives as code in the canned validator-rules.xml in Struts, so back to 
Struts it goes.

(What a beautiful return volley, Chuck!  Thats right Todd, a blazzing ace 
right along the line!)

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 7353] - Validator JavaScript Select Error

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7353.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7353

Validator JavaScript Select Error





--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 07:08 ---
Doh!my apologies.  I'll get right on it then.

(Nice return, I see you've been working on that back-hand :D )

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 5286] - struts logic:redirect tag not working

2002-10-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5286.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5286

struts logic:redirect tag not working

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME



--- Additional Comments From [EMAIL PROTECTED]  2002-10-28 07:39 ---
David(s), you are correct.  

I have tried to replicate this bug, and I cannot do it (using nightly build).
Without more details or a sample war to demonstrate, this bug would live on
forever.  I'm closing it as 'works for me'.

--
To unsubscribe, e-mail:   mailto:struts-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org