There shouldn't any errors in the JSP... and why would you want to rollback
if there were? Your business data was finished, shouldn't the TX finish as
well?

-Pat

----- Original Message -----
From: "Gavin King" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 08, 2002 4:19 PM
Subject: Re: [OS-webwork] Callback after view is rendered


> 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



-------------------------------------------------------
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