Re: [cfaussie] Recursive function giving me 500 null error

2010-08-12 Thread Robin Hilliard
On 12/08/2010, at 2:34 PM, Seona Bellamy wrote: cffunction name=downTree hint=Returns the details of everything needed to make an item access=public returntype=array output=no cfargument name=aItems type=array required=no default= cfscript var result =

Re: [cfaussie] Recursive function giving me 500 null error

2010-08-12 Thread Robin Hilliard
On 12/08/2010, at 4:18 PM, Robin Hilliard wrote: structFindValue(returnValue[id], , all) to get an array of all the keys under a branch of the result. Ah it's not quite right, when you first create a key in stDependencies you should set it to , and only replace it with a struct if something

Re: [cfaussie] Recursive function giving me 500 null error

2010-08-12 Thread Sean Corfield
On Wed, Aug 11, 2010 at 9:34 PM, Seona Bellamy seon...@gmail.com wrote:     cffunction name=downTree hint=Returns the details of everything needed to make an item access=public returntype=array output=no         cfargument name=aItems type=array required=no default=        ...                

Re: [cfaussie] Recursive function giving me 500 null error

2010-08-12 Thread Seona Bellamy
On 12 August 2010 16:27, Sean Corfield seancorfi...@gmail.com wrote: On Wed, Aug 11, 2010 at 9:34 PM, Seona Bellamy seon...@gmail.com wrote: cffunction name=downTree hint=Returns the details of everything needed to make an item access=public returntype=array output=no

RE: [cfaussie] Recursive function giving me 500 null error

2010-08-11 Thread Dale Fraser
I'd suggest you have a recursive loop For example Let's say that Item A requires Item B And that Item B requires Item A It will go around in circles and eventually give up. Regards Dale Fraser http://dale.fraser.id.au http://cfmldocs.com http://cfmldocs.com/