
org.grails.scaffolding.registry.DomainInputRenderer.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fields Show documentation
Show all versions of fields Show documentation
Fields integration for Grails
The newest version!
package org.grails.scaffolding.registry
import org.grails.scaffolding.model.property.DomainProperty
/**
* Used to render a single domain class property on a form
*
* @author James Kleeh
*/
interface DomainInputRenderer extends DomainRenderer {
/**
* Defines how a given domain class property will be rendered in the context of a form
*
* @param defaultAttributes The default html element attributes
* @param property The domain property to be rendered
* @return The closure to be passed to an instance of {@link groovy.xml.MarkupBuilder}
*/
Closure renderInput(Map defaultAttributes, DomainProperty property)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy