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

2004-01-17 Thread dgraham
dgraham 2004/01/17 14:18:30

  Modified:src/share/org/apache/struts/validator Resources.java
  Log:
  Changed initValidator() to accept an ActionMessages object instead of 
  ActionErrors, changed ACTION_ERRORS_PARAM name to 
  ACTION_MESSAGES_PARAM.
  
  Revision  ChangesPath
  1.27  +10 -10
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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- Resources.java17 Jan 2004 22:11:07 -  1.26
  +++ Resources.java17 Jan 2004 22:18:30 -  1.27
  @@ -73,8 +73,8 @@
   import org.apache.commons.validator.ValidatorResources;
   import org.apache.struts.Globals;
   import org.apache.struts.action.ActionError;
  -import org.apache.struts.action.ActionErrors;
   import org.apache.struts.action.ActionMessage;
  +import org.apache.struts.action.ActionMessages;
   import org.apache.struts.util.MessageResources;
   import org.apache.struts.util.ModuleUtils;
   import org.apache.struts.util.RequestUtils;
  @@ -112,16 +112,16 @@
   public static String HTTP_SERVLET_REQUEST_KEY = HTTP_SERVLET_REQUEST_PARAM;
   
   /**
  - * Resources key the ActionErrors is stored under.
  + * Resources key the ActionMessages is stored under.
*/
  -private static String ACTION_ERRORS_PARAM =
  +private static String ACTION_MESSAGES_PARAM =
   "org.apache.struts.action.ActionMessages";
   
   /**
* Resources key the ActionErrors is stored under.
* @deprecated This will be removed after Struts 1.2
*/
  -public static String ACTION_ERRORS_KEY = ACTION_ERRORS_PARAM;
  +public static String ACTION_ERRORS_KEY = ACTION_MESSAGES_PARAM;
   
   /**
* Retrieve ValidatorResources for the current module.
  @@ -329,7 +329,7 @@
   Object bean,
   ServletContext application,
   HttpServletRequest request,
  -ActionErrors errors,
  +ActionMessages errors,
   int page) {
   
   ValidatorResources resources =
  @@ -345,7 +345,7 @@
   validator.setParameter(SERVLET_CONTEXT_PARAM, application);
   validator.setParameter(HTTP_SERVLET_REQUEST_PARAM, request);
   validator.setParameter(Validator.LOCALE_PARAM, locale);
  -validator.setParameter(ACTION_ERRORS_PARAM, errors);
  +validator.setParameter(ACTION_MESSAGES_PARAM, errors);
   validator.setParameter(Validator.BEAN_PARAM, bean);
   
   return validator;
  
  
  

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



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

2004-01-17 Thread dgraham
dgraham 2004/01/17 14:11:07

  Modified:src/share/org/apache/struts/validator Resources.java
  Log:
  javadoc changes only.
  
  Revision  ChangesPath
  1.26  +13 -12
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.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Resources.java10 Jan 2004 21:03:38 -  1.25
  +++ Resources.java17 Jan 2004 22:11:07 -  1.26
  @@ -191,8 +191,9 @@
   }
   
   /**
  - * Gets the locale sensitive message based on the ValidatorAction 
message and the
  - * Field's arg objects.
  + * Gets the locale sensitive message based on the 
  + * ValidatorAction message and the Field's 
  + * arg objects.
* @param messages  The Message resources
* @param locale The locale
* @param va The Validator Action
  @@ -244,7 +245,7 @@
   }
   
   /**
  - * Gets the ActionError based on the 
  + * Gets the ActionMessage based on the 
* ValidatorAction message and the Field's 
* arg objects.
* @param request the servlet request
  @@ -272,11 +273,11 @@
   }
   
   /**
  - * Gets the message arguments based on the current ValidatorAction
  - * and Field.
  - * @param actionName   action name
  - * @param messages  message resources
  - * @param locale   the locale
  + * Gets the message arguments based on the current 
  + * ValidatorAction and Field.
  + * @param actionName action name
  + * @param messages message resources
  + * @param locale the locale
* @param field the validator field
*/
   public static String[] getArgs(
  
  
  

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



DO NOT REPLY [Bug 24497] - validwhen / underscore in field names

2004-01-17 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=24497

validwhen / underscore in field names

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|validwhen / underscore in   |validwhen / underscore in
   |filed names |field names

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



DO NOT REPLY [Bug 26127] - tag lacks "action" attribute

2004-01-17 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26127

 tag lacks "action" attribute

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Normal  |Enhancement

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



DO NOT REPLY [Bug 26209] - Validator User Guide: New Section Listing Standard Validations

2004-01-17 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26209

Validator User Guide: New Section Listing Standard Validations





--- Additional Comments From [EMAIL PROTECTED]  2004-01-17 17:31 ---
There is also this table  that was added to validator 
1.1.1.
http://jakarta.apache.org/commons/validator/javascript/org/apache/commons/valida
tor/javascript/allclasses-summary.html

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



StrutsFaces and the latest JSF

2004-01-17 Thread Richard Hightower
I want to use the latest JSF.
Can I use the latest JSF with Struts 1.1?
Or should I get the latest from CVS?

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