> I came across a problem with CFCONTENT. Even if the attribute RESET="yes" is 
> used, the content which was previously set by <cfhtmlhead  is not reset.
>
> Ex 1:
> <cfhtmlhead text = 'This is in the head section'>
> <cfcontent type="text/html; charset=ISO-8859-1" RESET="yes">
> This shouldn't have the head section.
> </cfcontent>
>
> Ex 2:
> <head>This is in the head section</head>
> <cfcontent type="text/html; charset=ISO-8859-1" RESET="yes">
> This shouldn't have the head section.
> </cfcontent>
>
> In Ex 1, the text "This is in the head section" still appears in the page.
> In the ex 2 it does not.
>
> Is this a bug, or an undocumented feature ?
> Anyway, is there some way I could clear what was previously set with 
> <cfhtmlhead ?

I believe this is the expected behavior. Once you use any
functionality that explicitly writes part of the response (CFHTMLHEAD,
CFHEADER, etc) you can't use functionality that lets you manipulate
the storage buffer (CFCONTENT, CFFLUSH).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352059
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to