You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/03/08 01:10:38 UTC

[jira] Closed: (VELOCITY-134) Velocity-Tools / ErrorTools patch

     [ https://issues.apache.org/jira/browse/VELOCITY-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen closed VELOCITY-134.
-------------------------------------------


> Velocity-Tools / ErrorTools patch
> ---------------------------------
>
>                 Key: VELOCITY-134
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-134
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.3-rc1
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Ted Husted
>         Assigned To: Velocity-Dev List
>            Priority: Minor
>         Attachments: ErrorsTool.patch, ErrorsTool.patch, snoop-struts.vm
>
>
> // Add method to return "global" error name.
>     /**
>      * <p>Returns the default "Global" category name that can be used with
>      * messages that are not associated with a particular property.</p>
>      *
>      * <p>This is the value of
>      * <code>org.apache.struts.action.ActionErrors.GLOBAL_ERROR</code></p>
>      */
>     public String getGlobal()
>     {
>         return StrutsUtils.getGlobalErrorName();
>     }
> // Add method to return ActionErrors object. 
>     /**
>      * <p>Exposes the ActionErrors object underlying this request.</p>
>      *
>      * @return The ActionErrors object.
>      */
>     public ActionErrors getErrors()
>     {
>         return errors;
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org