Action chaining problem

2008-03-27 Thread Enrico Drusiani
hi i've a problem with action chaining. i've defined a xml action in a xml file called struts-ordini.xml with the following result ResiSelection the target action is in another xml file that is imported before the "struts-ordini.xml". i can't understand why the chaining fails, reloading the

Re: Does Struts 2 solve the action chaining problem?

2006-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tarek, Tarek Nabil wrote: > Christopher, > > I really wonder if the Struts you're talking about is the one I've using > for years now!! The Struts I know sucks big time when it comes to action > chaining. I'm afraid I don't understand how defining tw

Re: Does Struts 2 solve the action chaining problem?

2006-11-30 Thread Hubert Rabago
30/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: On 11/29/06, Yujun Liang <[EMAIL PROTECTED]> wrote: > To solve the action chaining problem, I wrote a subclass of > RequestProcessor. In the subclass, override some templates method. In the > last method of process(), I set a fl

Re: Does Struts 2 solve the action chaining problem?

2006-11-30 Thread Michael Jouravlev
On 11/29/06, Yujun Liang <[EMAIL PROTECTED]> wrote: To solve the action chaining problem, I wrote a subclass of RequestProcessor. In the subclass, override some templates method. In the last method of process(), I set a flag in request, and I check for this flag in some methods and if th

Re: Does Struts 2 solve the action chaining problem?

2006-11-30 Thread Michael Jouravlev
On 11/28/06, Tarek Nabil <[EMAIL PROTECTED]> wrote: Hi, One of the problems with Struts was that if you had a page that requires some setup and this page submits to an Action, then you would not be able to set validate to true on that action because if validation problems occur then Struts will

Re: Does Struts 2 solve the action chaining problem?

2006-11-30 Thread Ted Husted
Action Chaining First, we usually define "action chaining" as creating a "move" action by having a "copy" action forward to a "delete" action. Simply going from one action to another isn't a classic example of harmful chaining. The key point is whether only one action resolves the business use ca

RE: Does Struts 2 solve the action chaining problem?

2006-11-30 Thread Tarek Nabil
one for your help. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 5:36 PM To: Struts Users Mailing List Subject: Re: Does Struts 2 solve the action chaining problem? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tarek, Tare

Re: Does Struts 2 solve the action chaining problem?

2006-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tarek, Tarek Nabil wrote: > One of the problems with Struts was that if you had a page that requires > some setup and this page submits to an Action, then you would not be > able to set validate to true on that action because if validation > problems

Re: Does Struts 2 solve the action chaining problem?

2006-11-29 Thread Mark Menard
On 11/29/06 12:44 AM, "Tarek Nabil" <[EMAIL PROTECTED]> wrote: > One of the problems with Struts was that if you had a page that requires > some setup and this page submits to an Action, then you would not be > able to set validate to true on that action because if validation > problems occur then

Re: Does Struts 2 solve the action chaining problem?

2006-11-29 Thread Yujun Liang
To solve the action chaining problem, I wrote a subclass of RequestProcessor. In the subclass, override some templates method. In the last method of process(), I set a flag in request, and I check for this flag in some methods and if the flag is there, it means it is the chained action and the

Re: Does Struts 2 solve the action chaining problem?

2006-11-28 Thread Craig McClanahan
On 11/28/06, Tarek Nabil <[EMAIL PROTECTED]> wrote: Hi, One of the problems with Struts was that if you had a page that requires some setup and this page submits to an Action, then you would not be able to set validate to true on that action because if validation problems occur then Struts will

Does Struts 2 solve the action chaining problem?

2006-11-28 Thread Tarek Nabil
Hi, One of the problems with Struts was that if you had a page that requires some setup and this page submits to an Action, then you would not be able to set validate to true on that action because if validation problems occur then Struts will take you directly to the input JSP without performing