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
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
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
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
/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
--- [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
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
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
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
--- 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
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
--- 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
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:
--- [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
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;
}
15 matches
Mail list logo