-- Topica Digest --
        
        Announcing Fusedoc Viewer
        By [EMAIL PROTECTED]
        
        Re: fbx_errorCatch.cfm
        By [EMAIL PROTECTED]
        
        RE: fbx_errorCatch.cfm
        By [EMAIL PROTECTED]

------------------------------------------------------------

Date: Mon, 16 Sep 2002 15:41:34 +0000
From: Steve Ray <[EMAIL PROTECTED]>
Subject: Announcing Fusedoc Viewer


Hey, everyone.

This is to announce a tool I've written which I'm making available to 
the Fusebox community.

Fusedoc Viewer is an MX-only app which parses and displays your 
XML-based Fusedocs. You can move through your directory tree and view 
the Fusedoc for any template you want to look at. As it views each 
template, it adds an entry for it to an XML-based flat file database 
(accessible via the Inventory circuit), which is searchable via author, 
fuse, and responsibilities. You can also limit the search by template 
type (act, dsp, qry, fbx).

The search results display the name of the template and the 
circuit/directory it's located in. Clicking on a template displays the 
Fusedoc for it.

There's a fairly comprehensive readme that's linked to from every 
screen.

You can preview the app at http://www.delraysteve.com (under coding 
tools). There's also a link there to download it.

Please kick it around and let me know what you think! 

Be patient when first connecting to the site; it's on DSL, and there's a 
sizable graphic on the homepage that I'm still working on optimizing. 
Let me know what ya think of the site, too.

Thanks,


Steve Ray





------------------------------

Date: Mon, 16 Sep 2002 16:29:27 -0400
From: "Younes Abesi" <[EMAIL PROTECTED]>
Subject: Re: fbx_errorCatch.cfm


Thanks for FEX core file. I tried it, but still the partially generated
content by cfsavecontent remained. I narrowed the problem to the following
test. Cfsavecontent displays content  in the following situation if there is
an error in SQL statement or datasource name, while there is no output of
variable "a" to browser. Am I missing something?

<cftry>
     <cfsavecontent variable="a">
         1<br>
         2<br>
          <CFQUERY NAME="qB" DATASOURCE="xxxx">
                  SELECT     column1,column2,column3
                  FROM         table
          </CFQUERY>
         3<br>
     </cfsavecontent>
     <cfcatch>
         Don't show anything<br>
     </cfcatch>
</cftry>

-younes.

----- Original Message -----
From: "Erik Voldengen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 13, 2002 10:25 AM
Subject: RE: fbx_errorCatch.cfm


