Well, that's simple enough. Thanks, Alistair. I would never have seen that. And thanks 
everyone for their input.

Date: Mon, 27 May 2002 11:24:49 +0100
From: "Alistair Davidson" <[EMAIL PROTECTED]>
Subject: RE: QuerySim custom tag and Fusebox 3
Message-ID: <[EMAIL PROTECTED]>

Hi guys

The problem is that thisTag.generatedcontent only captures content 
that would be destined for the output buffer. If enablecfoutputonly="YES" 
has been called, thisTag.generatedContent is non-existent, unless 
the tag is called between CFOUTPUT tags.

Walk it through -

1) The very first line in the FB3 core file (fbx_fusebox30_CFXX.cfm) 
sets <cfsetting enablecfoutputonly="YES">
2) Sections seven and nine of the FB3 core file includes fbx_settings.cfm. 
enablecfoutputonly is still YES, so any plain text is just ignored
3) Section ten includes fbx_switch.cfm, but does it like this -

<cfoutput><cfinclude template="#FB_.fuseboxpath#fbx_Switch.cfm"></cfoutput>

so THAT's why <Cf_querysim> works when included from fbx_switch, but not from 
fbx_settings

Workaround - whenever you use a <cf_querysim> tag, nest it inside a <Cfoutput> block, 
like this

<cf_querysim>
        <cfoutput>
                qry_myquery
                a,column,list
                your|query|data
        </cfoutput>
</cf_querysim>

or even

<cfoutput>
<cf_querysim>
        qry_myquery
        a,column,list
        your|query|data
</cf_querysim>
</cfoutput>


Hope that helps,

Alistair

Alistair Davidson
Application Developer
Freeserve.com PLC
www.smartgroups.com


________________________________________________________
Outgrown your current e-mail service?
Get a 25MB Inbox, POP3 Access, No Ads and No Taglines with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to