Not necessarily. Assuming you want to be able to enter text areas and the
like (or any html actually) in your textarea, using htmledit format will
allow you to enter it once -- but never update it after the fact because
when you save it the 2nd time, it's no longer html code. The email I just
sent off a moment ago explains a method (afaik the only method) of
preserving the content in its original format, so it's still viable as html
even after it's been saved several times.

> Nevermind... I'm an idiot over thinking the basics...
> HTMLEditFormat()..!

> hehe,
> Steve

> -----Original Message-----
> From: Steve Reich [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 25, 2002 9:26 PM
> To: CF-Talk
> Subject: RE: Writing a file with CFFILE


>> I'm guessing you're using MX ... Probably using
>> setEncoding() whether you
>> specify ISO latin or UTF-8 on the form scope on the
>> action page will
> resolve
>> the issue... I'd likely place it in the application.cfm
>> and apply it to
> both
>> form and url.


> Thanks! That fixed that problem. I have another one
> now....

> If I call a file like this...

> <cffile action="READ" file="#page#" variable="output">

> . then display it like this....

> <textarea
> name="contents"><cfoutput>#output#</cfoutput></textarea>

> . I run into a problem if the variable output has a
> textarea tag contained
> within it. It sees the closing textarea tag in the output
> variable as the
> closing tag for the textarea used to display the variable.
> All code after
> the closing textarea is executed in the browser.

> Example:

> output = <textarea name="foo">This is some
> text</textarea><br>Then some
> other stuff


> <textarea
> name="contents'><cfoutput>#output#</cfoutput></textarea>

> .equals....


> <textarea name="contents'></textarea><br>Then some other
> stuff</textarea>

> I get a textarea with this:
> <textarea name="foo">This is some text

> Then some other stuff. Kind of a bitch to explain. Help!



> TIA,
> Steve


> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/cf_lists/index.
> cfm?method=subscribe&forumid=4
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> This list and all House of Fusion resources hosted by
> CFHosting.com. The place for dependable ColdFusion
> Hosting.


s. isaac dealey                954-776-0046

new epoch                      http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to