grails-controller
Grails Redirect Post-Logout Using spring-security-core-3.0.6+
In spring security version 3.0.6, which fixed a CRLF logout exploit (https://jira.springsource.org/browse/SEC-1790) they disabled the use of the \'spring-security-redirect\' parameter.[详细]
2023-04-13 05:06 分类:问答mapping a grails action to a parent controller
I would like to map some actions in a child class to their super class, but I cannot figure it out. Example below...[详细]
2023-04-10 11:09 分类:问答redirect http to https in grails
I have a follow up question about redirecting grails apps fro开发者_高级运维m http to https.another user showed me that, the config file, i can do something like this:[详细]
2023-04-08 17:07 分类:问答How can I replace a scaffolded controller action and still call the original in Grails?
I need to \'override\' a scaffolded action in a controller, do some stuff and then invoke the original. I would prefer to use the dynamically generated method and not have to cut and paste the code.[详细]
2023-04-05 21:36 分类:问答How to access command objects from filter and is it possible at all?
I often write something like: def myAction{ MyActionCommand cmd -> if( cmd.hasErrors() ){ return render(status:HttpServletResponse.SC_BAD_REQUEST );[详细]
2023-04-05 06:56 分类:问答Using JSON to create an object in Groovy/Grails
I have a Groovy/Grails website that is being used to send data to Android clients via JSON. I have created both the Android client and the Groovy/Grails website; and they can output the same objects i[详细]
2023-04-03 16:15 分类:问答How to sort Domain-Objects with attribute with type JodaTime / DateTime in grails 1.3.7?
I\'m working on a small event calendar and i want to sort the events by start time! I\'m using JodaTime Plugin in grails for the startTime attribute. ( http://www.grails.org/JodaTime+Plugin )[详细]
2023-04-03 10:33 分类:问答Searching the values by using dynamic finders for two fields in grails
I am trying to search using dynamic finders for two fields: status and OpenOn (a date). render(view:\'list\', model:[incidentInstanceList:Incident.findAllByStatusIlikeAndOpenOnGreaterThan(\"closed\",[详细]
2023-03-30 18:10 分类:问答Grails, how to find by a record by its foreign key
I have two domains that are a part of a one-to-many relations ship.I was wondering how i can query the child for the parents FK?bellow is the psue开发者_JS百科do-code for parent/child[详细]
2023-03-25 23:41 分类:问答Grails Domain Create Association Table
I have a question about creating an associative table, in grails, to reconcile a many-to-many relationship.The setup is this:[详细]
2023-03-25 03:57 分类:问答