Questions tagged [grails-plugin]

A Grails plugin is a self-contained bundle of functionality that can be installed into a Grails application.

A Grails plugin is a self-contained bundle of functionality that can be installed into a Grails application. When a Grails plugin is installed, it can do any of the following:

  • Define additional Spring beans
  • Modify the generated web.xml file
  • Add new methods to the application's artefacts (controllers, domain classes, services, etc.)
  • Provide new tag libraries
  • Make additional resources and classes available to the application
  • Provide new Grails commands

For example, when you install the jQuery plugin

  • The jQuery JavaScript files are added to the application
  • A new Grails tag <jq:jquery> is added to the application
  • A new Grails command grails install-plugin jquery is added to the application

When you install a Grails plugin, that plugin's functionality is made available to the installing application. However, the plugin itself is not actually copied into the application, only the plugin name and version is added to the application's application.properties file. The plugin itself is downloaded to $HOME/.grails and the application loads it from there.

The structure of a Grails plugin project is identical to that of a Grails application, with the exception of a configuration file (known as a plugin descriptor) that is included in a plugin's root directory.

1510 questions
0
votes
1 answer

Downloading a Grails plugin

Is there a Maven repo from where I can download grails plugin files. I know I can do install-plugin name but I want to store it in my repo.
RSM
  • 423
  • 3
  • 7
  • 20
0
votes
1 answer

Adding Spring Security dependency to Grails plugin

I am developing a Grails 2.2.3 plugin for internal use, and in the plugin I would like to have the configured security settings that I use in every app. Spring Security config, Spring Security LDAP config, and custom UserDetails class and…
0
votes
0 answers

JQuery is not defined after installing cached-resources in Grails

I use ggts 3.3.3 Kepler, Grails 2.3.3 OSX 10.8.4. After installing cached-resources I got the following console errors: Uncaught ReferenceError: jQuery is not defined 2E8CFq9qq9Hd3oC8Vm4eO2E0N1BbHOBaOBasevchm9s.js:1 Uncaught ReferenceError: jQuery…
Michael
  • 32,527
  • 49
  • 210
  • 370
0
votes
1 answer

Is there a command to show all fields but selected with Grails Fields Plugin?

Right now, Grails generated the next code: I want to hide/show some fields with Javascript doing something like:
Click to…
chelder
  • 3,819
  • 6
  • 56
  • 90
0
votes
2 answers

How to upgrade Grails version from 2.1.2 to 2.2.3 in Ubuntu

I am new in Linux. I am using Ubuntu to install Grails. I am following this command -- sudo add-apt-repository ppa:groovy-dev/grails sudo apt-get update sudo apt-get install grails-ppa But When I try to install Grails 2.2.3 it automatically load…
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
0
votes
1 answer

Grails Mahout Plugin with Background Job (quartz2)

I am new in Grails. I am using Mahout Recommender Plugin for creating Recommender Engine. I am following this tutorial. It works fine for me. Now What I am trying to do, I just want to do this Mahout Recommendation using Background JOB. So that…
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
0
votes
1 answer

link to image containing spaces in filename

In my Grails app I have various images: /web-app/images/competition/foo bar.png /web-app/images/competition/foo bar2.png /web-app/images/competition/foo bar3.png The name of the image to be displayed is stored in the model that's passed to the GSP.…
Dónal
  • 185,044
  • 174
  • 569
  • 824
0
votes
1 answer

Grails Send Mail is not working

I am using Mail Plugin to send email in my grails application. I am doing like this ... Config.groovy ---- grails { mail { host = "smtp.gmail.com" port = 465 username = "example@gmail.com" password = "*********" props =…
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
0
votes
1 answer

How to show images uploaded by uploadr plugin in Grails

I am new in Grails. I am using uploadr plugin to upload images. Upload images works fine. My images successfully uploaded in my directory. Now I want to show these images also in my show.gsp file. But I don't have any idea about it. Here is my…
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
0
votes
2 answers

php based application to make request to grails plugin project

I have grails plugin project, i need to convert it to webservice, so that my php code can make a request to newly created webservice. In short, i need to expose my grails plugin project, so that my php based application can make request to that. Is…
Hardik Patel
  • 937
  • 3
  • 14
  • 39
0
votes
2 answers

How to use Grails Searchable plugins in more than 2 domains

I am completely new in Grails, start learning grails from past couple of days. I am trying to add search feature by using searchable plugin in my demo grails application. I successfully added searchable plugins on user search where user can search…
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
0
votes
0 answers

How to resolve external dependencies defined in a Grails plugin in a Grails 2.2.x application

I asked this question on the Grails user list but didn’t get a response, so I’ll rephrase it here. I’m the author of a Grails plugin (https://github.com/kensiprell/grails-atmosphere-meteor), which has two external dependencies defined in…
Ken
  • 685
  • 2
  • 5
  • 11
0
votes
1 answer

Twitter Bootstrap Grail plugin is not working

I am new in Grails. I start learning Grails before 3 days. I want to use twitter bootstrap in my sample Grail application. I am following this tutorial I added runtime ':twitter-bootstrap:2.3.2' in my grails-app/conf/BuildConfig file. Here is my…
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
0
votes
2 answers

Grails 2.2.X Plugin Development - Plugin Dependencies

I'm totally confused how and where to specify my own plugin dependencies in Grails 2.2.X The documentation (Understanding Plugin Load Order) says that you can specify the dependencies in plugin descriptor class MyGrailsPlugin.groovy. Whereas, the…
kuceram
  • 3,795
  • 9
  • 34
  • 54
0
votes
1 answer

Which grails plugin should I use for large file upload?

which grails plugin should I use to upload large video files, like 20MB, 30MB, 100MB, I want progress bar also to be there, I have tried to use Super file upload plugin for this, but I think I am doing something wrong in it, it ain't working for me,…
Saurabh Dixit
  • 633
  • 4
  • 16