Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Tree using DOJO - good pointer

 
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any good pointer on creating a Tree using DOJO?

Requirements are:
1) Build tree dynamically based on the values obtained from Java bean.
2) Resturcture nodes of tree - e.g., mode a node up or down.
3) Save the re-structured tree.
 
Marshal
Posts: 67451
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dojo is a JavaScript toolkit. Are you having problems using Dojo on the page? Or just setting up the page in the first place?
 
Sam Gehouse
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Sam Gehouse:
Any good pointer on creating a Tree using DOJO?

Requirements are:
1) Build tree dynamically based on the values obtained from Java bean.
2) Resturcture nodes of tree - e.g., mode a node up or down.
3) Save the re-structured tree.



I wanted to get some sample code that would dynamically create tree, expand/collapse it, can be altered. I wanted to get a sample code available via web that uses DOJO tree widget. I looked at:

http://willcode4beer.com/ware.jsp?set=dojoTreeWidget&gclid=CLn_7PHKpY0CFShUgQodAgZ4uA

But i got lost. I was not sure which line to include and which line to exclude to have a working prototype.

Any help with source code will be greatly appreciated.

Regards,
Sam G
sgho@aol.com
 
I was born with webbed fish toes. This tiny ad is my only friend:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic