When you say "Just use Dojo" do you mean to drop Struts 2, or to just use Dojo 
in the JSPs that I create for Struts 2?
 

--- On Thu, 12/2/10, Dave Newton <davelnew...@gmail.com> wrote:

From: Dave Newton <davelnew...@gmail.com>
Subject: Re: Using Dojo with Struts 2
To: "Struts Users Mailing List" <user@struts.apache.org>
Date: Thursday, December 2, 2010, 6:21 PM

On Thu, Dec 2, 2010 at 7:47 PM, Dean Schulze wrote:

> How do I use Dojo with Struts 2?


Just use Dojo.


> Struts 2.2.1 has a Dojo plugin with it, but I've heard several people say
> not to use the plugin.  No one says what the problem is, however.
>

Antiquated version of Dojo (0.4.3). More difficult than practical to
customize tag-based Dojo: personally, I'd rather just write pure
JavaScript-based Dojo--I'm pretty good with JavaScript, and can fit the
pieces together more smoothly.


> What is the Dojo plugin?  Is it based on an old version of Dojo?  Why does
> it have such a bad reputation?
>

It's a layer between Dojo and S2, with a bunch of JavaScript abstracted away
in a JSP tag library. Yes. Because of the version of Dojo, because of the
complexity of customization (that may just be my opinion, by the way),
because of the daunting complexity of rewriting the plugin for the newer
version of Dojo (lots of changes; would have been easier to start over, and
nobody signed up to tackle that), because of the maintenance challenges.
There are probably a few other reasons.

I'd appreciate any pointers on how to use Dojo with Struts 2.
>

Just use Dojo--it's framework-neutral.

Dave



      

Reply via email to