grails
Indexing an entity in an actor thread using Grails searchable
I am using the Grails searchable plugin to index an entity with a custom text representation. I want this entity to be indexed in an actor (using GPars) that will be triggered asynchronously once the[详细]
2023-04-12 03:56 分类:问答Why did Spring Security messages go missing in Grails production app on Tomcat 7?
I\'ve deployed my grails app to Tomcat, and the only thing that broke is the spring-security-core messages in the login form. For example, the code[详细]
2023-04-12 02:39 分类:问答XML parsing in Grails
I am newbie to grails. I want to save some data using REST. I will get the xml from the request.XML. It has child nodes and the child nodes also have the child node..[详细]
2023-04-12 00:06 分类:问答grails gsp javascript integration, how to escape variables?
I have a gsp page (template) where I need to include some javascript. In the example below, how would I get the remoteFunction to understand, the moneyTransId will be set by the javascript function?Mo[详细]
2023-04-11 21:34 分类:问答grails: where can utility code be placed, that doesn't cause a container restart?
I\'m wondering where utility code can be placed, that doesn\'t cause a restart of container. Updating controllers doesn\'t cause a container restart & the updated code is available to run (great),[详细]
2023-04-11 20:18 分类:问答Grails not preserving my DB data
I am building a small Grails application, and I am trying to make the data persist between server restarts in the development environment.[详细]
2023-04-11 18:39 分类:问答Grails/GORM: inconsistent behavior for inherited domain classes (Testing VS Bootstrap)
I am seeing an inconsistency in the behavior of my application VS the outcome of a test-case that I have for an inherited domain class. Here are the classes involved in the issue (only part of code pr[详细]
2023-04-11 16:49 分类:问答Grails - composite key class usage
I\'ve recently changed some mapping in my app and now it looks like this. Scenario - many-to-many - Subscription[详细]
2023-04-11 15:26 分类:问答Grails eager fetch with scrolling
I am trying to scroll through a result set of a namedQuery. To avoid N=1 problem i set fetch param to eager. I am also interested in distinct set of top level objects. So my controller closure looks l[详细]
2023-04-11 15:03 分类:问答JSONBuilder in Grails console
I\'m t开发者_Go百科rying to use the Groovy JSONBuilder in the Grails (2.0.0.M2) console. When I execute the following[详细]
2023-04-11 13:21 分类:问答