Would it be a big deal to change com.opensymphony.xwork2.DefaultActionInvocation to allow my Action to return an enumeration instead of a string?
I tried it myself but the code wants to cast my Enumeration to a string, rather than call .toString(): return (String) methodResult; This throws a ClassCastException. However this wouldn't: return methodResult.toString(); but would have presumably the same effect. The reason I ask is that I can then code my Action more elegantly with enumerations instead of strings for return values. Regards Adam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]