What structure is your table?  Does it include the parent within the same
table or are you using relational tables?

Also, you might want to check to make sure you can set up links if your
using this for frameless navigation.  You need to capture the data using
javascript and it's not entirely documented. (hint hint joe)  I had limited
success with it using document.location, document(replace) and so forth.
For some reson the treeimages and text would function separately. I switched
to the tree at www.treeview.net (remembers state very nicely).  Joes is  a
beautiful tag and fast as all get out, I just couldn't get it to work for
navigation. 

If your interested in that, email me and I'll send you the code for
treeview.

-e


-----Original Message-----
From: Coleman, Brian [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 1:24 PM
To: CF-Talk
Subject: dynamic jTree from jComponents

I have a question that I'm not sure how to phrase, regarding using jTree
from jComponents (if anyone's got some experience on using it) from
http://clearsoftware.net/client/jComponents.cfm
 
The basic layout of the jTree stuff is something like this....
 
<cf_jcomponentSkin>                                                     
<cf_jTree height="200">
<cf_jTreeNode label="node1">
                        <cf_jTreeLink label="link">
                        <cf_jTreeLink label="link2">
                        <cf_jTreeLink label="link3">
                        <cf_jTreeNode label="node2">
                                    <cf_jTreeLink label="link1">
                                    <cf_jTreeNode label="node3">
                                                <cf_JTreeLink
label="link1">
                                                <cf_jTreeLink
label="link2">
                                                <cf_jTreeLink
label="link3">
                                                <cf_jTreeLink
label="link4">
                                    </cf_jTreeNode>
                                    <cf_jTreeNode label="node4">
                                                <cf_JTreeLink
label="link1">
                                                <cf_jTreeLink
label="link2">
                                    </cf_jTreeNode>
                        </cf_jTreeNode>                        
</cf_jTreeNode>
</cf_jTree>
 
my problem is when I try to make this interact with a database, I can't
wrap my head around how to make it build nodes and closing nodes, where
some might be nested inside others, etc.
does anyone have any sample code for this?
 
Thanks,
Brian




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184634
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to