Hi,

this isn't directly Fusebox related but I hope you can help.

I'm writing a custom tag and want to load all of the HTML generated by it
into a variable so that it can be out put by the calling template at a later
point on the page.

The HTML that is generated is made by a few loops and a couple of ifs so
it's not a simple as doing <CFSET TheCode = TheCode & "Lots of HTML">... as
they'd have to be all over the place, not to mention the problems caused by
the " in the table attributes etc..

So I'd like to do something like bodycontent does, but after looking at the
code I don't understand how it does it:

<cfif not thistag.HasEndTag>
        <cfset thistag.generatedcontent="">
        You must have an end Tag
        <cfabort>
</cfif>
<cfparam name="attributes.name" default="bodycontent">
<cfif thistag.executionmode is "end">
        <cfset "request.#attributes.name#"=thistag.generatedcontent>
        <cfset thistag.generatedcontent="">
</cfif>

Can anyone explain to me what's going on here?

Also, at the weekend I was on site doing some work and forgot to bring the
Fusebox custom tags with me. So I went to Fusebox.org to download the
URLToken tag and noticed it wasn't there. Infact there are quite a few less
tags than before, is there a reason for these missing tags?

Thanks
Ben.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to