This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes To Eric Pascarello Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "To Eric Pascarello" Watch "To Eric Pascarello" New topic
Author

To Eric Pascarello

Vicky Pandya
Ranch Hand

Joined: Dec 16, 2004
Posts: 148
Hi Eric, I am looking for an example of Ajax Tree menu. do you have one already?

thanks,
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
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.

Eric
Vicky Pandya
Ranch Hand

Joined: Dec 16, 2004
Posts: 148
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.

thanks,
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: To Eric Pascarello
 
Similar Threads
Eric Pascarello: member leech!
How To add a 'class'(of css file) dynamically through javascript
Ajax AutoComplete
Passed with 145/155, thank you all!
pls help me in my interview