Can someone help me understand why the following code doesn't work?  If
cfa_siteElementGet is asked to get an elementID that doesn't exist, I
want to protect the user from an ugly error message.  Trouble is,
<cftry> and <cfcatch> seem not to work here.  Should I be doing this
another way?

<cftry>
        <cfa_siteElementGet
                datasource="#request.cfa.objectstore.dsn#"
                elementID="Not A Valid Element ID"
                r_stElement="stElement">
        <cfcatch type="ANY">
                <cfa_dump var="#cfcatch#">
        </cfcatch>
</cftry>


thanks,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to