This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

s:tree and DOJO

 
Faraz Ali
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I setup an example struts2 application in which i tried to run the simple <s:tree> example. But its not even rendering it. In view source, i saw that it is creating some DOJO scripts. Can you guys tell me how to run this example with DOJO? From where to download DOJO kit which is compatible with struts2?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't say which version of Struts 2 you're using; that's important to know. Dojo is, however, included in S2.0 core, and as a plugin in S2.1. There's a known issue with 2.0.12 (IIRC, check the mailing list or JIRA to be sure) that causes a Dojo issue, but I don't remember for sure which version.
 
Faraz Ali
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using struts-2.0.11.2.

Also please tell me if DOJO is really required to create s:tree and other such tags? if yes, than please tell me how to add DOJO in my project.

Thank you very much.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Dojo is required to use the Dojo-based tags. As I said--Dojo is already included in the Struts core jar.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic