Jacob, Can't you pull off workflow (to some degree) with action chaining?
Here is the system I have devised (this is part of a much larger architecture that does a lot of other cool things like validation of struts config files to ensure that specified actions have required forwards and set-properties (nice for multi-developer env's)): Here is an example I have in my struts config: <action-mappings> <action path="/app/promoFlight/addChain" className="com.symbol.mc.struts.wrapper.chain.ChainActionMapping" type="com.symbol.mc.struts.wrapper.chain.ChainAction" name="addForm" > <set-property property="CHAIN_PROPERTY_NAME" value="ACTION_POINT"/> <set-property property="CHAIN" value="Cancel: /app/promoFlight/managePage"/> <set-property property="CHAIN" value="Create a List: /app/promoFlight/storePage"/> <set-property property="CHAIN" value="Add Promotion Flight: /app/promoFlight/add"/> <forward name="PAGE_ACTION_FAILURE" path="/app/promoFlight/addPage.do"/> </action> The .jsp/html page then has a submit button named ACTION_POINT. This action supports three different action points depending on thier value. If Cancel, it goes to /app/promoFlight/managePage, and so on. In case of an error in the ChainAction it uses PAGE_ACTION_FAILURE. I can also set FORWARD_FAILURE_NAME which allows me to specify the name of a forward that, if returned from one of the chained pages, will stop the chain. This exists because not only can I just redirect to a specific page, I can do things like: <set-property property="CHAIN" value="Cancel: /app/promoFlight/managePage, /app/promoFlight/savePage, etc"/> Is this what you are kinda looking for? -- Sloan ----- Original Message ----- From: "Hookom, Jacob" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 5:11 PM Subject: [OT] Workflow Proposal for Struts > http://jakarta.apache.org/struts/proposal-workflow.html > > Is there any pursuit in this or does it follow the direction that 1.2 will > be heading or is this the proposal for the commons-workflow? > > Jacob Hookom > Senior Analyst/Programmer > McKesson Medical-Surgical > Golden Valley, Minnesota > http://www.mckesson.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

