Can't you Evaluate it instead? Works for me.

On 3/25/09, Gert Franz <[email protected]> wrote:
>
> Chad,
>
> yes that's normally the way to do it.
>
> You have to do something like this:
>
> <cffile action="write" file="#expandPath('/includes/tmp.cfm')#"
> output="#yourDatabaseCFMLContent#">
> <cfinclude template="/includes/tmp.cfm">
>
> In Railo you can create a RAM mapping that points to the server's ram. Let's
> call it /ram
>
> Then you do the exact same like above:
> <cffile action="write" file="#expandPath('/ram/tmp.cfm')#"
> output="#yourDatabaseCFMLContent#">
> <cfinclude template="/ram/tmp.cfm">
>
> The problem is that with writing something to the disk you always hurt
> performance. That's why the "ramdisk" or let's say the virtual file system
> in memory is much faster than writing it out. As far as I know CF9 will
> support this as well, just as Railo does.
>
> Greetings from Switzerland
> Gert Franz
> Railo Technologies GmbH
> [email protected]
> www.railo.ch
>
> Join our Mailing List
> german:       http://de.groups.yahoo.com/group/railo/
> english:      http://groups.google.com/group/railo
> linked in:    http://www.linkedin.com/e/gis/71368/0CF7D323BBC1
> Bug tracker:  http://jira.jboss.org/jira/browse/RAILO
> Railo Blog:   http://www.railo-technologies.com/blog
>
> -----Ursprüngliche Nachricht-----
> Von: Chad Gray [mailto:[email protected]]
> Gesendet: Mittwoch, 25. März 2009 17:13
> An: cf-talk
> Betreff: RE: html in database
>
>
> So save it as a file with cffile then cfinclude it?
>
>
>
>> -----Original Message-----
>> From: Tom Chiverton [mailto:[email protected]]
>> Sent: Wednesday, March 25, 2009 11:33 AM
>> To: cf-talk
>> Subject: Re: html in database
>>
>>
>> On Wednesday 25 Mar 2009, Chad Gray wrote:
>> > How do I insert a <cfinclude> or any CF programming into the HTML when
>> it
>> > is pulled out of the database for display on the page?
>>
>> In Adobe ColdFusion, you have to write it to the desk then cfinclude it.
>> Railo and OpenBD have a render() method, iirc.
>>
>> --
>> Tom Chiverton
>> Helping to vitalistically improve products as part of the IT team of the
>> year, '09 and '08
>>
>> ****************************************************
>>
>> This email is sent for and on behalf of Halliwells LLP.
>>
>> Halliwells LLP is a limited liability partnership registered in England
>> and Wales under registered number OC307980 whose registered office address
>> is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3
>> 3EB.  A list of members is available for inspection at the registered
>> office together with a list of those non members who are referred to as
>> partners.  We use the word "partner" to refer to a member of the LLP, or
>> an employee or consultant with equivalent standing and qualifications.
>> Regulated by the Solicitors Regulation Authority.
>>
>> CONFIDENTIALITY
>>
>> This email is intended only for the use of the addressee named above and
>> may be confidential or legally privileged.  If you are not the addressee
>> you must not read it and must not use any information contained in nor
>> copy it nor inform any person other than Halliwells LLP or the addressee
>> of its existence or contents.  If you have received this email in error
>> please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
>>
>> For more information about Halliwells LLP visit www.halliwells.co
>>
>>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320951
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