• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dojo plugin deprecated on Struts 2.1: why ?

 
Ranch Hand
Posts: 563
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic