Re: ActionMapping Workflows

2001-07-17 Thread Nick Afshartous
Ted Husted writes: ... So, I would envision something like this for the ActionMappings !-- This Action would be passed the path to the current workflow, if any. It would check for any pending ActionRequest (workflow already begun) and forward to that instead of next if present --

RE: ActionMapping Workflows

2001-07-11 Thread Rey Francois
To: [EMAIL PROTECTED] Subject: Re: ActionMapping Workflows I'm liking the ActionRequest idea. I've tried similar things, but needed the parameter map idea. Do you have any code yet? I agree that leveraging ActionForwards sounds like the way to go. As to the requirements Matthias

Re: ActionMapping Workflows

2001-07-11 Thread Ted Husted
This sounds like a good strategy. I'd like to do very much the same thing, but with ActionMappings rather than tablibs. One reason would be to allow a form to be used both with and without a workfow. Ronel Sumibcay wrote: It hasn't caused any problems for me *so far*, but what i did was

Re: ActionMapping Workflows

2001-07-11 Thread Ted Husted
OK, so our initial draft working requirements are 1. Define which actions can follow the current action. 2. Define which actions are allowed to be executed immediately before the current action. 3. Define which action will follow the current action (dynamic action path). 4. Invoke another

RE: ActionMapping Workflows

2001-07-11 Thread Dan Powell
Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 8:13 AM To: [EMAIL PROTECTED] Subject: Re: ActionMapping Workflows OK, so our initial draft working requirements are 1. Define which actions can follow the current action. 2. Define which actions are allowed

Re: ActionMapping Workflows

2001-07-11 Thread Ted Husted
My first thought here would be to make this information available as a helper object that would read the forwards from the ActionMappings and bundle them up for the view. The view could then write whatever buttons it liked by reference to the helper object and the logic tags. Of course, someone

RE: ActionMapping Workflows

2001-07-10 Thread Chuck Stern
I think this is a great idea. I can't tell you how many times I've dynamically loaded hidden fields to determine the nextAction. A standard way of doing this would be very nice. Chuck -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Monday, July 09, 2001 4:44 PM

Re: ActionMapping Workflows

2001-07-10 Thread Ted Husted
The general idea I'm playing with now is 1) Extend ActionMappings with request and actionPath properties. 2) Extend ActionServlet to place the ActionMapping in the request context if request=true. 3) Extend html:form to check for ActionMapping.getActionPath() when the path is not specified.

Re: ActionMapping Workflows

2001-07-10 Thread Matthias Bauer
Ted and others, I don't really see the necessity of this extension for your update/insert scenario. What you want to do is the following: Insert: - InsertAction / ActionForm \ Update: - UpdateAction

Re: ActionMapping Workflows

2001-07-10 Thread Ted Husted
I suppose storing the information in the session would work. Though, I imagine this means the state value would be hardcoded into the Java source. I'm working toward scripting workflows from within the ActionMappings, and would like to be able to reroute the flow without changing the Java source.

Re: ActionMapping Workflows

2001-07-10 Thread Matthias Bauer
Ok, that's fine with me and it makes pretty much sense. However, this will not be enough to implement workflow completely. It is just a little step toward workflow control as a whole, just the same as the simple workflow extension I already proposed together with some code on this list. I

Re: ActionMapping Workflows

2001-07-10 Thread Jonathan
- From: Matthias Bauer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:12 AM Subject: Re: ActionMapping Workflows Ok, that's fine with me and it makes pretty much sense. However, this will not be enough to implement workflow completely. It is just a little step toward

Re: ActionMapping Workflows

2001-07-10 Thread Matthias Bauer
Ok, then maybe we should start to work on that. The first step should be to define the requirements, i. e. what do we expect from the workflow implementation is struts? My requirements would be the following (part 1 and 2 I already implemented): 1. Define which actions can follow the current

RE: ActionMapping Workflows

2001-07-10 Thread Robbin L. Gratz
from anyone or has someone solved this issue more elegantly? -Original Message- From: Jonathan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 8:35 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: ActionMapping Workflows Can I ask how you all are thinking about bouncing

Re: ActionMapping Workflows

2001-07-10 Thread Ted Husted
I'm thinking about scripting workflows through the ActionMappings. Each step in the flow would be a mapping, and the ways the steps could branch would be local forwards for those mappings. As you progress through the workflow, the Action decides which logical forward to return. I'm finding

Re: ActionMapping Workflows

2001-07-10 Thread Ted Husted
Something I have found generally useful is a Resource Cache. This is just a hashtable in the session where I can (judiciously) tuck objects for future reference. In the case of a multiform workflow, each of the subforms could be saved to the cache, and then recalled as needed along the way. Of

RE: ActionMapping Workflows

2001-07-10 Thread Martin Cooper
. - Original Message - From: Matthias Bauer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:12 AM Subject: Re: ActionMapping Workflows Ok, that's fine with me and it makes pretty much sense. However, this will not be enough to implement workflow completely. It is just

RE: ActionMapping Workflows

2001-07-10 Thread Ronel Sumibcay
-workflow is popped from the stack. Thanks. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 8:37 AM To: [EMAIL PROTECTED] Subject: Re: ActionMapping Workflows I'm thinking about scripting workflows through the ActionMappings. Each step

Re: ActionMapping Workflows

2001-07-10 Thread Ted Husted
in this discussion when a sub-workflow is popped from the stack. Thanks. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 8:37 AM To: [EMAIL PROTECTED] Subject: Re: ActionMapping Workflows I'm thinking about scripting workflows through

RE: ActionMapping Workflows

2001-07-10 Thread Robbin L. Gratz
with a solution? -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 4:16 PM To: [EMAIL PROTECTED] Subject: Re: ActionMapping Workflows I'm liking the ActionRequest idea. I've tried similar things, but needed the parameter map idea. Do you have any code yet? I

RE: ActionMapping Workflows

2001-07-10 Thread David Winterfeldt
] Subject: Re: ActionMapping Workflows I'm liking the ActionRequest idea. I've tried similar things, but needed the parameter map idea. Do you have any code yet? I agree that leveraging ActionForwards sounds like the way to go. As to the requirements Matthias started, I would change 3

Re: ActionMapping Workflows

2001-07-10 Thread Jonathan Asbell
PROTECTED] Sent: Tuesday, July 10, 2001 4:04 PM Subject: Re: ActionMapping Workflows What your thinking of may already do this, but I thought I would mention this in case it didn't. If you end up contructing a workflow using the actions, it would be nice if it could be defined as a linked list

RE: ActionMapping Workflows

2001-07-10 Thread Ronel Sumibcay
WorkFlowEntry. After assigning the result, it then does an internal forward to the uri specifed by 'workFlowExitTarget'. -ronel -Original Message- From: Robbin L. Gratz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 3:10 PM To: [EMAIL PROTECTED] Subject: RE: ActionMapping Workflows

RE: ActionMapping Workflows

2001-07-10 Thread Markus Pallo
AM To: [EMAIL PROTECTED] Subject: Re: ActionMapping Workflows I'm thinking about scripting workflows through the ActionMappings. Each step in the flow would be a mapping, and the ways the steps could branch would be local forwards for those mappings. As you progress through

Re: ActionMapping Workflows

2001-07-10 Thread Matthias Bauer
may still be a stack, though. :-} -- Martin Cooper - Original Message - From: Ted Husted [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 2:16 PM Subject: Re: ActionMapping Workflows I'm liking the ActionRequest idea. I've tried similar things