[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]