Questions tagged [grails-2.3]

Grails is a web application framework that uses Groovy and Java. The framework is oriented around high-productivity application development, and uses common Java technologies such as Hibernate and Spring.

Grails is a coding-by-convention framework that leverages well-established Java frameworks (Spring, Hibernate) to allow programmers to quickly develop web applications. It touts features such as a zero-XML configuration and a typical web-application MVC architecture.

Along with its core, Grails has a plugin architecture and library that can provide developers with common web application features like Security and dynamic UI tools.

Grails 2.3 adds (Not an exhaustive list):

  • Improved Dependency Management
  • Data Binder
  • Binding Request Body To Command Objects
  • Domain Classes As Command Objects
  • Forked Execution
  • Test Runner Daemon
  • Server-Side REST Improvements
  • New Scaffolding 2.0 Plugin
  • URL Mappings May Specify A Redirect
  • Async support
  • Encoding / Escaping Improvements
  • Hibernate 3 and 4 support
  • Controller Exception Handling
  • Namespaced Controllers

More information:

See for more information.

167 questions
0
votes
1 answer

Grails 2.3.7 repository issues

I am having multiple issues trying to use grails 2.3.7 on a windows machine. It seems that many of the jars present in the dependencies for the grails plugins are not present. The application is trying to access files from locations which are not…
Rammohan
  • 493
  • 6
  • 27
0
votes
1 answer

Can Grails app contain REST client and server at the same time?

I am trying to see if the built-in REST functionality that Grails ships with will allow the same Grails app to hit a RESTful API endpoint on another machine (effectively making it the REST client), as well as serving that same API endpoint so that…
AdjustingForInflation
  • 1,571
  • 2
  • 26
  • 50
0
votes
0 answers

Grails unit test on simple controller gets Null pointer Exception

I'm working through the examples in The Definitive Guide to Grails 2, and all the unit testing is different from the version I am using ( 2.3.7). What I'm trying to do is test that my register method in the UserController will throw an error if the…
Ted Delezene
  • 2,461
  • 1
  • 16
  • 32
0
votes
1 answer

g:sortableColumn with complex associations

So I am trying to sort a table of objects(Deliverables). I want to use g:sortableColumn for each header(Client, project, deliverable). Currently I am trying to implement a solution found in this blog…
richari1987
  • 360
  • 2
  • 19
0
votes
0 answers

Update div in different controller with g:formRemote Grails

I have a template that I want to reuse in another view. The template contains a table view. The table view is totally editable. When I edit the table view, it makes calls back to a controller and re renders the tableview, using a g:formRemote tag. I…
richari1987
  • 360
  • 2
  • 19
0
votes
1 answer

Using respond method in Grails 2.3.6 with json format and status code

I'm trying to use the respond method that exists in grails 2.3 to return some exception message and a status code in JSON format, but haven't got success with the return code this far.. I've set an ExceptionController that will handle all the…
Eylen
  • 2,617
  • 4
  • 27
  • 42
0
votes
1 answer

Grails custom jquery configuration

org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: No javascript provider is configured I have this exception when using a taglib in grails. We are using jquery without the jquery plugin. How to configure our custom jquery files…
CSR
  • 770
  • 1
  • 14
  • 30
0
votes
1 answer

How to resolve errors in grails application after upgrading to 2.3.6

I recently updated my grails project from 2.0.4 to 2.3.6, which is giving some errors while saving a form which contains multipart data (file attachments), Its giving me the error for the file attachment fields like rejected value:…
n92
  • 7,424
  • 27
  • 93
  • 129
0
votes
1 answer

Tests succeed if run from eclipse (STS) but error if run from grails with ClassNotFoundException

I'm getting different test results when run from eclipse (STS) and from grails. Under grails my tests error (ie dont even run) with a ClassNotFoundException In eclipse they run successfully. (And run-app still works fine when run from grails…
0
votes
2 answers

Grails Plugin install error: java.lang.NoClassDefFoundError: org/grails/plugins/tomcat/fork/ForkedTomcatServer$_findSystemClasspathJars_closure3

After installing plugins I got this error, (I tried to install 2 plugins but same error occured ) I am trying to install Grails AWS Plugin but here is the Buildconfig.groovy and error: grails.servlet.version = "3.0" // Change depending on target…
atahan
  • 706
  • 1
  • 10
  • 11
0
votes
1 answer

Grails 2.3.5 requiring "grails clean" after every code change

Every time I modify my code I have to run grails clean before running grails run-app. If I don't, I get messages like this: | Error 2014-02-13 16:33:16,774 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the…
Jason
  • 11,709
  • 9
  • 66
  • 82
0
votes
1 answer

UI for dynamically adding multiple values like the LinkedIn skills section in Grails

I have recently started developing web applications using Grails. I just wanted to know how can I convert the multi-selection list provided by Grails scaffolding for many-to-many relations (where you hold Ctrl to add multiple values), to something…
aa8y
  • 3,854
  • 4
  • 37
  • 62
0
votes
1 answer

Grails 2.3 domain.encodeAsHTML() throwing null pointer exception from domain.equals()

I'm not 100% clear where my problem comes from. The issue started when I upgraded from grails 2.2.3 to 2.3.5. I understand that by default (at least, possibly with some Config changes) almost everything now gets encoded as HTML by default, but I…
Trebla
  • 1,164
  • 1
  • 13
  • 28
0
votes
1 answer

Grails 2.3.3 and Solr

I am trying to use Grails 2.3.3 with Solr. I have installed the plugin with: grails.project.dependency.resolution = { plugins { ... compile ":solr:0.2" } } and (the deprecated): $> grails install-plugin solr but it didn't…
Randomize
  • 8,651
  • 18
  • 78
  • 133
0
votes
1 answer

addTo* not persisting changes

I'm using the grails console to play with my relationships. I'm using the excersises on the book Grails in Action: I have the relationship: class User { ... Profile profile static hasMany = [posts: Post, tags: Tag, following:…
Alexander Suraphel
  • 10,103
  • 10
  • 55
  • 90
1 2 3
11
12