• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Implementing Dojo

 
Ranch Hand
Posts: 137
Hibernate Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have downloaded latest Dojo1.4, Adding to the classpath, am not able to run the below simple html code. It displays a non dojo combo box

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Putting Dojo on the classpath doesn't make any sense--classpath is a Java thing, Dojo is JavaScript.

I don't see any Dojo initialization code there; I don't know that Dojo would start up automatically without any code.

Did you follow the Dojo examples?
 
Sidharth Pallai
Ranch Hand
Posts: 137
Hibernate Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you David, i have added the loading of dojo.xd.js as below and it worked fine, but i have a query...


I download the dojo.xd.js file separately. I did not find in dojo 1.4 package download. Is there any such similar file in dojo1.4 ?

I have one more doubt, that while creating a Dojo tree, is there any mechanism to perform some operation or show some value in a content pane based on the selected node of the tree.
 
Sidharth Pallai
Ranch Hand
Posts: 137
Hibernate Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Given a Dojo Tree created as below, how to check whether a particular item fetched is root or not.

 
reply
    Bookmark Topic Watch Topic
  • New Topic