Nope... afraid not.
I have found a way around it, which is to pass the pagename instead of id in
elementName... I still can't give it elementType with this (it gives me a
whole new error), but I am able to retrieve the containers. However, I find
it strange that I cannot use the id instead as this would make alot more
sense!
I am still using 1.01, so maybe that has something to do with it.
----- Original Message -----
From: "Raymond Camden" <[EMAIL PROTECTED]>
To: "Spectra-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, March 01, 2001 1:52 PM
Subject: RE: cfa_siteElementGetChildren - error
> If you pass elementType="PAGE", does that help?
>
> =======================================================================
> Raymond Camden, Principal Spectra Compliance Engineer for Allaire
>
> Email : [EMAIL PROTECTED]
> ICQ UIN : 3679482
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
> > -----Original Message-----
> > From: Nikki Forshaw [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 01, 2001 6:38 AM
> > To: Spectra-Talk
> > Subject: cfa_siteElementGetChildren - error
> >
> >
> > Hi,
> >
> > Please help... I keep getting an error when I use this tag:
> >
> > <cfa_siteElementGetChildren
> > dataSource="#Request.cfa.objectstore.dsn#"
> > elementName="#pageID#"
> > r_stChildren="containers">
> >
> > Can anyone tell me what this is all about... if I use the
> > bInclude* params and set them all to "no", them there is no
> > error... obviously this is a problem since it also returns no data.
> >
> > All I want to do is see which containers are on the page.
> >
> > Thanks in advance.
> > Nikki.
> > The error is:
> > Error Diagnostic Information
> >
> > An error occurred while evaluating the expression:
> >
> >
> >
> > structKeyExists(server.cfa.siteModel[attributes.datasource].pages,
> > thisItemID)
> >
> >
> >
> > Error near line 147, column 8.
> > ------------------------------------------------------------------
> > --------------
> >
> > Parameter 2 of function StructKeyExists must be a basic value,
> > i.e., a string, number, logical, or date/time value
> >
> >
> > The error occurred while processing an element with a general
> > identifier of (CFIF), occupying document position (147:3) to (147:87).
> >
> >
> > Date/Time: 03/01/01 12:10:53
> > Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
> > Remote Address: 192.168.1.36
> >
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.