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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Block` | `getBlock​(java.lang.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 Detail

    - #### 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​(java.lang.String name)

      Returns the Block with the given unique name.
      Throws:
        `java.lang.RuntimeException` - if no such block exists