Use the r_PageID attribute of CFA_Page. Then you can use
SiteElementGetChildren like so:
<CFA_SiteElementGetChildren DataSource="#Request.CFA.DataSource.DSN#"
elementID="#pid#" elementType="page" r_stChildren="kids">
Now, question, why don't you just do:
<CFIF LogicRule blah blah>
<CFA_Container>
</CFIF>
Do you need the IDs to determine if they show up or not?
p.s. When you edit containers, a temporary copy is made. These copies aren't
cleaned until next time you edit a container. So, be aware that
SiteElementGetChildren will also get these temporary copies. So, when you
loop through the children, just ignore where active=0.
=======================================================================
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: Wednesday, February 07, 2001 7:23 AM
> To: Spectra-Talk
> Subject: Containers on the page...
>
>
> 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.