You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Husted <hu...@apache.org> on 2007/11/20 23:07:21 UTC
Re: jQuery plugin for Struts 2?
On Nov 20, 2007 1:53 PM, <name withheld> wrote:
> I've been working with Struts 2 for a few months and have some questions that I was hoping you would be interested in discussing with me.
>
> I see that Struts 2 uses Dojo for it's Ajax capabilities. I prefer jQuery and have contemplated
> making a jQuery plugin for Struts 2, to use instead of Dojo. I'd also like to utilize JSON as
> the interchange for my Ajax transactions.
>
> I checked out your presentation about the YUI plugin...which is why I'm sending this
> question to you. What all is required to create a plugin? Do you think it is worth the time and
> effort to create a jQuery plugin? Or, do you think that I'd be better off just using the Dojo for
> the core stuff and then using jQuery on top of that?
>
> I'm just trying to get a feel for what all is involved and if it would be something useful. I know
> you are a very busy person and I appreciate any input you'd be willing to give.
>
> Regards,
The Ajax plugin approach is useful when someone wants to keep Ajax at
arms-length and let a magical taglib handle the JavaScript vodoo. But,
a plugin is NOT required to use Ajax with Struts 2!
Struts 2 works just fine with plain Ajax library out-of-the-box. We
updated the Ajax page recently to help make this point more clear.
* http://struts.apache.org/2.x/docs/ajax.html
The bottom line is that if you're savvy enough to even have a Ajax
preference, then you probably want to just use JQuery and Struts
without the "training wheels".
-Ted.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: jQuery plugin for Struts 2?
Posted by "matt.payne" <ma...@gmail.com>.
He Dave,
Thanks for the response.
Do to the performance penalty, with struts 2.0.x, I just would like to not
touch dojo again.
Off the bat, I was curious if client side validation could benefit from
writing out jquery validation rules
http://bassistance.de/2008/01/30/jquery-validation-plugin-overview/
You mentioned "writing the bulk of our JavaScript by hand", so a lot of the
ajax/validation calls do not involve dojo?
I'd be interested in chipping in a little if you would like.
Matt
newton.dave wrote:
>
> --- "matt.payne" <ma...@gmail.com> wrote:
>> +1 here.
>>
>> Highly looking forward to using this over current Dojo plugin.
>> Any progress being made?
>
> Not really; I'm completely overwhelmed by my TODO list at the moment.
>
> It's over at GoogleCode and I'm happy to bring people on board. There's a
> working example of <sq:a.../> which will update a <div...>.
>
> http://code.google.com/p/s2jquery
>
> We ended up writing the bulk of our JavaScript by hand, so my input kinda
> petered out. I'm scheduling it for a minimum of four hrs/week moving
> forward,
> so probably a bit more will be done, including a small pamphlet
> documenting
> the process.
>
> If there are specific tags you'd like to see or specific functionality
> file
> improvements etc. and I'll try to prioritize them as best as I can, with
> the
> caveat that if I'm the only one working on it the priorities will look...
> very suspiciously like mine.
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Re%3A-jQuery-plugin-for-Struts-2--tp13866994p15474320.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: jQuery plugin for Struts 2?
Posted by Dave Newton <ne...@yahoo.com>.
--- "matt.payne" <ma...@gmail.com> wrote:
> +1 here.
>
> Highly looking forward to using this over current Dojo plugin.
> Any progress being made?
Not really; I'm completely overwhelmed by my TODO list at the moment.
It's over at GoogleCode and I'm happy to bring people on board. There's a
working example of <sq:a.../> which will update a <div...>.
http://code.google.com/p/s2jquery
We ended up writing the bulk of our JavaScript by hand, so my input kinda
petered out. I'm scheduling it for a minimum of four hrs/week moving forward,
so probably a bit more will be done, including a small pamphlet documenting
the process.
If there are specific tags you'd like to see or specific functionality file
improvements etc. and I'll try to prioritize them as best as I can, with the
caveat that if I'm the only one working on it the priorities will look...
very suspiciously like mine.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: jQuery plugin for Struts 2?
Posted by "matt.payne" <ma...@gmail.com>.
+1 here.
Highly looking forward to using this over current Dojo plugin.
Any progress being made?
Matt
nuwan chandrasoma-2 wrote:
>
> i would like to see one :)
>
> emartin24 wrote:
>> Ted Husted wrote:
>>
>>> On Nov 20, 2007 1:53 PM, <name withheld> wrote:
>>>
>>>> I've been working with Struts 2 for a few months and have some
>>>> questions
>>>> that I was hoping you would be interested in discussing with me.
>>>>
>>>> I see that Struts 2 uses Dojo for it's Ajax capabilities. I prefer
>>>> jQuery
>>>> and have contemplated
>>>> making a jQuery plugin for Struts 2, to use instead of Dojo. I'd also
>>>> like to utilize JSON as
>>>> the interchange for my Ajax transactions.
>>>>
>>>> I checked out your presentation about the YUI plugin...which is why I'm
>>>> sending this
>>>> question to you. What all is required to create a plugin? Do you think
>>>> it
>>>> is worth the time and
>>>> effort to create a jQuery plugin? Or, do you think that I'd be better
>>>> off just using the Dojo for
>>>> the core stuff and then using jQuery on top of that?
>>>>
>>>> I'm just trying to get a feel for what all is involved and if it would
>>>> be
>>>> something useful. I know
>>>> you are a very busy person and I appreciate any input you'd be willing
>>>> to
>>>> give.
>>>>
>>>> Regards,
>>>>
>>> The Ajax plugin approach is useful when someone wants to keep Ajax at
>>> arms-length and let a magical taglib handle the JavaScript vodoo. But,
>>> a plugin is NOT required to use Ajax with Struts 2!
>>>
>>> Struts 2 works just fine with plain Ajax library out-of-the-box. We
>>> updated the Ajax page recently to help make this point more clear.
>>>
>>> * http://struts.apache.org/2.x/docs/ajax.html
>>>
>>> The bottom line is that if you're savvy enough to even have a Ajax
>>> preference, then you probably want to just use JQuery and Struts
>>> without the "training wheels".
>>>
>>> -Ted.
>>>
>>>
>>
>> Thanks Ted.
>>
>> Anyone else out there interested in a jQuery plugin? =) If so, I'd love
>> to
>> hear from you!
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Re%3A-jQuery-plugin-for-Struts-2--tp13866994p15306754.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: jQuery plugin for Struts 2?
Posted by Nuwan Chandrasoma <my...@gmail.com>.
i would like to see one :)
emartin24 wrote:
> Ted Husted wrote:
>
>> On Nov 20, 2007 1:53 PM, <name withheld> wrote:
>>
>>> I've been working with Struts 2 for a few months and have some questions
>>> that I was hoping you would be interested in discussing with me.
>>>
>>> I see that Struts 2 uses Dojo for it's Ajax capabilities. I prefer jQuery
>>> and have contemplated
>>> making a jQuery plugin for Struts 2, to use instead of Dojo. I'd also
>>> like to utilize JSON as
>>> the interchange for my Ajax transactions.
>>>
>>> I checked out your presentation about the YUI plugin...which is why I'm
>>> sending this
>>> question to you. What all is required to create a plugin? Do you think it
>>> is worth the time and
>>> effort to create a jQuery plugin? Or, do you think that I'd be better
>>> off just using the Dojo for
>>> the core stuff and then using jQuery on top of that?
>>>
>>> I'm just trying to get a feel for what all is involved and if it would be
>>> something useful. I know
>>> you are a very busy person and I appreciate any input you'd be willing to
>>> give.
>>>
>>> Regards,
>>>
>> The Ajax plugin approach is useful when someone wants to keep Ajax at
>> arms-length and let a magical taglib handle the JavaScript vodoo. But,
>> a plugin is NOT required to use Ajax with Struts 2!
>>
>> Struts 2 works just fine with plain Ajax library out-of-the-box. We
>> updated the Ajax page recently to help make this point more clear.
>>
>> * http://struts.apache.org/2.x/docs/ajax.html
>>
>> The bottom line is that if you're savvy enough to even have a Ajax
>> preference, then you probably want to just use JQuery and Struts
>> without the "training wheels".
>>
>> -Ted.
>>
>>
>
> Thanks Ted.
>
> Anyone else out there interested in a jQuery plugin? =) If so, I'd love to
> hear from you!
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: jQuery plugin for Struts 2?
Posted by emartin24 <er...@ericmmartin.com>.
Ted Husted wrote:
>
> On Nov 20, 2007 1:53 PM, <name withheld> wrote:
>> I've been working with Struts 2 for a few months and have some questions
>> that I was hoping you would be interested in discussing with me.
>>
>> I see that Struts 2 uses Dojo for it's Ajax capabilities. I prefer jQuery
>> and have contemplated
>> making a jQuery plugin for Struts 2, to use instead of Dojo. I'd also
>> like to utilize JSON as
>> the interchange for my Ajax transactions.
>>
>> I checked out your presentation about the YUI plugin...which is why I'm
>> sending this
>> question to you. What all is required to create a plugin? Do you think it
>> is worth the time and
>> effort to create a jQuery plugin? Or, do you think that I'd be better
>> off just using the Dojo for
>> the core stuff and then using jQuery on top of that?
>>
>> I'm just trying to get a feel for what all is involved and if it would be
>> something useful. I know
>> you are a very busy person and I appreciate any input you'd be willing to
>> give.
>>
>> Regards,
>
> The Ajax plugin approach is useful when someone wants to keep Ajax at
> arms-length and let a magical taglib handle the JavaScript vodoo. But,
> a plugin is NOT required to use Ajax with Struts 2!
>
> Struts 2 works just fine with plain Ajax library out-of-the-box. We
> updated the Ajax page recently to help make this point more clear.
>
> * http://struts.apache.org/2.x/docs/ajax.html
>
> The bottom line is that if you're savvy enough to even have a Ajax
> preference, then you probably want to just use JQuery and Struts
> without the "training wheels".
>
> -Ted.
>
Thanks Ted.
Anyone else out there interested in a jQuery plugin? =) If so, I'd love to
hear from you!
--
View this message in context: http://www.nabble.com/Re%3A-jQuery-plugin-for-Struts-2--tf4846722.html#a13870822
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: jQuery plugin for Struts 2?
Posted by Dave Newton <ne...@yahoo.com>.
FWIW, I'm working on a minimal jQuery plugin that
should be up on GoogleCode within a couple of weeks,
including some jQueryUI support.
d.
--- Ted Husted <hu...@apache.org> wrote:
> On Nov 20, 2007 1:53 PM, <name withheld> wrote:
> > I've been working with Struts 2 for a few months
> and have some questions that I was hoping you would
> be interested in discussing with me.
> >
> > I see that Struts 2 uses Dojo for it's Ajax
> capabilities. I prefer jQuery and have contemplated
> > making a jQuery plugin for Struts 2, to use
> instead of Dojo. I'd also like to utilize JSON as
> > the interchange for my Ajax transactions.
> >
> > I checked out your presentation about the YUI
> plugin...which is why I'm sending this
> > question to you. What all is required to create a
> plugin? Do you think it is worth the time and
> > effort to create a jQuery plugin? Or, do you
> think that I'd be better off just using the Dojo for
> > the core stuff and then using jQuery on top of
> that?
> >
> > I'm just trying to get a feel for what all is
> involved and if it would be something useful. I know
> > you are a very busy person and I appreciate any
> input you'd be willing to give.
> >
> > Regards,
>
> The Ajax plugin approach is useful when someone
> wants to keep Ajax at
> arms-length and let a magical taglib handle the
> JavaScript vodoo. But,
> a plugin is NOT required to use Ajax with Struts 2!
>
> Struts 2 works just fine with plain Ajax library
> out-of-the-box. We
> updated the Ajax page recently to help make this
> point more clear.
>
> * http://struts.apache.org/2.x/docs/ajax.html
>
> The bottom line is that if you're savvy enough to
> even have a Ajax
> preference, then you probably want to just use
> JQuery and Struts
> without the "training wheels".
>
> -Ted.
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org