Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Groovy and the fly likes jQuery and grails integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "jQuery and grails integration" Watch "jQuery and grails integration" New topic

jQuery and grails integration

Ashish Agre
Ranch Hand

Joined: Jan 22, 2011
Posts: 73

I have watched this post but couldn't find the solution. Ref :

I have created simple CRUD application in grails, how should i integrate jquery in that ?

| B.E IT | SCJP 6.0 98 % |
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31680

Well that post has a solution. If it doesn't work for you, you'll need to show the generated HTML as well. And maybe how you think it is set up in grails at your end.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

In addition to what Jeanne said, there are multiple versions of Grails and you didn't tell us which one you're using. As of Grails 2.0 jQuery is the standard JavaScript library so there isn't a whole lot of anything you need to do to get it "integrated".

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: jQuery and grails integration