try this:

<cfdump var="#Config.SiteConfig.SiteSections.UserManager#">

see anything like toString()?

/t

 

>-----Original Message-----
>From: James Smith [mailto:[EMAIL PROTECTED] 
>Sent: Monday, January 17, 2005 5:39 PM
>To: CF-Talk
>Subject: RE: XML Variable Issue
>
>The first throws an error (cannot convert the value of type class
>coldfusion.xml.XmlNodeList to a boolean), the other two both 
>evaluate to
>false and skip the codeblock.
>
>> How do they fail? Do you get an error message, or do the 
>> CFIF's not execute?
>
>> >I am trying to store some config info in an XML file.
>> >
>> >If I run the following code...
>> ><cfoutput>#Config.SiteConfig.SiteSections.UserManager#</cfoutput>
>> >
>> >The expected result...
>> >True
>> >Is output to the browser, however the following code samples...
>> ><cfif Config.SiteConfig.SiteSections.UserManager>
>> ><cfif Config.SiteConfig.SiteSections.UserManager IS TRUE> <cfif 
>> >Config.SiteConfig.SiteSections.UserManager IS "TRUE"> All fail.
>> >
>> >Anyone any idea what I am doing wrong?  The XML file 
>> contains the line 
>> ><UserManager>True</UserManager>
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware: 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:190755
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