wood burning stoves 2.0*
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


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.


 
GeeCON Prague 2014
 
subject: Manual Folder tree creation script issue->please suggest