There should be a rule:

"If you can't write it by hand, then you shouldn't use a tag to automate
it."

This goes triple for Javascript.  Once things start emitting Javascript, if
you don't know what they are doing and why, you are headed for trouble.  
Look at the Dojo questions in the mailing list for a good example of this
phenomena. 



Hemal Shah-2 wrote:
> 
> Thanks Wes and Dave for your inputs.
> 
> I will try plugin from sandbox.
> I would love to contribute once my current work load comes back to normal.
> When I am ready to help out what's best way to get in touch with you ?
> By sending email in user list or dev list ?
> 
> Thanks,
> Hemal Shah
> 
> On Fri, Mar 20, 2009 at 10:22 AM, Dave Newton <newton.d...@yahoo.com>
> wrote:
>> Hemal Shah wrote:
>>>
>>> Hi,
>>> I want to use JQuery with Struts 2.
>>> I did search and found jQuery plugin at
>>> http://code.google.com/p/s2jquery
>>
>> Don't use that one--it's not going to be developed and I'll remove it
>> from
>> Google Code. We (where I worked) ended up using straight JavaScript with
>> jQuery.
>>
>> There were too many issues to make it worth the effort--we were being
>> very
>> accessibility and unobtrusive-JavaScript oriented; a good tag-based
>>  JavaScript solution needs to collect and inject JavaScript in the
>> response
>> outside of the main HTML (as well as a few other games) so it just wasn't
>> a
>> good path for us.
>>
>> As Wes said there's a new quasi-official (for now) jQuery plugin.
>> Personally
>> I'd skip tag-based solutions altogether, but in some circumstances it
>> might
>> be all you'd need.
>>
>> Dave
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts2-%2B-JQuery-Plugin-tp22610822p22673481.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to