grails-plugin

Grails: How to make jQuery-UI work correctly with all its functions?

Hey I just installed jQuery-UI via grails install-plugin jquery-ui And I can't make it work. I read on the Grails Plugin documentation that I needed to update the file jQueryUiGrailsPlugin.groovy and change the JQUERYUI_VERSION to the most recent one. I went to change it and it had my same version, so now I don't know what it could be. ...

Grails and AJAX: Grails form validation working using ModalBox or YUI2 Dialog ?

Several Grails applications, like the one I'm writing, require a /user view and /admin view that are 'dashboards', basically the user or admin lands on that page, possibly after a successful login and all the datatables and tabs are there, so they hardly ever need to navigate off that page, providing a more satisfying users experience, l...

Performance issue with webtest and grails

Hello I have read the documentation for Grails and Webtest in this site: http://www.grails.org/plugin/webtest And it's very unupdated. Most of the scripts listed there doesn't work. I am looking a way to run a working alternative of -nostart listed there. This is because it's very slow to rerun tests. Or maybe a way to run webtests ...

How do I make Intellij stop removing Grails inline plugin module dependencies?

I am developing a Grails application along with a Grails plugin used by that application. In Intellij, I have defined two modules: one for the application, and one for the plugin. In my application's BuildConfig.groovy, I have defined the plugin dependency as a maven dependency, because when it is built/deployed to the production server,...

Grails Problem with custom error messages

Hi, I am currently trying to specify custom error messages in grails for the default constraints but so far all I get back is the default error message. I know that I have to edit the grails-app/i18n/messages.properties file If I change the following default error codes message, it will correctly display the new error message default...

How to easily implement "who is online" in Grails or Java Application ?

I am building a community website in grails (using Apache Shiro for security and authentication system) and I would like to implement the feature "who is online?". This url http://cksource.com/forums/viewonline.php (see snapshot below if you do not have acess to this Url) gives an example of what I would like to achieve. How can I do ...

Problem with grails email confirmation plug-in only with run-war

I'm using the email-confirmation plug-in and it's working fine when using run-app. However if I run-war, it gives me the following error upon confirmation sendout: [...] No signature of method: com.grailsrocks.emailconfirmation.PendingEmailConfirmation.save() [...] After further trying, it seems that this even happens only with certai...

Grails debugging flash scope

I am using Authentication plugin for Grails. It needs a flash variable to be set to do redirection after successful login. I set the flash variable in various places in controller, in view just before authentication service does it's work, but somehow flash variables are being cleared on the way. I can't manage to find a way to spot th...

Rendering a GSP from a Quartz job in Grails

I have a quartz job that needs to render a GSP, when I tried: def g = new org.codehaus.groovy.grails.plugins.web.taglib.ApplicationTagLib() def text = g.render(template: "/templates/myTemplate", model: [language: language, product: product]) I received the following exception: org.quartz.JobExecutionExcept...

Is it possible to add Grails MVC classes at deployment time?

I'm writing a Grails app which I'd like 3rd parties to augment at runtime. Ideally they would be able to add a JAR/WAR to the webapp directory which contains new domain, controller and service classes, new views, and other content. Is there a simple way to do this within grails? Would it be simplest to create a startup script which co...

Grails install-plugin destination folder

Is there a way to customize the directory where "grails install-plugin" installs a plugin? The point is, I upgraded from 1.0.3 to 1.3.3 and the destination dir has changed from the current to the grails working dir, but our app relies on the plugin being in the current dir. I'd assume I can change the script in the grails dir, but tha...

How do I implement a custom FilterSecurityInterceptor using grails 1.3.2 and the plugin spring-security-core 1?

I'm writing a grails 1.3.2 application and implementing security with spring-security-core 1.0. For reasons outside the scope of this question, I'm implementing a custom FilterSecurityInterceptor in addition to the out of the box interceptors. I've started with a blog entry on the topic and attempted to adjust it for Spring Security 3 ...

Need help about grails&acegi

refer to http://www.grails.org/AcegiSecurity+Plugin+-+Basic+Tutorial if I need to custom field,for example i need gender,age,etc. How to do? ...

Is it possible to customize the hibernate-plugin autogenerated CRUD methods on my grails app?

My project's copy contains the following snippet in HibernateGrailsPlugin.groovy : def doWithDynamicMethods = { def dynamicMethods = HibernatePluginSupport.doWithDynamicMethods dynamicMethods.delegate = delegate dynamicMethods.call(it) // aids in generating appropriate documentation in plugin.xml since ...

Why Java Web Service Client (CXF, JAX-WS, JDK1.6) Exhibits Different Behavior in Grails app? A CLASSPATH fix?

BACKGROUND: Current Grails application has to interact w/ a 'legacy' web service from a third party vendor - (systinet) Used the Apache CXF Wsdl2Java tool to generate complex types and service interfaces. Pretty standard stuff so far and this works perfectly from Java. After writing some test classes and main() methods to exercise th...

Grails Weceem CMS Plugin

Hi , My Problem is that I am using grails Weceem CMS Plugin . I want to combine Jsecurity plugin with this weceem cms plugin. how to do it ? Please help me to find the solution. Regards DINESH T ...

Reinstall grails plugin from a simple HTTP location

I installed a plugin using 'grails install-plugin http://blahblah/blah.zip'. The location does not follow the grailsRepo standard or maven standard. It's a simple zip file on a remote server. How do I configure grails so that it finds the plugin? ...

Need help resolving a java.net.ConnectException using webtest-plugin for grails

I'm trying to setup a webtest plugin with an existing grails app that's already pretty far along... I'm using grails 1.2.2, groovy version 1.6.4, webtest-plugin 2.0.4 I have one functional web test, which has a single call to invoke("http://localhost:8080/myApp/") I've overridden the existing URLMappings.groovy file so that "/" map...

Grails filterPane plugin to fit page layout

I would like to have the filterPane to be inserted in my own div in order to fit my page layout. Basically I want to get rid of the default pop-up behavior and harmonize filterPane with the other elements of the application. this is my gsp <div class="filter"> <p> <filterpane:isFiltered> <f...

How do I get "happy" names using Amazon S3 plugin for Grails (via Jets3t)

References: http://www.grails.org/plugin/amazon-s3 http://svn.codehaus.org/grails-plugins/grails-amazon-s3/trunk/grails-app/services/org/grails/s3/S3AssetService.groovy http://svn.codehaus.org/grails-plugins/grails-amazon-s3/trunk/grails-app/domain/org/grails/s3/S3Asset.groovy By "happy" names, I mean the real name of the file I'm up...