This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C04A98.7BF5EFE0
Content-Type: text/plain;
        charset="iso-8859-1"

Or he could use the tag I sent him.  I had a similar scenario where i needed
a tree object populated with data from a db, but didn't want to have to wait
forever for the page to be built.  What I did was make a custom tree tag
that shows all of the nodes right away, and then when the node is clicked,
the page is refreshed - runs the query specific to that node, then builds
the branchs our of the results list.  I sent a copy to Adam and will gladly
send it to anybody else who is interested in checking it out.

Eric in Atlanta

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 2:44 PM
To: CF-Talk
Cc: '[EMAIL PROTECTED]'
Subject: RE: CFTree on runtime population...


> Hello, I'm populating CFTree with data from a huge database. 
> My problem is that I don't want to do it all at once, just 
> because it takes too much time (I have to read all the data 
> from database). What I want to do is to read only the data 
> needed for a branch of tree that is populated at the moment.
> So I need kind of dynamic tree intead of static one. I'm not 
> sure if CFTree delivers such a functionality? As far as I 
> know it doesn't. Perhaps You know the solution? If not using 
> CFTree then maybe using other tree control? It's really 
> importand for me.

Unfortunately, CFTREE won't be able to do this. The way that CFTREE works is
that CF writes the data used by the tree to the page as a parameter to the
Java applet which gets instantiated on the client.

What you need is an applet that can receive data from somewhere other than
the page which creates it. If, for example, you find a tree that's
scriptable using JavaScript, you could build an interface which receives
chunks of data using a hidden frame or MS Remote Scripting, and passes those
chunks of data to the tree using JavaScript. Or, you could just build your
own using DHTML or modify existing DHTML tree scripts.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

------_=_NextPart_001_01C04A98.7BF5EFE0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: CFTree on runtime population...</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Or he could use the tag I sent him.&nbsp; I had a =
similar scenario where i needed a tree object populated with data from =
a db, but didn't want to have to wait forever for the page to be =
built.&nbsp; What I did was make a custom tree tag that shows all of =
the nodes right away, and then when the node is clicked, the page is =
refreshed - runs the query specific to that node, then builds the =
branchs our of the results list.&nbsp; I sent a copy to Adam and will =
gladly send it to anybody else who is interested in checking it =
out.</FONT></P>

<P><FONT SIZE=3D2>Eric in Atlanta</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Dave Watts [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT>=

<BR><FONT SIZE=3D2>Sent: Thursday, November 09, 2000 2:44 PM</FONT>
<BR><FONT SIZE=3D2>To: CF-Talk</FONT>
<BR><FONT SIZE=3D2>Cc: '[EMAIL PROTECTED]'</FONT>
<BR><FONT SIZE=3D2>Subject: RE: CFTree on runtime population...</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; Hello, I'm populating CFTree with data from a =
huge database. </FONT>
<BR><FONT SIZE=3D2>&gt; My problem is that I don't want to do it all at =
once, just </FONT>
<BR><FONT SIZE=3D2>&gt; because it takes too much time (I have to read =
all the data </FONT>
<BR><FONT SIZE=3D2>&gt; from database). What I want to do is to read =
only the data </FONT>
<BR><FONT SIZE=3D2>&gt; needed for a branch of tree that is populated =
at the moment.</FONT>
<BR><FONT SIZE=3D2>&gt; So I need kind of dynamic tree intead of static =
one. I'm not </FONT>
<BR><FONT SIZE=3D2>&gt; sure if CFTree delivers such a functionality? =
As far as I </FONT>
<BR><FONT SIZE=3D2>&gt; know it doesn't. Perhaps You know the solution? =
If not using </FONT>
<BR><FONT SIZE=3D2>&gt; CFTree then maybe using other tree control? =
It's really </FONT>
<BR><FONT SIZE=3D2>&gt; importand for me.</FONT>
</P>

<P><FONT SIZE=3D2>Unfortunately, CFTREE won't be able to do this. The =
way that CFTREE works is</FONT>
<BR><FONT SIZE=3D2>that CF writes the data used by the tree to the page =
as a parameter to the</FONT>
<BR><FONT SIZE=3D2>Java applet which gets instantiated on the =
client.</FONT>
</P>

<P><FONT SIZE=3D2>What you need is an applet that can receive data from =
somewhere other than</FONT>
<BR><FONT SIZE=3D2>the page which creates it. If, for example, you find =
a tree that's</FONT>
<BR><FONT SIZE=3D2>scriptable using JavaScript, you could build an =
interface which receives</FONT>
<BR><FONT SIZE=3D2>chunks of data using a hidden frame or MS Remote =
Scripting, and passes those</FONT>
<BR><FONT SIZE=3D2>chunks of data to the tree using JavaScript. Or, you =
could just build your</FONT>
<BR><FONT SIZE=3D2>own using DHTML or modify existing DHTML tree =
scripts.</FONT>
</P>

<P><FONT SIZE=3D2>Dave Watts, CTO, Fig Leaf Software</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://www.figleaf.com/" =
TARGET=3D"_blank">http://www.figleaf.com/</A></FONT>
<BR><FONT SIZE=3D2>voice: (202) 797-5496</FONT>
<BR><FONT SIZE=3D2>fax: (202) 797-5444</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------------------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.mail-archive.com/cf-talk@houseoffusion.com/" =
TARGET=3D"_blank">http://www.mail-archive.com/cf-talk@houseoffusion.com/=
</A></FONT>
<BR><FONT SIZE=3D2>Unsubscribe: <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
</A> or send a message with 'unsubscribe' in the body to =
[EMAIL PROTECTED]</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C04A98.7BF5EFE0--
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to