org.apache.tapestry5.corelib.components
Class PropertyDisplay

java.lang.Object
  extended by org.apache.tapestry5.corelib.base.AbstractPropertyOutput
      extended by org.apache.tapestry5.corelib.components.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
NameDescriptionTypeFlagsDefaultDefault PrefixSince
beanBlockSourceSource for property display blocks. This defaults to the default implementation of org.apache.tapestry5.services.BeanBlockSource.org.apache.tapestry5.services.BeanBlockSourceRequired, Not Nullprop
modelModel for property displayed by the cell.org.apache.tapestry5.beaneditor.PropertyModelRequired, Not Nullprop
objectIdentifies 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).ObjectRequiredprop
overridesUsed to search for block parameter overrides (this is normally the enclosing Grid component's resources).org.apache.tapestry5.PropertyOverridesRequired, Not Nullprop

Constructor Summary
PropertyDisplay()
           
 
Method Summary
 
Methods inherited from class org.apache.tapestry5.corelib.base.AbstractPropertyOutput
getPropertyModel, renderPropertyValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDisplay

public PropertyDisplay()


Copyright © 2003-2012 The Apache Software Foundation.