Hi Bob,

This is exactly what the CFSaveContent tag does.  It saves whatever
content is generated inside of it into a variable - you can then
display it later by CFOutputting the variable.

-Joe


On Sat, 29 Jan 2005 18:06:02 -0800, Bob Haroche
<[EMAIL PROTECTED]> wrote:
> On a MX server, I'm finding that whatever I wrap in <cfsavecontent>
> tags is suppressed, but is available for output later as a saved
> variable. Here's an example -- when displayed in the browser, the
> "Test content here" phrase appears only the second time not the first.
> I'm sure I'm overlooking something simple. I have tried wrapping
> <cfoutput> tags around the <cfsavecontent> tags without luck. Thanks.
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> </head>
> <body>
> <p>First time: <cfsavecontent variable="Content">Test content
> here</cfsavecontent></p>
> <p>Second time: <cfoutput>#Content#</cfoutput></p>
> </body>
> </html>
> 
> -------------
> Regards,
> Bob Haroche
> O n P o i n t  S o l u t i o n s
> www.OnPointSolutions.com
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192228
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to