org.apache.tapestry5.services.dynamic
Interface DynamicDelegate


public interface DynamicDelegate

Used by implementations of DynamicTemplate to obtain Blocks as replacements for elements within the template. The Blocks are passed to the Dynamic component as informal parameters.

Since:
5.3

Method Summary
 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 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(String name)
Returns the Block with the given unique name.

Throws:
RuntimeException - if no such block exists


Copyright © 2003-2012 The Apache Software Foundation.