I have a template that renders a chart according to a given list (retrieved from my domain layer). This template is displayed several times (with a different list) on a same page (let\'s say \"home pa
The Grails code below throws the following exception when trying to .save() the Foo object: org.hibernate.TransientObjectException/
My Grails application has a large number of enums that look like this: public enum Rating { BEST(\"be\"), GOOD(\"go\"), AVERAGE(\"av\"), BAD(\"ba\"), WORST(\"wo\")
The Grails Config.groovy setting grails.views.default.codec specifi开发者_高级运维es the default codec used to encode data within ${...} in Grails views.
I\'ve repeatedly had problems with the DSL introduced by Grails in version 1.1 for configuring Log4J. My current configuration looks like this:
Which setting do I now use to produce logging 开发者_如何学JAVAoutput with \'log.info\' statements within my own controllers?
I need a way to be able to have a domain class to have many of itself.In other words, there is a parent and child relationship.The table I\'m working on has data and then a column called \"parent_id\"
Is there a way to configure Grails 1.1.1 or Grails 1.2 M4 to map a multi-word controller or action written in PascalCase or camelCase to automatically map to a URI with hyphens separating the words?
I would like to use certain plugin in development environment, but would like开发者_运维问答 to exclude this plugin from production and from generated war. What is the easiest way to accomplish this?Y
Removing an element from a list isn\'t working, which doesn\'t make any sense. Am I missing some special semantics peculiar to dealing with a Grails domain object list?