<useless_rant>
ok unless you sare on some ooollllddd version why would you be using
this function....parameterExists....
</useless_rant>
Adam H
On Mon, 17 Jan 2005 17:08:03 -0000, James Smith <[EMAIL PROTECTED]> wrote:
> Unfortunately...
>
> <cfif parameterExists(Config.SiteConfig.SiteSections[Sections.Name])>
>
> Throws an error (Invalid CFML construct found on line 13 at column 83.)
>
> --
> Jay
>
> > Bracket [] notation.
> >
> > Config.SiteConfig.SiteSections[Sections.Name]
>
> > ...If the SectionName is dynamic, how would you access the variable?
> > ...
> > ...For example the Variable name
> > ..."Config.SiteConfig.SiteSections.UserManager.XmlText" has
> > the ..."UserManager"
> > ...part in another variable called "Sections.Name". I have
> > tried many ...options ...and variations with no success and I
> > know this is easy as I have done it ...before (although not
> > from XML) and I can't remember how!
> > ...
> > ...EG:
> > ...<cfif
> > parameterExists(Config.SiteConfig.SiteSections.#Sections.Name#)>
> > ...<cfif
> > parameterExists(evaluate("Config.SiteConfig.SiteSections." &
> > ...Sections.Name))> ...
> > ...--
> > ...Jay
> > ...
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190772
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