I think this is what you are looking for - you will have to change the datasource:

<cfa_siteElementGetChildren
        dataSource="#request.cfa.objectstore.dsn#"
        elementName="index"
        elementType="PAGE"
        r_qChildren="r_qChildren"
        r_stChildren="r_stChildren"
        b_includeContainers="yes">

<cfoutput>r_qChildren</cfoutput>
<cfa_dump var="#r_qChildren#">

NOTE: don't use .cfm on the pagename.

Lanny

<BR>
<BR>
<cfoutput>r_stChildren</cfoutput>
<cfa_dump var="#r_stChildren#">


>>> [EMAIL PROTECTED] Wednesday, February 07, 2001 >>>
Hi All,

Can anyone tell me how to get a list of containerID's on a specific page? As
a return struct or array of some sort based on the pageID... I need to do
this before the containers are actually called, because I need to test
against them before allowing them to display.... hmmm... I hope I am making
at least a little sense?! :)

Any help would be really appreciated!

Thanks in advance,
Nikki
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.

Reply via email to