| org.apache.tapestry.services.ComponentDefaultProvider
All known Subclasses: org.apache.tapestry.internal.services.ComponentDefaultProviderImpl,
ComponentDefaultProvider | public interface ComponentDefaultProvider (Code) | | A service that can be injected into a component to provide common defaults for various
parameters.
|
defaultBinding | Binding defaultBinding(String parameterName, ComponentResources resources)(Code) | | Checks to see if the container of the component (identified by its resources) contains a
property matching the component's id. If so, a binding for that property is returned. This is
usually the default for a
Field 's value parameter (or equivalent).
Parameters: parameterName - the name of the parameter Parameters: resources - the resources of the component for which a binding is needed the binding, or null if the container does not have a matching property |
|
|