Tree Structure

Pls,can anyone help me in constructing a tree view in jsp.User can make changes like drag and drop the nodes in a tree and has to save the changes..Please help i's urgent.SS
[202 byte] By [869790Sabi@Suna] at [2007-11-26 12:19:14]
# 1

Oh, I see, your last two attempts at begging someone to do your work for you didn't pan out quick enough? So are you going to spam the forums until someone gives you what you want?

1) The tree view was answered in the thread you first posted to. Read the responses and look at the links.

2) Google for drag and drop in javascript/DHTML. There are examples available, but I won't post them. I think you have to do some work yourself.

282956stevejlukea at 2007-7-7 14:59:59 > top of Java-index,Archived Forums,Socket Programming...
# 2
Hey,I am not begging someone to do my work. I think I can ask for ideas in forums.I am new to forums and doesn't know the concept of duke points, so was just trying around.Anyways Thanks for your reply.
869790Sabi@Suna at 2007-7-7 15:00:00 > top of Java-index,Archived Forums,Socket Programming...
# 3

> Hey,

>

> I am not begging someone to do my work. I think I

> can ask for ideas in forums.

I usually don't assume people are begging, but the three posts in short succession are anoying - like spam.

>

> I am new to forums and doesn't know the concept of

> duke points, so was just trying around.

>

> Anyways Thanks for your reply.

Even though my response was harsh (no apologies, I hate spamming) there were useful points. I hope you follow them. the forums are better used to addressing specific questions (this code isn't working, why? and this is what I have, what do I need to do the next thing?) as opposed to posting specs and waiting for response (tell me how to do X Y and Z). Do some research, show that you put effort, and ask specific questions.

282956stevejlukea at 2007-7-7 15:00:00 > top of Java-index,Archived Forums,Socket Programming...
# 4
How can you assume that i have not done anything.I was able create a tree ,drag an item but was not sure how to drop it under another tree node and save everythingi was trying to get someother views in regard to drag drop
869790Sabi@Suna at 2007-7-7 15:00:00 > top of Java-index,Archived Forums,Socket Programming...
# 5

> How can you assume that i have not done anything.

Because you had posted this same question 3 times, once in a thread with code in it, without any indication that you had done anything. And because I was going off of previous users who follow the same pattern and want the work done for them.

If it doesn't fit your situation, fine, but again, I did provide some helpful hints if you wanted to use them.

> I

> was able create a tree ,drag an item but was not sure

> how to drop it under another tree node and save

> everything

That is a more specific question. You are obviously using javascript to handle the dragging, correct? And storing the element being dragged in a js variable? When you 'drop' you are actually releasing the mouse button, which sends a 'mouseUp button on the element where you drop the object. So listen for a mouseup event on your elements and then add the element as a child to the dropped-to element.

>

> i was trying to get someother views in regard to drag

> drop

282956stevejlukea at 2007-7-7 15:00:00 > top of Java-index,Archived Forums,Socket Programming...