nbubna      2003/02/04 19:03:13

  Modified:    struts/src/java/org/apache/velocity/tools/struts
                        StrutsUtils.java
  Log:
  add access to ActionErrors.GLOBAL_ERRORS key - per bug 16740
  
  Revision  Changes    Path
  1.5       +11 -1     
jakarta-velocity-tools/struts/src/java/org/apache/velocity/tools/struts/StrutsUtils.java
  
  Index: StrutsUtils.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity-tools/struts/src/java/org/apache/velocity/tools/struts/StrutsUtils.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StrutsUtils.java  23 Jun 2002 09:39:37 -0000      1.4
  +++ StrutsUtils.java  5 Feb 2003 03:03:13 -0000       1.5
  @@ -451,6 +451,16 @@
       
       
       /**
  +     * Returns the default "GLOBAL" category name that can be used with
  +     * messages that are not associated with a particular property.
  +     */
  +    static String getGlobalErrorName()
  +    {
  +        return org.apache.struts.action.ActionErrors.GLOBAL_ERROR;
  +    }
  +
  +
  +    /**
        * Returns the query parameter name under which a transaction token
        * must be reported.
        */
  
  
  

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

Reply via email to