I need to send a parameter to the file renderEditor.template (After of installing of “grails install-templates”), but I have no idea how. Can anyone help me? Thanks.
I need to send a parameter to the file renderEditor.template (After of installing of
Share
The binding variables available to
renderEditor.templateare fixed in DefaultGrailsTemplateGeneratordomainClassbeing theGrailsDomainClass,propertybeing theGrailsDomainClassPropertythat was passed to therenderEditor(p)call in the scaffolding template, andcpbeing the correspondingConstrainedProperty. You may be able to extract what you need from one of those.