grails-controller
Inject grails application configuration into service
I\'m creating a grails service that will interact with a 3rd party REST API via a Java library. The Java library requires credentials for the REST API by means of a url, username and password.[详细]
2023-02-10 14:00 分类:问答Use controllers globally in Grails
I\'m new to Grails and am trying to build a CMS with it. I want the navigation menu to read from the database so a new page will automatically get a link in the navigation. I\'ve been reading Grails:[详细]
2023-02-05 14:02 分类:问答How to populate 2nd combobox(g:select) values on basis of 1st combobox(g:select)?
I\'m t开发者_Python百科rying to load 2nd combobox (g:select) values on the selection of 1st combobox (g:select) value in GSP.[详细]
2023-02-04 21:55 分类:问答Grails portlets on liferay
I\'m a Grails developer and I started development on Liferay 2 months ago. I believe that if I can use Grails on Liferay I will increase my productivi开发者_如何学Cty by 2.[详细]
2023-02-01 14:56 分类:问答How do you share common methods in different grails controllers?
Currently when I need to share a method like processParams(params) between different controllers, I use either inheri开发者_如何学Gotance or services.[详细]
2023-01-25 03:24 分类:问答How to redirect from a controller using a named URL mapping?
I have a URL mapping as below: static mappings = { name register: \"/register\" { controller = \"account\"[详细]
2023-01-19 09:20 分类:问答How to handle correctly a URL having twice the same parameters with same values?
Using Grails 1.3.3, when requesting url link: /myapp/mycontroller/myaction?p1=v1&p2=v2&p1=v1 then params injected value into Grails controller will contain :[详细]
2023-01-15 04:47 分类:问答Grails: Unable to get model data from controller to view
I have been using Grails for last 3 weeks (learning and working). I have been working on porting a JSP/Servlet application to Grails and it has been absolute \"fun\" porting the application.[详细]
2023-01-14 21:05 分类:问答Handling parameters from dynamic form for one-to-many relationships in grails
My main question here is dealing with the pramas map when having a one-to-many relationship managed within one dynamic form, as well as best practices for dealing with one-to-many when editing/updatin[详细]
2023-01-11 19:00 分类:问答Rewriting URL for the default action in controllers
I\'m having trouble rewriting URL\'s in Grails: I\'ve got 2 controllers BlogController开发者_如何学Go and ProjectsController each with a default def index = { } and matching view.[详细]
2023-01-11 13:27 分类:问答