hehe:)... sometimes it just takes an outside perspective to point out the
obvious!... Thank you... this thought hadn't even occurred to me... and I
have my rules doing absolutely everything else as well, so it should have
been plain as day!

Thanks:)

----- Original Message -----
From: "Raymond Camden" <[EMAIL PROTECTED]>
To: "Spectra-Talk" <[EMAIL PROTECTED]>
Sent: Monday, March 05, 2001 1:25 PM
Subject: RE: sorting return from siteElementGetChildren...


> Why not have the execute handler of the rule take care of displaying the
> table, if it needs to I mean.
>
> =======================================================================
> 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: Monday, March 05, 2001 6:58 AM
> > To: Spectra-Talk
> > Subject: sorting return from siteElementGetChildren...
> >
> >
> > Hi All,
> >
> > My question is: Can I get my return from
> > <cfa_siteElementGetChildren> to order according to how the
> > containers appear on the page?
> >
> > Below is a really bad description (I can barely understand what
> > I've written!) of why I need this to happen... however, if you
> > can make sense of it, any ideas would really be welcome!
> >
> > I have a page which has several containers on it. Each container
> > is wrapped in a table and each container has a publishing rule
> > set to it. What I need to do is only display the table wrapping
> > the container if there is an object in the container. I've
> > managed to get most of this to work, my only problem being that
> > <cfa_siteElementGetChildren> does not return the containers in
> > the order that they are on the page itself.... This is making it
> > very difficult for me to know which tables to show as I loop
> > through the containerID's returned by
> > <cfa_siteElementGetChildren> and write an array with the id and
> > an on/off value and then check against that when it comes time to
> > write the tables around the containers... the end result being
> > that if contiainer number 3 on my page is populated, it'll more
> > likely show up in container number 10's slot... this being
> > because a containerID get's assigned from the array to the
> > container and because the id's returned from
> > <cfa_siteElementGetChildren> are not ordered according to the
> > order in which the containers initially appear on the page.
> >
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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