gsp
Groovy GSP <g:if>
This has been driving me crazy for hours and its probably very obvious to someone ... Can anyone see why this is printing out even though its reporting as being false?开发者_JS百科[详细]
2023-01-31 22:39 分类:问答How do you Access Grails ServletContext in a gsp file?
I have a list of categories that need to live inside of the servletContext scope of the app since the list will be accessed by every view and will not need to be modified.[详细]
2023-01-30 14:04 分类:问答Grails error only on Tomcat server; not reproducible locally: Error executing tag <g:link>: object is not an instance of declaring class
I\'ve got a weird bug on the live server. It happens only on a specific action (a search). I can\'t reproduce it locally (where I run the code using grails run-app), and I can\'t reproduce it on the t[详细]
2023-01-29 05:18 分类:问答Grails: use controller from index.gsp
i am new to grails and i want to use a method from a specific controller in my index.gsp In Index.gsp i tried[详细]
2023-01-27 03:55 分类:问答How to get a list parameter from a grails view
In my view I have the following: <g:hiddenField name=\'expandableEducationList[${edIdx}]._deleted\' value=\'false\'/>[详细]
2023-01-23 05:00 分类:问答Error 500: Error processing GroovyPageView: null
I\'m building a Grails/Groovy/GSP app. I\'m used to seeing errors such as \"Cannot get property \'id\' on null object\", or \"no property named ...\". But I\'m not sure what \"null\" by itself means![详细]
2023-01-22 18:36 分类:问答Grails/AJAX: Updating an arbitrary region in the page using g:submitToRemote
In a GSP (Groovy Server Page), I\'m using <g:submitToRemote update=\"...\"> to update a <div> after the server-side call.[详细]
2023-01-21 23:01 分类:问答How to detect that a controller has been called by g:include tag lib?
In order to send appropriate response, I need to detect whether the controller action has been requested by a classic HTTP GET request, an AJAX request or a g:include tag lib.[详细]
2023-01-20 15:56 分类:问答How I access a variable from JavaScript and Grails?
I have a Grails variable which is of type JASONList that is rendered in a template. Is there a way to access this list from inside a JavaScript function?[详细]
2023-01-19 14:47 分类:问答Grails interferes with jquery-tmpl syntax
The jQuery templates plug-in uses ${foo} syntax (example in jquery.tmpl doc): 开发者_如何学编程$.tmpl( \"<li>${Name}</li>\", myData )[详细]
2023-01-19 04:21 分类:问答