RE: struts action results

2007-09-20 Thread Shepherd, Darren S
From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 12:38 PM To: Struts Developers List Subject: Re: struts action results Chris Pratt on 20/09/07 17:20, wrote: > On 9/20/07, Adam Hardy <[EMAIL PROTECTED]> wrote: >> Would it be a big deal to change >&g

Re: struts action results

2007-09-20 Thread Adam Hardy
Chris Pratt on 20/09/07 17:20, wrote: On 9/20/07, Adam Hardy <[EMAIL PROTECTED]> wrote: Would it be a big deal to change com.opensymphony.xwork2.DefaultActionInvocation to allow my Action to return an enumeration instead of a string? How about creating a subclass of ActionSupport that has it'

Re: struts action results

2007-09-20 Thread Chris Pratt
On 9/20/07, Adam Hardy <[EMAIL PROTECTED]> wrote: > Would it be a big deal to change > com.opensymphony.xwork2.DefaultActionInvocation > to allow my Action to return an enumeration instead of a string? > How about creating a subclass of ActionSupport that has it's own execute style method, we cou

struts action results

2007-09-20 Thread Adam Hardy
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;