Interface DomainInputRenderer

  • All Superinterfaces:
    DomainRenderer

    public interface DomainInputRenderer
    extends DomainRenderer
    Used to render a single domain class property on a form
    • Method Detail

      • renderInput

        groovy.lang.Closure renderInput​(java.util.Map defaultAttributes,
                                        DomainProperty property)
        Defines how a given domain class property will be rendered in the context of a form
        Parameters:
        defaultAttributes - The default html element attributes
        property - The domain property to be rendered
        Returns:
        The closure to be passed to an instance of MarkupBuilder