Re: Action Chaining

2003-09-29 Thread Craig R. McClanahan
Andrew Hill wrote: snip For the other usage, where people have trouble creating a finely-grained business API, there's a new Chain package in the Commons sandbox that can help. This package makes it easy to chain together arbitrary units of work, so that you can do things like create a move

RE: Action Chaining

2003-09-28 Thread Andrew Hill
List Subject: Re: Action Chaining It is becoming commonplace to use an Action as a front for a server page. This is not what people mean when they talk about Action chaining. Some people start to use the Actions as finely-grained business actions. For example, they want to accomplish a move

Re: Action Chaining

2003-09-26 Thread Sgarlata Matt
There are probably many different solutions to make action chaining more intuitive. However, action chaining is not considered a best practice in the Struts community so effort will not be put forward to make it easier to do. There has been a lot of discussion of action chaining in both the user

RE: Action Chaining

2003-09-26 Thread Derek Richardson
within it, that I'd get better feedback here. Thanks, Derek Richardson -Original Message- From: Sgarlata Matt [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 4:05 PM To: Struts Developers List Subject: Re: Action Chaining There are probably many different solutions to make

Re: Action Chaining

2003-09-26 Thread Ted Husted
It is becoming commonplace to use an Action as a front for a server page. This is not what people mean when they talk about Action chaining. Some people start to use the Actions as finely-grained business actions. For example, they want to accomplish a move by forwarding to a copy Action and

RE: Action Chaining

2003-09-26 Thread James Turner
to be used on a subsequent JSP page. I think if we addressed this, the need for chained Actions would be greatly reduced. James -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 10:16 PM To: Struts Developers List Subject: Re: Action

Re: Action Chaining

2003-09-26 Thread Ted Husted
Personally, I would tend to use a coarse-grained bean that contained the properties for both pages. But, AFAIK, calling RequestUtils.createActionForm directly is sanctioned, especially as a way of obtaining a DynaActionForm. -Ted. James Turner wrote: I haven't seen anyone mention the most

RE: Action chaining: (was - Re: Why are people up on Struts)

2002-12-16 Thread Tim Moore
-Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 12:26 AM To: Struts Developers List Subject: Re: Action chaining: (was - Re: Why are people up on Struts) On Thu, 12 Dec 2002, Eddie Bush wrote: :-) Precisely. Everyone

RE: Action chaining

2002-12-13 Thread Nelson, Laird
-Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] So, if we're talking about one ActionMapping forwarding (or redirecting) to another ActionMapping, then sure. Everything is above board, and you can follow the bouncing ball through the Struts Config and see what's

Re: Action chaining: (was - Re: Why are people up on Struts)

2002-12-12 Thread V. Cekvenich
/do/action?dispatch=delete or anything else. Erik Hatcher wrote: Thats too tightly coupled for my tastes though. What if I want to put a delete hyperlink on some other page and have it forward somewhere else? In your example I don't think you'd have that capability. In my chaining

Re: Action chaining: (was - Re: Why are people up on Struts)

2002-12-12 Thread Eddie Bush
LOL - this is getting comical :-) Personally, I chain for the same reaons that Laird notes. Ex: deleteDetail.do has a success forward to showDetails.do. Call it illegal, but it works just fine :-) One thing I do do is always redirect instead of forward -- I can certainly see where

RE: Action chaining: (was - Re: Why are people up on Struts)

2002-12-12 Thread Nelson, Laird
-Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] There is no question that there are issues with forwarding with form population and such [...] I'm sure it just flew by me in all the email, but where can I look to see what these issues are? Any good search terms to

Re: Action chaining

2002-12-12 Thread Erik Hatcher
Eddie Bush wrote: Erik Hatcher wrote: There is no question that there are issues with forwarding with form population and such, and the known issue with multipart data (which is an isolated use-case anyway). The multipart issues exists regardless of whether you are chaining or not - no?

RE: Action chaining

2002-12-12 Thread Andre Beskrowni
the same admonishments could be used about writing methods whenever you're using call-by-reference. ab -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 2:02 PM To: Struts Developers List Subject: Re: Action chaining Eddie Bush

Re: Action chaining: (was - Re: Why are people up on Struts)

2002-12-12 Thread Martin Cooper
This has been a fascinating thread to catch up on! ;-) I'm more than a little surprised, though, that everyone's still in the box on a solution to Erik's problem. I have exactly the same scenario that Erik does - basically, you have some code that deals with the incoming request, and some code