> It's a new file introduced by FEX, an alternate Fusebox core file
> available at www.fusium.com.  This isn't an official part of Fusebox,
> though I hope it will be some day.
>
> It's kind of like fbx_layouts for your circuits' error handling.
>
> There's also a white paper at fusium.com for the full story.
>
> -Erik
>
>
>
> > -----Original Message-----
> > From: Younes Abesi [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, September 13, 2002 6:47 AM
> > To: [EMAIL PROTECTED]
> > Subject: fbx_errorCatch.cfm
> >
> >
> > What is  fbx_errorCatch? Does it belong to earlier versions of fusebox
> > rather than Fusebox 3.0. I didn't find anywhee in Fusebox 3 core
> > files that
> > we will be able to use it. In that case what would be the best way to
add
> > error handling feature to fusebox. I simply wrapped target
> > circuits cfswitch
> > (in fbx_cfswitch.cfm) with cftry/cfcatch, the error caught is logged
into
> > database as well as email get sent and also an html page containing the
> > error message displayed to the user.
> > The issue in that case is that error html page is displayed after partly
> > generated content in cfswitch up to the point that error occured.
> > Is there a
> > way out of that i.e. have all html content generated up to error
> > point been
> > erased so the user just sees a full screen of error mesage?
> >
> > Thanks,
> >
> > -younes
> >
> >
> > __________________________________________/Fusebox Conference!
> >
> >  Sign up for the Fusebox Conference today!
> >  October 26th & 27th: Orlando, FL, just before MACR DevCon.
> >  2 jam-packed days, 15 speakers in three tracks, World Fuseball
> >  Championship
> >  http://www.fusebox.org/index.cfm?fuseaction=conference.main
> >
> >
> >
>
>
> __________________________________________/Fusebox Conference!
>
>  Sign up for the Fusebox Conference today!
>  October 26th & 27th: Orlando, FL, just before MACR DevCon.
>  2 jam-packed days, 15 speakers in three tracks, World Fuseball
>  Championship
>  http://www.fusebox.org/index.cfm?fuseaction=conference.main
>
>
>





------------------------------

Date: Mon, 16 Sep 2002 13:44:51 -0700
From: "Barney Boisvert" <[EMAIL PROTECTED]>
Subject: RE: fbx_errorCatch.cfm


cfsavecontent doesn't do anything until the CLOSE tag is encountered.  So,
if the close tag isn't ever executed, then it has no effect, and any
displayed HTML will go to the stream as normal.

The 'solution' that I've found is to ALWAYS redirect on errors, so that you
get a brand new page.  I usually wrap my call to the core file in my
index.cfm like this:

<cftry>
        <!--- code here --->
        <cfcatch type="any">
                <cflocation
url="#cgi.script_name#?fuseaction=home.error&type=#cfcatch.type#" />
        </cfcatch>
</cftry>

barneyb

-----Original Message-----
From: Younes Abesi [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 16, 2002 1:29 PM
To: [EMAIL PROTECTED]
Subject: Re: fbx_errorCatch.cfm


Thanks for FEX core file. I tried it, but still the partially generated
content by cfsavecontent remained. I narrowed the problem to the following
test. Cfsavecontent displays content  in the following situation if there is
an error in SQL statement or datasource name, while there is no output of
variable "a" to browser. Am I missing something?

<cftry>
     <cfsavecontent variable="a">
         1<br>
         2<br>
          <CFQUERY NAME="qB" DATASOURCE="xxxx">
                  SELECT     column1,column2,column3
                  FROM         table
          </CFQUERY>
         3<br>
     </cfsavecontent>
     <cfcatch>
         Don't show anything<br>
     </cfcatch>
</cftry>

-younes.

----- Original Message -----
From: "Erik Voldengen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 13, 2002 10:25 AM
Subject: RE: fbx_errorCatch.cfm


> It's a new file introduced by FEX, an alternate Fusebox core file
> available at www.fusium.com.  This isn't an official part of Fusebox,
> though I hope it will be some day.
>
> It's kind of like fbx_layouts for your circuits' error handling.
>
> There's also a white paper at fusium.com for the full story.
>
> -Erik
>
>
>
> > -----Original Message-----
> > From: Younes Abesi [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, September 13, 2002 6:47 AM
> > To: [EMAIL PROTECTED]
> > Subject: fbx_errorCatch.cfm
> >
> >
> > What is  fbx_errorCatch? Does it belong to earlier versions of fusebox
> > rather than Fusebox 3.0. I didn't find anywhee in Fusebox 3 core
> > files that
> > we will be able to use it. In that case what would be the best way to
add
> > error handling feature to fusebox. I simply wrapped target
> > circuits cfswitch
> > (in fbx_cfswitch.cfm) with cftry/cfcatch, the error caught is logged
into
> > database as well as email get sent and also an html page containing the
> > error message displayed to the user.
> > The issue in that case is that error html page is displayed after partly
> > generated content in cfswitch up to the point that error occured.
> > Is there a
> > way out of that i.e. have all html content generated up to error
> > point been
> > erased so the user just sees a full screen of error mesage?
> >
> > Thanks,
> >
> > -younes
> >
> >
> > __________________________________________/Fusebox Conference!
> >
> >  Sign up for the Fusebox Conference today!
> >  October 26th & 27th: Orlando, FL, just before MACR DevCon.
> >  2 jam-packed days, 15 speakers in three tracks, World Fuseball
> >  Championship
> >  http://www.fusebox.org/index.cfm?fuseaction=conference.main
> >
> >
> >
>
>
> __________________________________________/Fusebox Conference!
>
>  Sign up for the Fusebox Conference today!
>  October 26th & 27th: Orlando, FL, just before MACR DevCon.
>  2 jam-packed days, 15 speakers in three tracks, World Fuseball
>  Championship
>  http://www.fusebox.org/index.cfm?fuseaction=conference.main
>
>
>


__________________________________________/Fusebox Conference!

 Sign up for the Fusebox Conference today!
 October 26th & 27th: Orlando, FL, just before MACR DevCon.
 2 jam-packed days, 15 speakers in three tracks, World Fuseball
 Championship
 http://www.fusebox.org/index.cfm?fuseaction=conference.main



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.386 / Virus Database: 218 - Release Date: 9/9/2002





------------------------------




__________________________________________/Fusebox Conference!

 Sign up for the Fusebox Conference today!                         
 October 26th & 27th: Orlando, FL, just before MACR DevCon.       
 2 jam-packed days, 15 speakers in three tracks, World Fuseball   
 Championship                                                   
 http://www.fusebox.org/index.cfm?fuseaction=conference.main   

End of [EMAIL PROTECTED] digest, issue 938


Reply via email to