Top "Gsp" questions

Groovy Server Pages (GSP) is a presentation language for web applications, similar to JSP.

In a grails gsp template, how can I use a server side comment without sitemesh throwing an error?

When I use a standard jsp comment block in a gsp template <%-- some server-side comment --%> , sitemesh …

templates grails gsp sitemesh
Error evaluating expression: Cannot invoke method getAt() on null object

I have a Question domain model designed as follows class Question { List<Choice> choiceCollection; static hasMany = [choiceCollection:Choice] …

grails groovy gsp
How to get current_user by using Spring Security Grails plugin in GSP

I am newbie in Grails. I am using Spring Security Grails plugin for Authentication purpose. I want to get current …

grails spring-security grails-2.0 gsp
What does the question mark mean in GSP/Grails?

I saw this in my generated GSP pages. What does the ? mean? <g:textField name="name" value="${phoneInstance?.name}" /&…

grails groovy operators gsp
How can I change the way GRAILS GSP fieldValue formats Integers?

I have a field in my domain object which I define as an Integer... Integer minPrice I then access it …

grails gsp
How to do looping in GSP?

I have GSP file in which i will be getting a value from the controller say for example ${paramsValue?.ruleCount} …

grails gsp
Grails "render" renders the template

In my Grails controller I'm responding to an AJAX call and using render to return the text: def ajaxRandomPersonName = { def …

grails gsp
Are there any good tutorials for using sitemesh in a grails application?

I'm a pretty experienced Grails developer, but most of my experience has been with using grails for serving up JSON/…

templates grails groovy gsp sitemesh
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 …

grails gsp
Grails -Gsp - How to make Check-box checked based on the value of the field

I have a attribute called status in my domain which is String type can have any one of two values …

grails gsp