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

Mongodb Aggregation framework for grails 1.3.7

How can I use Aggregation framework in Grails 1.3.7. At the moment i can't migrate into new version of grails. I have tried grails mongodb plugin 1.0.0.GA but it is using old java driver and gmongo libs. I have also tried to add dependencies for new…
0
votes
1 answer

Validate custom constraints with JQuery Validation UI Plugin

I'm using grails JQuery Validation UI Plugin for grails 2.1.0. I nearly have my form valadting client side based on my command object constraints. There is one problem, I have a custom constraint in my command object: startTime(nullable: false,…
Thomas Buckley
  • 5,836
  • 19
  • 62
  • 110
0
votes
1 answer

gsp mail plugin autosending

When I navigate to the page, why is the send() function being called automatically? I want to be able to view the gsp page, fill in a few text fields, and THEN call the submit with an action of "send" This is my gsp file <%@ page…
Matt Westlake
  • 3,499
  • 7
  • 39
  • 80
0
votes
1 answer

When using the Grails RabbitMQ plugin, how do you set message headers/properties when sending messages?

When consuming messages using the plugin, you can access the raw Message and its headers/properties. When sending messages using the rabbitSend method, it appears from the documentation…
AndrewW
  • 678
  • 6
  • 18
0
votes
1 answer

spring security facebook plugin (Grails) web service access

I am quite new to Grails and the plugin usage. right now I am trying to build restful services using grails. I need some kind of authentication for user so for that I am using spring-security-facebook plugin for grails. It works very well for all my…
rinku
  • 103
  • 7
0
votes
1 answer

Cannot find com.vaadin.terminal.gwt.client.ui.dd.VerticalDropLocation

I'm dooing a Proof of Concept, evaluating Grails (2.1.0) with Vaadin 7 Plugin. We are evaluating different technologies and the common goal is to have a drag and drop tree set starting from a grails model, change the tree by dragging and drop a…
Fabio Sogni
  • 187
  • 1
  • 11
0
votes
2 answers

Checking whether the user authenticated using spring security inside a filter

I'm trying to do this in my groovy class which is in src directory of my grails application. Its an Filter. The class looks like this : class Proxy implements Filter { } Inside the init method I'm getting the springSecurityService bean using…
sriram
  • 8,562
  • 19
  • 63
  • 82
0
votes
1 answer

Grails Pessimistic Lockdown doesn't work (in my case)

in Greach 2.0, Burt Beckwith talked about Pessimistic Lockdown. I'm trying to setup Pessimistic Lockdown in my grails application but it doesn't work. I've written in my Config.groovy: grails.plugins.springsecurity.rejectIfNoRule = true and my…
0
votes
2 answers

Unknown plugin included in war when building

I have noticed that the plugin "svn-1.0.0.M1" is getting pulled into my war every time I build. I don't have it defined in my buildConfig or application.properties. Could someone explain why this is so? Is it a dependency in one of my other…
Thomas Buckley
  • 5,836
  • 19
  • 62
  • 110
0
votes
1 answer

Grails spring-security-facebook plugin - Customizing client-side authentication

I am using spring-security-facebook:0.10.4 to integrate Facebook authentication for SSO in our Grails application. One of our requirements is to allow a user to turn SSO on or off (via some control in our app). If it's turned on, then we want to use…
aschune
  • 3
  • 1
0
votes
2 answers

"Reverse Search" Search function for in Grails App

I searching for an useful Plugin or Idea for my app for reverse search. I am not sure if it is he right english Word for it...so let me explain: I got a list of ingredient in my cooking app. If i choose to create a new receipt i have to scroll…
bastianneu
  • 2,059
  • 2
  • 18
  • 31
0
votes
0 answers

Can't make Grails and audit-logging plugin work

I'm trying to add data auditing to my Grails project, but it doesn't work. I've read this tutorial on grails site and did everything as described there. What I have now is a domain class Event looking as simple as this: class Event { static…
svz
  • 4,516
  • 11
  • 40
  • 66
0
votes
2 answers

passing my "own" map from controller and render it in view

So this is my show() method in my controller with InsitutionList as a global variable but when I want to access this InsitutionList from list.gsp it is not rendering (also not giving any errors like null value, from there I believe i am passing it…
0
votes
1 answer

Grails spring-security UserRole - Role fetch :'join'

I have typical auto-generated by spring-security classes. + I want to select Roles together with UserRoles (table join) in one query, therefore I have added fetch: 'join'. class User { def springSecurityService String username String…
0
votes
2 answers

Grails install-plugin git Error

Environment Windows 7, Grails 2.2.0/2.X, GGTS I have installed git on my computer successfully, I am now trying to install the Git plugin for grails using the command install-plugin command. I get the errors below, I have looked for a solution but…
user1811107
  • 729
  • 3
  • 18
  • 39