org.apache.tapestry5.corelib.base.AbstractPropertyOutput

Base class for components that output a property value using a PropertyModel. There's a relationship between such a component and its container, as the container may provide messages in its message catalog needed by the Blocks that render the values. In addition, the component may be passed Block parameters that are output overrides for specified properties. Subclasses will implement a beginRender() method that invokes AbstractPropertyOutput#renderPropertyValue(MarkupWriter, String).

[JavaDoc]

Component Parameters

NameTypeFlagsDefaultDefault PrefixSinceDescription
beanBlockSourceBeanBlockSourceRequired, NOT Allow NullpropSource for property display blocks. This defaults to the default implementation of BeanBlockSource.
modelPropertyModelRequired, NOT Allow NullpropModel for property displayed by the cell.
objectObjectRequired, NOT Allow NullpropIdentifies the object being rendered. The component will extract a property from the object and render its value (or delegate to a Block that will do so).
overridesPropertyOverridesRequired, NOT Allow NullpropUsed to search for block parameter overrides (this is normally the enclosing Grid component's resources).

Back to index