| org.apache.tapestry.services.MetaDataLocator
All known Subclasses: org.apache.tapestry.internal.services.MetaDataLocatorImpl,
MetaDataLocator | public interface MetaDataLocator (Code) | | Used to lookup meta data concerning a particular component. The primary source of meta data is
the meta data defined for the component, accessed via
ComponentModel.getMeta(String) .
This includes meta data defined by base classes. When meta-data for a particular component can
not be found, a search works up the containment hierarchy (to the component's container, and the
container's containter, and so on). If that proves unfruitful, a system of defaults is
provided by configuration and matched against the containing page's logical name.
|
Method Summary | |
String | findMeta(String key, ComponentResources resources) Searches for the value for the corresponding key.
Parameters: key - the key used to locate the meta data (case insensitive) Parameters: resources - the resources of the initial component used in the search the value if found (in the component, the component's container, etc. |
findMeta | String findMeta(String key, ComponentResources resources)(Code) | | Searches for the value for the corresponding key.
Parameters: key - the key used to locate the meta data (case insensitive) Parameters: resources - the resources of the initial component used in the search the value if found (in the component, the component's container, etc. or via a folderdefault) or null if not found anywhere |
|
|