This is a multi-part message in MIME format.
------=_NextPart_000_0017_01C0D3A9.A7BB2F10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
Being new in cold fusion I decided to learn how to use CFTREE. I wanted =
to do something simple on my first attempt, and wondering if perhaps I =
am either not using it right or just can't do what I want. Here below is =
my program, it shows a list of all of the 'categories', one selects a =
category and its suppose to go to that category. Unfortunately, it goes =
only to the 1st category no matter which one you click on. Am I missing =
something? Here is the code:
<cfquery name=3D"categories" Datasource=3D"playground">
Select *
From categories =20
</cfquery>=20
=20
<cfform action=3D"findcomp.cfm"
method=3D"post"
Enablecab=3D"yes"
name=3D"test">
<cftree name=3D"tree1" appendkey=3D"no" >
<cftreeitem=20
value=3D"category"
img=3D"folder,document"
query=3D"categories"
href=3D"findcomp.cfm?services=3D#categories.category#"
>
</cftree>
</cfform>
To see what it looks like you can go to:
=20
www.todaysplayground.com/Playground_industry_Directorytest.cfm
Thanks,
Gregg
------=_NextPart_000_0017_01C0D3A9.A7BB2F10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Being new in cold fusion I decided to =
learn how to=20
use CFTREE. I wanted to do something simple on my first attempt, and =
wondering=20
if perhaps I am either not using it right or just can't do what I want. =
Here=20
below is my program, it shows a list of all of the 'categories', one =
selects a=20
category and its suppose to go to that category. Unfortunately, it goes =
only to=20
the 1st category no matter which one you click on. Am I missing =
something? Here=20
is the code:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> <cfquery =
name=3D"categories"=20
Datasource=3D"playground"><BR> Select *<BR> From=20
categories <BR>  =
;</cfquery> <BR> <BR><cfform=20
action=3D"findcomp.cfm"<BR>method=3D"post"<BR>Enablecab=3D"yes"<BR>name=3D=
"test"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><cftree name=3D"tree1" =
appendkey=3D"no"=20
></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><cftreeitem=20
<BR>value=3D"category"<BR>img=3D"folder,document"<BR>query=3D"categories"=
<BR>href=3D"findcomp.cfm?services=3D#categories.category#"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>><BR></cftree></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2></cfform></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>To see what it looks like you can go=20
to:</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2> &nbs=
p; =20
<BR><A=20
href=3D"http://www.todaysplayground.com/Playground_industry_Directorytest=
.cfm">www.todaysplayground.com/Playground_industry_Directorytest.cfm</A><=
/FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Gregg</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>
------=_NextPart_000_0017_01C0D3A9.A7BB2F10--
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists