Hey folks,

I have just been playing around with GetChildren and getSiblings…

 

So I have an enhancement request…

Can we add ‘bIncludeSelf’ as an optionally required attribute for getSiblings?

 

It would require the following changes…

Add the following line at line 176 in tree.cfc

            <cfargument name="bIncludeSelf" required="no" type="boolean" default="0" hint="set this to 1 if you want to include the objectid you are passing">

 

And then alter line 31 in getSiblings.cfm to reflect the following…

 

            if(NOT arguments.bIncludeSelf) temp = arrayAppend(arguments.aFilter,"t.objectid <> '#arguments.objectid#'");

 

what do you think?

L.

--
Lucas Sherwood
Evangelist - Server Products
Macromedia EMEA
 
+44 7881 803 170
[EMAIL PROTECTED]

 

Director MX 2004 – NOW SHIPPING!
Industrial-Strength Multimedia
www.macromedia.com/software/director

--

This e-mail and any attachments may contain confidential information that is legally privileged. If you are not the intended recipient, any use, copying or transmission of this information is strictly prohibited.  If you received this email in error, please delete all copies and notify us immediately.

 

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to