Re: Dynamic JS tree with AJAX
There's no rush - it turns out they like the crappy nested UL tree, as long as I take out the child node bullets with CSS (which is easy) since they just want the indenting. However I think it's a worthwhile enhacement to your tree, which does everything else I was after when I thought I needed it. On 6/20/05, Micha Schopman <[EMAIL PROTECTED]> wrote: > James, > > Looking for it, it was already on the todo list so (webparts in nodes). ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209966 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
RE: Dynamic JS tree with AJAX
James, Looking for it, it was already on the todo list so (webparts in nodes). Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: maandag 20 juni 2005 8:50 To: CF-Talk Subject: Re: Dynamic JS tree with AJAX Ah, it almost does what I am after. It doesn't handle multi-line labels for the nodes (e.g. with a in the middle), something that is probably necessary for the work I'm doing. > > On 6/20/05, Micha Schopman <[EMAIL PROTECTED]> wrote: > > I have created one, and you're free to use it. > > http://www.mschopman.demon.nl/treeview_v1.6.2/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209965 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
Re: Dynamic JS tree with AJAX
Ah, it almost does what I am after. It doesn't handle multi-line labels for the nodes (e.g. with a in the middle), something that is probably necessary for the work I'm doing. > > On 6/20/05, Micha Schopman <[EMAIL PROTECTED]> wrote: > > I have created one, and you're free to use it. > > http://www.mschopman.demon.nl/treeview_v1.6.2/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209963 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dynamic JS tree with AJAX
I was hoping you would respond. I'll look at this and see what I can do. The AJAX bits I've developed for my cruddy unordered list tree should be reusable for this too. On 6/20/05, Micha Schopman <[EMAIL PROTECTED]> wrote: > I have created one, and you're free to use it. > http://www.mschopman.demon.nl/treeview_v1.6.2/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209962 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
RE: Dynamic JS tree with AJAX
I have created one, and you're free to use it. http://www.mschopman.demon.nl/treeview_v1.6.2/ I haven't got the time to write extensive documentation, but an older version has some example calls shown. If you miss any calls they can be added easily because it is OO JS. http://www.mschopman.demon.nl/treeview_v1.6/treeview.html Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: zondag 19 juni 2005 16:44 To: CF-Talk Subject: Re: Dynamic JS tree with AJAX OK, I've been investigating this for a while and the major stumbling block is finding a JS tree control that allows branches to be inserted at runtime; everything I've found so far requires the whole tree to be defined in some way before the actual tree content is generated. Does anyone know of a JS tree that has an API for inserting branches at runtime (e.g. from a remoting request via AJAX)? -- Geeque - accept the geek within and get your friends off your back - http://www.cafepress.com/geeque/ ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209961 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
Re: Dynamic JS tree with AJAX
Ah, cheers. I'll go mining through the FarCry code after I get the current bit done. I'm up to being able to build a nested unordered tree using CFAJAX and I'll probably just deliver that for now (since I'm also working for free, as in "find the simplest way to do it"). On 6/20/05, Barney Boisvert <[EMAIL PROTECTED]> wrote: > Also, I believe that FarCry has something like this in there. Not > sure how it works, but I seem to recall a dynamically expanding tree. > It's all free (as in speech and beer), so you could well hijack code > from there, and maybe get both pieces (the DHTML and the JS Remoting) > and have them already integrated as well. -- Geeque - accept the geek within and get your friends off your back - http://www.cafepress.com/geeque/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209960 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
Re: Dynamic JS tree with AJAX
I've done exactly as you propose. Wrote my own tree viewing library though. It's not very hard to do, each element has a "thing" for the actual item, and then another "thing" for child items. At they're simplest, the "things" would just be DIVs, but you'll probably end up with a DIV containing two DIVs (for the item and children), and then an A for the item as well. But who knows. You just set up some data structures that keep track of what items have undergone a child check, and if they haven't render an "expand me" icon. When clicked, it should request children from the server, and then render them into the "thing" for the item's children. That way you don't have to completely rerender every update. Also, I believe that FarCry has something like this in there. Not sure how it works, but I seem to recall a dynamically expanding tree. It's all free (as in speech and beer), so you could well hijack code from there, and maybe get both pieces (the DHTML and the JS Remoting) and have them already integrated as well. cheers, barneyb On 6/19/05, James Holmes <[EMAIL PROTECTED]> wrote: > OK, I've been investigating this for a while and the major stumbling > block is finding a JS tree control that allows branches to be inserted > at runtime; everything I've found so far requires the whole tree to be > defined in some way before the actual tree content is generated. > > Does anyone know of a JS tree that has an API for inserting branches > at runtime (e.g. from a remoting request via AJAX)? > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209959 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dynamic JS tree with AJAX
OK, I've been investigating this for a while and the major stumbling block is finding a JS tree control that allows branches to be inserted at runtime; everything I've found so far requires the whole tree to be defined in some way before the actual tree content is generated. Does anyone know of a JS tree that has an API for inserting branches at runtime (e.g. from a remoting request via AJAX)? -- Geeque - accept the geek within and get your friends off your back - http://www.cafepress.com/geeque/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209947 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
Re: Dynamic JS tree with AJAX
Damn typos. It's actually Neuromancer, Rob Rohan's work http://www.robrohan.com/projects/neuromancer/ On 6/18/05, Dan O'Keefe <[EMAIL PROTECTED]> wrote: > What is Neromancer? ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209909 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dynamic JS tree with AJAX
What is Neromancer? Dan On 6/18/05, James Holmes <[EMAIL PROTECTED]> wrote: > I am going to build a javascript tree that displays data from a DB, > but I want each tree expansion to be dynamically build from a query to > the DB. I'm thinking of combining Treeview (http://www.treeview.net/) > or an equivalent with CFAJAX or Neromancer. > > Does anyone have any other ideas or some advice? > > -- > Geeque - accept the geek within and get your friends off your back - > http://www.cafepress.com/geeque/ > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209908 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54