This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Dojo plugin deprecated on Struts 2.1: why ?

 
Ranch Hand
Posts: 560
Google Web Toolkit Eclipse IDE 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
 
Author
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.)
 
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.
 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!