(Sent this to Matt, but I think the whole list should see it)

By the way, action chaining really is huge (finding more and more cool stuff
to do with it today). Think of this, developers can start building actions
that can be arbitrality chained together, creating a mini-workflow of sorts.
For example:

(a form submits to CreateDocumentValidate.action)

CreateDocumentValidate.action=DocumentValidator
CreateDocumentValidate.error=create.jsp
CreateDocumentValidate.success=BeginTransaction.action

BeginTransaction.action=BeginTransaction
BeginTransaction.success=CreateDocument.action

CreateDocument.action=CreateDocument
CreateDocument.error=RollbackTransaction.action
CreateDocument.success=CommitTransaction.action

RollbackTransaction.action=RollbackTransaction
RollbackTransaction.success=create_error.jsp

CommitTransaction.action=CommitTransaction
CommitTransaction.success=create_success.jsp

Now this is maybe _too_ broken up, but the idea is there. I could then take
the classes CommitTransaction, RollbackTransaction, BeginTransaction, and
DocumentValidator and use them in a mini-workflow that assists with updating
a document instead of creating it. The possibilities are really quite
endless.

-Pat



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to