Ok, banged my head against the desk all day on this and never really found a
reason but I did finally make it work. Just wondering if anyone knew what
the deal is with it or if anyone else has seen it.

I have a custom tag that has an attribute called "action". Depending on the
value of attributes.action, the tag will perform one of three operations.

Setup, Rename, or Main (default)

I finally stripped the tag all the way down to nothing but this if, elseif,
else statement trying to find out what was going on.

<cfif attributes.action is "setup">
        <cfoutput>SETUP<br></cfoutput>
<cfelseif attributes.action is "rename">
        <cfoutput>RENAME<br></cfoutput>
<cfelse>
        <cfoutput>MAIN<br></cfoutput>
</cfif>

If attribute.action was "setup" it processed twice! (meaning it printed
out..

SETUP
SETUP

If action was anything else, it worked fine. What gives? Has anyone else
seen this happen?

I changed "setup" to "initialize" and it works fine.

So does anyone know of any issues with the action="setup" combination or do
I need to fumigate my server for gremlins? 


...:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.24/100 - Release Date: 9/13/2005
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218147
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to