Class PropertyDisplay


  • public class PropertyDisplay
    extends AbstractPropertyOutput
    Outputs a single property value. Overrides for individual properties come from block parameters whose name matches the property id. This component is rarely used on its own, but is a critical piece of the BeanDisplay component.
    Component Parameters 
    NameTypeFlagsDefaultDefault Prefix
    beanBlockSourceorg.apache.tapestry5.services.BeanBlockSourceRequired, Not Null prop
    Source for property display blocks. This defaults to the default implementation of org.apache.tapestry5.services.BeanBlockSource.
    modelorg.apache.tapestry5.beanmodel.PropertyModelRequired, Not Null prop
    Model for property displayed by the cell.
    objectObjectRequired prop
    Identifies the object being rendered. The component will extract a property from the object and render its value (or delegate to a org.apache.tapestry5.Block that will do so).
    overridesorg.apache.tapestry5.PropertyOverridesRequired, Not Null prop
    Used to search for block parameter overrides (this is normally the enclosing Grid component's resources).