here is an other way which describes how to easy 
overwrite a default handler in struts2 jquery plugin.

http://www.jgeppert.com/2011/02/how-to-overwrite-functions-in-struts2-jquery-plugin/

Johannes


CRANFORD, CHRIS wrote:
> 
> I tried passing the JS through something that understands JSP but it
> seemed to have been a failed attempt as nothing seemed to work.  What
> the existing plugin does is somewhat as you described; the tags create a
> simple JSON object filled with options and then passes those options off
> to the javascript layer to prepare the core JQuery stuff.
> 
> I noticed that the plugin has a preBind and postBind function; however,
> I'm not entirely sure how one can use those two functions with this
> plugin though; and support/activity seems to be hit or miss.
> 
> 
>> -----Original Message-----
>> From: Dave Newton [mailto:davelnew...@gmail.com]
>> Sent: Monday, February 14, 2011 7:26 AM
>> To: Struts Users Mailing List
>> Subject: Re: Strut2 JQuery
>> 
>> > is a better plugin I could use to get the same results or whether
>> just
>> > using JQuery directly is the acceptable route in this case...
>> 
>> Using jQuery directly is almost always the easiest way to use jQuery.
>> 
>> When I need to pass JSP-ish things to JavaScript I usually just pass a
>> JSON object to [a function | a set of functions |
>> external-JS-created-thing] that contains stuff generated from JSP
>> tags. You can also pass your JS files through something that
>> understands JSP, etc.
>> 
>> 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
> 
> 
> 


-----
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: 
http://old.nabble.com/Strut2-JQuery-tp30921546p30947756.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