Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Switching the underlaying Ajax framework in Struts2

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
WebWork2 employs Dojo toolkit as the underlaying Ajax framework.
What about Struts2? does it use Dojo too?
Is it possible to switch to another Ajax toolkit (jQuery for example)?
Thanks.
 
Don Brown
author
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Struts 2 provides AJAX tags that use Dojo under the covers. However, there is nothing stopping you from using any other Javascript framework - just don't use the Struts 2 AJAX tags. In fact, Struts 2 users have developed plugins to provide extra integration with other Javascript libraries such as the YUI plugin: http://cwiki.apache.org/S2PLUGINS/yui-plugin.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic