This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dojo plugin deprecated on Struts 2.1: why ?

 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I just read that the Dojo plugin will be deprecated on Struts 2.1

http://struts.apache.org/2.1.6/docs/ajax-tags.html
http://www.nabble.com/-PROPOSAL--Deprecate-or-remove-Dojo-plugin-td18573704.html

I have two main questions about that :
1) What is the reason ? Is it because it is slow ?
2) Will it be replaced by another Javascript library ?

Please let us know.
Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's being deprecated because it's a very old version of Dojo, nobody stepped up to create tags based on the new version, and maintenance and user support was a nightmare.

There's a jQuery plugin in the sandbox, but it will be less full-featured than the Dojo plugin. The bulk of S2 committers ended up believing that only the simplest of use cases are easily handled with a tag-based solution. It was felt that it's better for developers to use the underlying library directly, especially because all but the most trivial of use-cases required custom JavaScript anyway.

Trying to capture everybody's needs in a single library with manageable tags didn't work out well.

(These are just my opinions, I'm not speaking as a Struts committer here--the actual discussion covered most of these points, but I don't know what everybody else's reasons were.)
 
Sam Tsang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey you can use any library you like. I don't use Dojo, instead I use AjaxPartsTaglib. I always disable the "ajax" theme. I don't see any advantage using this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic