This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Switching the underlaying Ajax framework in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Switching the underlaying Ajax framework in Struts2" Watch "Switching the underlaying Ajax framework in Struts2" New topic
Author

Switching the underlaying Ajax framework in Struts2

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

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

Joined: Apr 22, 2008
Posts: 25
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Switching the underlaying Ajax framework in Struts2
 
Similar Threads
How to "enable/disable" radio button in struts2 on click of check box
why to use struts2.x
Spring and DOJO
install ajax toolkit framework in RAD7 fr
AJAX with Struts