Hi,
I don't think building a real workflow would be that simple.I mean the workflow must 
be built in the framework, the actions being just configured to use it.

And why reinvent the wheel when there is already a solution :-))

Have a look at http://www.livinglogic.de/Struts/

We used it in our project and found that it satisfies most of the requirements.
I am not sure what exactly is your requirement.But the above mentioned extension 
satisfies all workflow requirements.And I am in the process of refactoring it so that 
it provides more extension points for customization.

1.It provides workflow scope.So if you define a group of actions belonging to a 
workflow, they have their own workflow scope.The objects in this scope are available 
only for the duration of the workflow scope.If user jumps out of workflow,the workflow 
scope is cleared.
2.You can define modal dialogue box like screens, where user can be forced to complete 
a workflow/cancel it explicitly before he can jump workflow.

And the best part is,you do not need any code change.All of this is taken care by the 
workflow extension.You only have to configure your action mappings to use workflow.

Have a look at the demo application on the web site.
Also the test application is another replace where you can see how the extension can 
be used in a real world application.

I am in the process of transferring this application to sourceforge.Just transferred 
all source code to sourceforge cvs yesterday :-)).

Have  a look at the extension and let me know if you still have any questions.

HTH.
Regards,
Shirish.



-----Original Message-----
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 7:58 PM
To: Struts Users Mailing List
Subject: RE: Struts Workflow


No matter what, I would recommend turning off caching on the struts
controller, otherwise you will get anomalies with the back button and
workflows.  Do this early in your development and testing with QA.

-----Original Message-----
From: Michael McGrady [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 12:42 PM
To: Struts Users Mailing List
Subject: Re: Struts Workflow

My suggestion is to build your own.  This is fairly simple stuff that must 
be wedded to your own way of coding your site or application that will fit 
your business requirements.  Make it general for use in other 
places.  Create, for example, you own do/undo/redo to work with but 
independent of the workflow.  Also create some token application or use the 
one that comes with struts.

At 10:08 AM 2/26/2004, you wrote:
>Does anyone have any great ideas on creating customizable workflows in
Struts?
>
>__________________________________
>Do you Yahoo!?
>Get better spam protection with Yahoo! Mail.
>http://antispam.yahoo.com/tools
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to