What exactly do you want replaced. That might help.

Anything you'd want to replace is already there right? Just replace it
beforehand.

<cfset myoutput = 'hello world'>
<p><cfoutput>#replacenocase(myoutput, 'hello', 'goodbye',
'all')#</cfoutput><p>

<p>goodbye world</p>

-----Original Message-----
From: Richard Cooper [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 10, 2007 7:39 AM
To: CF-Talk
Subject: get code prior to commit

Hi all,

Not sure if this is possible, but is there a way of getting the code from a
page prior to comitting 
the HTML to page.

i.e. if page.cfm looked like this

<cfset myoutput = 'hello world'>
<p><cfoutput>#myoutput#</cfoutput><p>

When loaded, I would get the HTML <p>hello world</p> which I could run more
cf code on such as a 
replacenocase function.

I was thinking it might be possible to do this using onRequestend.cfm but I
could be way off base.


Any ideas if this is pheasible or how to approach this?
Thanks,

Richard



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277592
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to