grails-controller
Grails render() with a fragment parameter
Is there a way to use render() with a fragment param so on page load it automatically scrolls to a specific part of the page? Similarly to how we can call[详细]
2023-03-23 19:32 分类:问答How to prevent grails server sided code from running if it is already running
I have a question about a grails application.I have a controller that does a lot of work, on the server side, and can take several mi开发者_如何转开发nutes to complete its task.I\'m concerned that if[详细]
2023-03-23 04:37 分类:问答Grails integration testing facebook graph plugin
I\'m using http://www.grails.org/plugin/facebook-graph to get user profile, but I\'m stuck to 开发者_如何学编程test from controllers. Anybody could advice me how to mock or test facebook session in in[详细]
2023-03-22 06:48 分类:问答Grails g:include can it be done?
Im wondering if it is possible to use g:include to include only the body contents of a given page. Say i have a main layout page as follows:[详细]
2023-03-13 00:39 分类:问答Grails Having issues with form submission
Rendering the params and gets all the data I submit [\"address.address1\":\"reston1\", \"address\":[\"address1\":\"reston1\", \"county\":\"fairfax\", \"zipcode\":\"20190\", \"address2\":\"reston2\",[详细]
2023-03-12 03:11 分类:问答How to read xml file in grails?
I am very new to grails and perhaps it would be the most simplest of questions that I am asking. I am creating a very simple application for self-learning where I created a login page. On successful l[详细]
2023-03-07 10:34 分类:问答Domain class not accessible in my controller
I\'m new to Grails and groovy.. I created a domain class \\grails-app\\domain\\Abc Now i created a 开发者_JAVA百科controller in[详细]
2023-02-22 09:32 分类:问答Grails formRemote - how to avoid redirect on multi form?
I have a master controller named Screening. I have build view workflow for this controller (e.g : create, edit, list, show).[详细]
2023-02-22 06:36 分类:问答Grails: Property Null error
I\'ve a domain called Modulo with some properties and a Controller with a method that create a object from model and save it, when execute save the shell show this error:[详细]
2023-02-17 17:54 分类:问答Grails: render a page in beforeInterceptor
In one of my controllers, I\'ve written some error checking code in the beforeInterceptor closure. if (getUser()?.courses?.size() == 0) {[详细]
2023-02-11 22:15 分类:问答