RE: DHTML recursion problem

2004-07-29 Thread Micha Schopman
Just a word of advice, place the entire business logic of recursion in a stored procedure. What you do know, is make numerous calls to the database server, which is by far, more slower and cpu intensive than putting the job at SQL Server. tSQL gives you enough functions and possibilities to get

Re: DHTML recursion problem

2004-07-29 Thread Metzy Martinez
It's extremely fustrating. I'm trying to convert JAVA code into coldFusion and i tried to go with CFTREE but there is a problem with it ColdFusion 5 server. I tried to implement the recursive tree function found in the o'reilly ColdFusion 5 book. that of course is using CFtree. ughhh. thanks for

DHTML recursion problem

2004-07-28 Thread Metzy Martinez
Hello, I'm trying to create windows explorer style directory structure. And I'm some issues. My folder end up nesting inside of themselves. Here is my code its a custom tag that calls itself when it finds children cfoutput cfif isdefined(attributes.parentItemIdx) cfset

Re: DHTML recursion problem

2004-07-28 Thread stylo stylo
I don't know, but it's a nasty way to do it. First of all, you don't need to call every function in the onclick (lowercase, not camelCase). Just send the needed var to a function and go from there. Secondly, you should not even have cf put onclick inline; just have a class on the nec. menu