Package org.apache.tapestry5
Interface PropertyOverrides
- All Known Implementing Classes:
PropertyOverridesImpl
public interface PropertyOverrides
Provides access to blocks and messages used when overriding property labels, and property display or edit blocks.
Generally, this is a wrapper around
ComponentResources
. An explicit implementation of
this could be used to, for example, search for override blocks in multiple places.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetOverrideBlock
(String name) Searches for an override block with the given name.Returns the override messages (normally, the messages catalog for the component's container).
-
Method Details
-
getOverrideMessages
Returns the override messages (normally, the messages catalog for the component's container). -
getOverrideBlock
Searches for an override block with the given name.- Parameters:
name
- the name of the block (typically, an informal parameter to a component)- Returns:
- the block if found, or null if not found
-