htmleditformat() seemed to have done the trick in conjunction with
<cfsavecontent>.
I wrapped the header and footer sections of code with htmleditformat.
Then I used <cfsavecontent> before a cffile statement to output the new
'page' to the file:
<CFSAVECONTENT variable="pagerebuild">
<CFOUTPUT>#form.topheadercontent##form.editedcontent#
#form.bottomfootercontent#</CFOUTPUT>
</CFSAVECONTENT>
<CFFILE ACTION="" ADDNEWLINE="no"
FILE="f:\sites\synapse2\editsample2.cfm" OUTPUT="#pagerebuild#">
I still don't know if this is the best way to do this, but its the only
way I've gotten to work so far.
If anyone else has any ideas let me know :)
-Gel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.559 / Virus Database: 351 - Release Date: 1/7/2004
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

