Re: Actions without extending ActionSupport?

2008-02-29 Thread nobody
like with Struts2. -- View this message in context: http://www.nabble.com/Actions-without-extending-ActionSupport--tp15591064p15762345.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

[OT] Re: Actions without extending ActionSupport?

2008-02-29 Thread Dave Newton
think anyone would claim JSF and Spring-MVC suffer from this problem, and although they do have problems of their own, they're not necessarily fundamental design issues like with Struts2. -- View this message in context: http://www.nabble.com/Actions-without-extending-ActionSupport

Re: Actions without extending ActionSupport?

2008-02-29 Thread stanlick
don't think anyone would claim JSF and Spring-MVC suffer from this problem, and although they do have problems of their own, they're not necessarily fundamental design issues like with Struts2. -- View this message in context: http://www.nabble.com/Actions-without-extending-ActionSupport

Re: [OT] Re: Actions without extending ActionSupport?

2008-02-29 Thread nobody
this and other anonymous users and will be a man from now on. Oh, snap. -- View this message in context: http://www.nabble.com/Actions-without-extending-ActionSupport--tp15591064p15762889.html Sent from the Struts - User mailing list archive at Nabble.com

Re: [OT] Re: Actions without extending ActionSupport?

2008-02-29 Thread stanlick
/Fragile_base_class). I don't think anyone would claim JSF and Spring-MVC suffer from this problem, and although they do have problems of their own, they're not necessarily fundamental design issues like with Struts2. -- View this message in context: http://www.nabble.com/Actions-without-extending

Re: [OT] Re: Actions without extending ActionSupport?

2008-02-29 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: How many more times do you want to answer the POJO/ActionSupport question? A million; how could I possibly get tired of such fun? Would you be willing to help me seed it with your top ten puzzlers from this list? Sounds pretty cool--I'd put out a general call

Re: [OT] Re: Actions without extending ActionSupport?

2008-02-29 Thread stanlick
Thanks bro. I'll hit it after I make a QDoba run. On Fri, Feb 29, 2008 at 11:57 AM, Dave Newton [EMAIL PROTECTED] wrote: --- [EMAIL PROTECTED] wrote: How many more times do you want to answer the POJO/ActionSupport question? A million; how could I possibly get tired of such fun? Would

Re: [OT] Re: Actions without extending ActionSupport?

2008-02-29 Thread Clown Boots
for quiz taking on your favorite subjects Are you hijacking this thread with your topic? I don't see the relevance. -- View this message in context: http://www.nabble.com/Actions-without-extending-ActionSupport--tp15591064p15764476.html Sent from the Struts - User mailing list archive at Nabble.com

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

Re: Actions without extending ActionSupport?

2008-02-20 Thread Dave Newton
--- tom_brokaw [EMAIL PROTECTED] wrote: 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. However, I cannot

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

Re: Actions without extending ActionSupport?

2008-02-20 Thread Dave Newton
--- tom_brokaw [EMAIL PROTECTED] wrote: I said: You don't *need* to extend ActionSupport to implement ValidationAware, it's just much easier. So I *must* implement an interface (ValidationAware) or extend a struts2 class in order to add errors messages from an action. Is that accurate? If

Re: Actions without extending ActionSupport?

2008-02-20 Thread eric . jung
Hi David, Thanks again for the reply. I'm comparing MVC frameworks right now, and wondering if struts2 has a similar feature to JSF. In JSF, an action can look like this: public class MyAction { public String deleteUser() { // Here I can inject errors for display on the JSP by writing:

Re: Actions without extending ActionSupport?

2008-02-20 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: public class MyAction { public String deleteUser() { // Here I can inject errors for display on the JSP by writing: FacesContext.getCurrentInstance().addMessage(userNameField, Sorry, that username is unknown); return input; } } Notice

Re: Actions without extending ActionSupport?

2008-02-20 Thread Jeromy Evans
Dave Newton wrote: --- [EMAIL PROTECTED] wrote: public class MyAction { public String deleteUser() { // Here I can inject errors for display on the JSP by writing: FacesContext.getCurrentInstance().addMessage(userNameField, Sorry, that username is unknown); return input; }