Interface DomainOutputRenderer

All Superinterfaces:
DomainRenderer

public interface DomainOutputRenderer extends DomainRenderer
Used to render markup that represents how single domain class property will be displayed
  • Method Summary

    Modifier and Type
    Method
    Description
    groovy.lang.Closure
    Defines how a given domain class property will be rendered in the context of a list of domains class instances
    groovy.lang.Closure
    Defines how a given domain class property will be rendered in the context of a single domain class instance

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

    supports
  • Method Details

    • renderListOutput

      groovy.lang.Closure renderListOutput(DomainProperty property)
      Defines how a given domain class property will be rendered in the context of a list of domains class instances
      Parameters:
      property - The domain property to be rendered
      Returns:
      The closure to be passed to an instance of MarkupBuilder
    • renderOutput

      groovy.lang.Closure renderOutput(DomainProperty property)
      Defines how a given domain class property will be rendered in the context of a single domain class instance
      Parameters:
      property - The domain property to be rendered
      Returns:
      The closure to be passed to an instance of MarkupBuilder