This is a multi-part message in MIME format.

------=_NextPart_000_0052_01BFED05.BEF61180
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

I don=B4t know if it=B4s just me or this is quite tricky. All i want to =
do is what CFtree does but without using an applet do it. I=B4ve got a =
set of categories and subcategories. Unfortunately the depth of the tree =
is not fixed so basically we can add categories under a certain category =
forever.

I=B4m not aware of any single piece of CF code that uses recursive =
principles to achieve tasks. Tried to use a looping version of what i =
need instead but i just can=B4t come up with a solution to retrieve =
information no matter the depth of the category tree (yes, it=B4s been a =
really bad day for me today). I=B4ve already got the code for creating a =
nice dhtml tree but i just can=B4t find the way or sequence i need to =
generate the whole block of code. Something following a secuence like:

    Branch - Category 1
        Leaf - Category 2
        Leaf - Category 3
        Branch - Category 4
            Leaf - Category 5
            Branch - Category 6
                Leaf - Category 7
            Leaf - Category 8

... etc.

Any ideas?

TIA

Francisco Montes


------=_NextPart_000_0052_01BFED05.BEF61180
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi all,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I don&acute;t know if it&acute;s just me or this is =
quite=20
tricky. All i want to do is what CFtree does but without using an applet =
do it.=20
I&acute;ve got a set of categories and subcategories. Unfortunately the =
depth of=20
the tree is not fixed so basically we can add categories under a certain =

category forever.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I&acute;m not aware of any single piece of CF code =
that uses=20
recursive principles to achieve tasks. Tried to use a looping version of =
what i=20
need instead but i just can&acute;t come up with a solution to retrieve=20
information no matter the depth of the category tree (yes, it&acute;s =
been a=20
really bad day for me today). I&acute;ve already got the code for =
creating a=20
nice dhtml tree but i just can&acute;t find the way or sequence i need =
to=20
generate the whole block of code. Something following a secuence=20
like:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; Branch - Category =

1</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Leaf<FONT =
color=3D#000000> -=20
Category 2</FONT></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2><FONT=20
color=3D#000000></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Leaf - =
Category=20
3</FONT></DIV>
<DIV><FONT color=3D#000000 =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Branch - Category 4</FONT></DIV>
<DIV><FONT color=3D#000000=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; Leaf -=20
Category 5</FONT></DIV>
<DIV><FONT color=3D#000000=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; Branch=20
- Category 6</FONT></DIV>
<DIV><FONT color=3D#000000=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;=20
Leaf - Category 7</FONT></DIV>
<DIV><FONT color=3D#000000=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; Leaf -=20
Category 8</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>... etc.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Any ideas?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>TIA</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Francisco Montes</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0052_01BFED05.BEF61180--

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to