Package org.apache.tapestry5.services.dynamic

# Interface DynamicDelegate

public interface DynamicDelegate
Used by implementations of `DynamicTemplate` to obtain `Block`s as replacements for elements within the template. The Blocks are passed to the `Dynamic` component as informal parameters.

Since:
  5.3

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Block`
  `getBlock(String name)`
  Returns the Block with the given unique name.
  `ComponentResources`
  `getComponentResources()`
  Returns the component resources (i.e., the `Dynamic` component), used when creating bindings for expansions located inside the dynamic template.

- ## Method Details

  - ### getComponentResources

    ComponentResources getComponentResources()
    Returns the component resources (i.e., the `Dynamic` component), used when creating bindings for expansions located inside the dynamic template.

  - ### getBlock

    Block getBlock(String name)
    Returns the Block with the given unique name.
    Throws:
      `RuntimeException` - if no such block exists