
org.grails.scaffolding.registry.input.AssociationInputRenderer.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.input
import org.grails.scaffolding.model.property.DomainProperty
import org.grails.scaffolding.registry.DomainInputRenderer
import org.grails.datastore.mapping.model.types.Association
/**
* The default renderer for rendering associations
*
* @author James Kleeh
*/
class AssociationInputRenderer implements DomainInputRenderer {
@Override
boolean supports(DomainProperty property) {
property.persistentProperty instanceof Association
}
@Override
Closure renderInput(Map defaultAttributes, DomainProperty property) {
{ -> }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy