FAQ Database Discussion Community


Grails 2.4.4 Dynamic One-to-Many Forms

grails,gorm,grails-2.4
I've met an already known old topic that oddly enough is badly documented (if it is even documented). I've been trying to create a dynamic table for a form with a one-to-many relationship in Grails 2.4.4, and for that I had to base myself on a tutorial for 2.1 I'm...

How to get Authenticated with spring security rest plugin in Grails

rest,grails,spring-security,grails-plugin,grails-2.4
I'm using Grails version 2.4.3 . I am creating an application that supports RESTful APIs. Since access to these APIs should be authenticated , I tried out the Spring Security REST plugin. I checked out this example and what I could understand is , the /api/login controller is the authentication...

How to update a server side datatable on change a checkbox from outside of datatable

grails,datatables,datatables-1.10,grails-2.4
I am using data table with Grails. I have a check box outside the data table and on its event I want to load the table again with the check box value. Here are my attempts below : In my view where the check box is >> <g:checkBox id="wrapCheck" name="wrapCheck"/>...

RestfulController not binding nested JSON in POST

grails,grails-2.4
I'm building an REST API in Grails 2.4.4 and relying on RestfulController to handle basic CRUD type functionality. The front end is being built in AngularJS 1.3 and for the most part Angular's $resource and Grails RestfulController work perfectly and don't require that I write a lot of boilerplate code....