File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Manual Folder tree creation script issue->please suggest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Manual Folder tree creation script issue->please suggest" Watch "Manual Folder tree creation script issue->please suggest" New topic
Author

Manual Folder tree creation script issue->please suggest

Foni kumar
Ranch Hand

Joined: Sep 19, 2007
Posts: 66
Hi Experts,

I am a new user of dojo toolkit 1.9 version, I want to implement an option in my folder tree structure which can facilitate me to right click on any folder in that tree and create a new folder under it manually. Any sample code or snippet to perform this operation will be helpful in this context.

SEQUENCE OF OPERATIONS:

Folder (TREE) ---> Click on any Folder ---> prompts a message ("Enter a folder name say Folder 1 in this case)--> user enters folder name manually and it is added to the folder structure

Here is the section of dojo code where I am trying to implement a feature which will prompt a message to" Enter a folder name" on double click of folder but it is not working not sure where I am going wrong. I am going wrong somewhere in this script because of which the invoke of double click isn't working. Can someone suggest me the code I need to change here?

Is it something I am doing incorrect with reference to the sequence of the script? Can someone please take a look at the below code and suggest.


 
Don't get me started about those stupid light bulbs.
 
subject: Manual Folder tree creation script issue->please suggest
 
Similar Threads
JSP body class placement issue causing problem in result html
Dojo - folder creation
DOJO -calendar
DOJO Tree using 0.4