Jeff,
Can you replace
<cfdump var="#content#">
with
<cfdump var="#content.main#">
Also, what version of CF are you using?
Paul Kenney
WebMaster, CorporateWarriors.com
916-663-1963
-----Original Message-----
From: Jeff Chastain [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 03, 2004 8:08 PM
To: CF-Talk
Subject: CFSaveContent inside CFCatch?
I am trying to use the <cfsavecontent tag inside of a <cfcatch. Is there
some reason this should not work?
I have the following code, and the dump always results in an empty string.
I have tried changing the structure variable in the <cfsavecontent tag to a
single variable scoped variable, but it has the same result.
--------------------
<cfcatch type="securityException">
<!--- generate user error message --->
<cfsavecontent variable="content.main">
<span class="errorText">You have attempted to access an area of the
community to which
you do not have access. Click <a
href="" to go back.</span>
</cfsavecontent>
<cfdump var="#content#"><cfabort>
</cfcatch>
--------------------
What am I missing here?
Thanks,
-- Jeff
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- CFSaveContent inside CFCatch? Jeff Chastain
- Paul Kenney