Re: Actions without extending ActionSupport?

2008-02-20 Thread tom_brokaw
>> I was under the impression that I could write actions without extending >> ActionSupport or implementing any struts2/xwork interfaces. >You can. Doesn't mean you'd *want* to, if you want to use functionality >provided by the framework. I want to do this so that I can minimize the coupling b

Actions without extending ActionSupport?

2008-02-20 Thread tom_brokaw
Hi, I was under the impression that I could write actions without extending ActionSupport or implementing any struts2/xwork interfaces. However, I cannot figure out how to add action errors (ActionSupport.addActionError()) to an action if not extending ActionSupport. I looked at ActionContext.get