velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Tesser <jasontes...@gmail.com>
Subject Re: Using jQuery with Velocity
Date Wed, 08 Jul 2009 18:55:17 GMT
Yes

I would use velocities escape tool to spit our the $ in your JS.

http://dotcms.org/community/documentation/documentation_repository/velocity/velocity-tools-1.2-doc/generic/EscapeTool.html#getD%28%29

so in other words $JQueryStuff you would write the velocity
${esc.d}JQueryStuff

enjoy :-)

Thanks,
Jason Tesser
dotCMS Lead Development Manager
1-305-858-1422


On Wed, Jul 8, 2009 at 2:50 PM, John Eichelsdorfer <jeichels@yahoo.com>wrote:

>
> In attempting to integrate the JQuery UI datepicker tool into our site
> http://jobbank.com/ http://jobbank.com/ , we are having an issue where the
> jQuery code is being removed due to both projects using the "$" symbol.
>
> jQuery has this link:
> http://docs.jquery.com/Using_jQuery_with_Other_Libraries
> http://docs.jquery.com/Using_jQuery_with_Other_Libraries  that describes
> how
> to modify the use of jQuery to attempt to get things working, but do you
> have a preferred solution?   Examples would be great if you have them.
>
> Thank!
>
> John
>
>
> -----
> John Eichelsdorfer
>
> http://jobbank.com/ jobbank.com
> --
> View this message in context:
> http://www.nabble.com/Using-jQuery-with-Velocity-tp24397241p24397241.html
> Sent from the Velocity - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message