Grails Graphic Design Templates (Installation Templates)

Every time I need to customize my scaffolding templates in Grails, I do it by example by looking at the code inside the artifacts generated by the install-templates commands. But I never found any documentation for this. I don't know what kind of objects or tags I can use. For example, the artifact /Controller.groovy has " @artifact.name@

", " @artifact.package@

"; Scaffolding / Controller.groovy has " ${className}

", " ${propertyName}

" and even gsp tags like " <%=packageName ? "package ${packageName}\n\n" : ''%>

".

How can I find out the structure or other objects or tags that I can use? I wonder where this is documented.

+3


source to share





All Articles