Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 46003 invoked from network); 22 Jul 2008 02:27:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 02:27:55 -0000 Received: (qmail 82672 invoked by uid 500); 22 Jul 2008 02:27:53 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 82652 invoked by uid 500); 22 Jul 2008 02:27:53 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 82641 invoked by uid 99); 22 Jul 2008 02:27:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 19:27:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [220.233.0.58] (HELO conker.exetel.com.au) (220.233.0.58) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 02:26:58 +0000 Received: from [220.233.11.162] (helo=[192.168.1.150]) by conker.exetel.com.au with esmtpa (Exim 4.68) (envelope-from ) id 1KL7Xt-0006aI-3O for dev@struts.apache.org; Tue, 22 Jul 2008 12:24:09 +1000 Message-ID: <488544CB.7040102@blueskyminds.com.au> Date: Tue, 22 Jul 2008 12:24:11 +1000 From: Jeromy Evans Organization: Blue Sky Minds Pty Ltd User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Struts Developers List Subject: Re: [PROPOSAL] Deprecate or remove Dojo plugin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Musachy Barroso wrote: > With all the problems/questions and time that the ajax tags have > caused, and not having any takers on porting to the latest Dojo > release. I would propose to deprecate, or even remove the Dojo plugin, > or at least let users know that we will not be upgrading to a newer > Dojo version anytime soon. I still like the idea of some *very* basic > tags to cover the most simple use cases, but I think Dojo was not the > right tool for the job. > > This is a BIG call. Although I share the sentiment, the ajax tags are an often-stated "great feature" of S2. At least, that's what users comment until they need to do something sophisticated with the underlying library. I suggest an approach which is consistent with the above, should be in line with your thoughts Musachy and may even make Martin C happy: There are some core tags that must be provided/maintained by S2: - remote div - async submit of a form, targetting a div - async get (anchor tag), targetting a div We'd still supply those as tags as a minimum in say an "ajax plugin". Rather than bundle ajax libraries with S2, we would only bundle a few templates for integration of those tags with common libraries. We use the existing theme's for this: eg. The templates implement the markup or inline javascript for a default/reference implementation. The template for the s:head tag would include the default scripts to setup the library. will setup the bundled Dojo during the deprecated period will include jquery dependencies from a default/overridden location (supplied by user). The s:head tag would be optional, but the user will be responsible for ensuring the library is available. Library-specific extensions for the tags would be specified via dynamic attributes only. All other dojo widget tags would be deprecated (tabbedPanel, autocompleter). NOTE: Ajax validation and client-side validation also deserve some discussion later. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org