Yep, I like that option :)

Errors occurring in the JSP would also have to point to RollbackTx.

----- Original Message ----- 
From: "Patrick Lightbody" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 09, 2002 11:12 AM
Subject: Re: [OS-webwork] Callback after view is rendered


> Sounds to me like some action chaining could help you out here:
> 
> SomeUpdateThing.action=BeginTx
> SomeUpdateThing.success=ActuallyUpdateThing.action
> ActuallyUpdateThing.action=UpdateThing
> ActuallyUpdateThing.success=FinishUpdateThing.action
> ActuallyUpdateThing.error=StopUpdateThing.action
> FinishUpdateThing.action=CommitTx
> FinishUpdateThing.success=success.jsp
> StopUpdateThing.action=RollbackTx
> StopUpdateThing.success=error.jsp
> 
> -Pat




-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to