Yes. All actions would have a similar behavior. The begin transaction
would yield to it's errorhtml if the database was offline, or other
similar db access error occurred. Robert

-----Original Message-----
From: Bill Conlon [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 17, 2004 4:31 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: IF Action results

Thanks Robert,

I take it the BeginTransaction behaves similarly -- if the transaction  
fails, the ErrorHTML is output.

On Saturday, October 16, 2004, at 11:27  PM, Robert Shubert wrote:

> The ERRORHTML of an IF action should be used if you cause an error in
> the processing of the IF statement as such:
>
> ASSIGN var high = 1
> ASSIGN var low = 0
>
> IF ACTION:
>
>  <@CALC "@@high / @@low"> = 1
>
> So this would be an example where you want to do a division on the
left
> and see if the result equals the value on the right. If you divide by
> zero by accident, as my example would do, the if action couldn't be
> properly evaluated, and it would error and show the errorHTML pane.
>
> Robert
>
> -----Original Message-----
> From: Bill Conlon [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 16, 2004 3:30 PM
> To: Witango-Talk
> Cc: [EMAIL PROTECTED]
> Subject: Witango-Talk: IF Action results
>
> I noticed that IF Actions allow you to specify ERROR HTML, but not
> RESULTS HTML.  I'm curious about why you can't associate HTML with a
> true result, but rather must include a separate results action?  Also,
> under what conditions would the result of an IF action cause ERROR
HTML
> to be output to the results?
>
>
_______________________________________________________________________ 
> _
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
>
_______________________________________________________________________ 
> _
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to