My personal preference would be out of Struts - unless, the plugins
within Struts2 can have independent life cycles (which at the moment
doesn't seem to be the case). And, once again, this is biased on the
implementation of the ww2 tags where the dojo API was rapidly changing
:) If the dojo API has settled to a point where s2 can be one or two
point release behind the most recent, or user can easily swap out the s2
dojo scripts for the most recent dojo scripts and have the plugin
functionality work, I would be okay with the dojo plugin staying in the
struts2 core as a plugin.
Musachy, - what is the percentage of code that has changed between 2.0.x
and 2.1.x as far as the Ajax tags implementation goes?
/Ian
Musachy Barroso wrote:
do you mean to move the plugin out of Struts? Because Dojo is already
on its own plugin in trunk.
musachy
On 8/18/07, James Holmes <[EMAIL PROTECTED]> wrote:
+1 on moving Dojo out of the core to a plugin.
-----Original Message-----
From: Ian Roughley [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 18, 2007 1:34 PM
To: Struts Developers List
Subject: Re: Ajax Theme
So let me ask this - what is the percentage of code that has changed
between 2.0.x and 2.1.x as far as the Ajax tags go?
To answer Ted's questions, my feeling to is move them out the core and
into a plugin. There have been quiet a few headaches with dojo upgrades
during the initial ww2 implementation. If nothing else, it would allow
the dojo and s2 release schedules to proceed independently (i.e. s2
users would not be forced to use an old version of dojo until the new s2
release, because of a dojo API change).
/Ian
Musachy Barroso wrote:
On 2.1 ajax validation will be provided by Dojo by default, but other
libraries can be used easily, (with prototype example):
http://struts.apache.org/2.x/docs/ajax-validation.html
musachy
On 8/17/07, Ted Husted <[EMAIL PROTECTED]> wrote:
I haven't dived into this part of the source code, but I've beent
taking "The ajax validation depends on DWR" to mean that we use DWR to
call the usual server-side validators from client-side ajax code. Is
that correct?
Is the use of DWR changing from 2.0.x to 2.1.x?
Does the YUI Ajax plugin support validation?
Has anyone tried the YUI plugin against the head?
(And just to make our question day complete:)
Do we want to bundle the Dojo plugin with Struts 2.1.x, or do we want
to consider moving it to a Google Code site (perhpas with YUI), while
it is still "experimental":
-Ted.
On 8/15/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
The ajax validation depends on DWR
musachy
On 8/15/07, Ian Roughley <[EMAIL PROTECTED]> wrote:
Is the ajax theme in the 2.0.x branch completely Dojo driven now? If
so, there seems to be a lot of DWR code that could be removed (i.e.
from
the web.xml and form.ftl). I can open a ticket if this is the case.
/Ian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
HTH, Ted <http://www.husted.com/ted/blog/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]