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=16740>. 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=16740 Velocity-Tools / StrutsUtil patch ------- Additional Comments From [EMAIL PROTECTED] 2003-02-04 00:36 ------- Ted, that patch is unreadable -- it's not a unidiff, and has a possible line ending problem. You might prefer something like the following, anyhow: public class ActionErrorConstants extends ActionErrors { public Object get(String fieldName) { return getClass().getField(fieldName).get(null); } } Something like this will let you do $actionErrorConstants.GLOBAL_ERROR in your template. Velocity will invoke the get() method with the String argument "GLOBAL_ERROR". Just an idea. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
