Interface DomainInputRenderer

All Superinterfaces:
DomainRenderer

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

    Modifier and Type
    Method
    Description
    groovy.lang.Closure
    renderInput(Map defaultAttributes, DomainProperty property)
    Defines how a given domain class property will be rendered in the context of a form

    Methods inherited from interface org.grails.scaffolding.registry.DomainRenderer

    supports
  • Method Details

    • renderInput

      groovy.lang.Closure renderInput(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