struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Strut2 JQuery
Date Mon, 14 Feb 2011 13:43:00 GMT
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 []
> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message