aspose file tools*
The moose likes Struts and the fly likes s:tree and DOJO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "s:tree and DOJO" Watch "s:tree and DOJO" New topic
Author

s:tree and DOJO

Faraz Ali
Ranch Hand

Joined: May 15, 2008
Posts: 108
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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: May 15, 2008
Posts: 108
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

Joined: Sep 29, 2008
Posts: 12617

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
 
subject: s:tree and DOJO