Hi Eric, I am looking for an example of Ajax Tree menu. do you have one already?
Joined: Nov 08, 2001
You want it to make a request to fill in the child nodes, load tree from XML?
I personally do not know of any off the top of my head, but depending on what you want, I might be able to convert my on tree script over to an Ajax one.
Joined: Dec 16, 2004
As a matter of fact I just realized that I don't really need Ajax for my requirement. however surely I need to build tree using some magic script on the fly.
Currently I use struts-menu(internally uses Java script but have nice java classes for developer so easy to build) to build tree menu from the database. you can edit, add node values. I update original tree object into session until user clicks final done button to save changes to database. Now I have to enhance my tree to distinguish original nodes (came with first call to db to load tree) from newly added nodes(which are in session and not in db yet) with different colors or something similar.
Any ideas? if not struts menu then do you have any other simple alternative for developing fancy looking, light weight tree.