All Downloads are FREE. Search and download functionalities are using the official Maven repository.

index.index.gson Maven / Gradle / Ivy

Go to download

nucleus is a Grails-Groovy plugin which contains utility methods, classes and endpoints.

The newest version!
model {
    List instanceList = []
    String domainName
    int totalCount
}

json {
    if (domainName) {
        instanceList g.render(template: "/$domainName/$domainName", var: domainName, collection: instanceList)
    } else {
        instanceList g.render(instanceList)
    }
    totalCount totalCount
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy