when grails creates view, it automatically adds a maxLength attribute to text fields. This is great because users will not be able to input a string which is longer than the contraint. This h开发者_如
I have a modal dialog where I load a form from a gsp and I am struggling to find the right solution for an ajax based form with JSON validation incl. success message like a flash scope message:
this is a pretty strange issue. I have a many-to-many relationship between two classes, Subscription & Scenario. Thing is I\'m trying to delete the relation between them when either is deleted us
Basically what I want is: <g:fancyJoin in=\"${myList}\" var=\"item\" separator=\", \"> <g:link controller=\"foo\" action=\"bar\" id=\"${item.id}\">${item.label}</g:link>
I have mapped a Date field in one of my models. If I store the date everything looks fine in the database but if I read the value I am getting all values -2 hours from the actual date field. The 开发者
I\'m using the acegi security plugin and I run the app -https. The cert is generated but I get a certificate warning when i visit the web page. I have then download the weak ssl plugin and added weaks
For 90% of every security-related Grails tutorial, they tell you to store your User objects in a session-scoped variable. That\'s all nice and easy, but I wonder if it\'s too good to be true, especial
I am trying to test a controller which, in particular, is using java.io.File and some of the methods/attributes injected by Grails during runtime, like:
I\'m using MarkupBuilder to render some HTML from a taglib like so (stripped down for cla开发者_开发问答rity):
I am using ExtJS4 library to show a grid of paged data served by a Grails controller and returned开发者_运维技巧 as JSON.