org.apache.tapestry5.corelib.components.PropertyEditor

Used to edit a single property of a bean. This is used primarily by BeanEditForm. Unlike BeanEditForm, the object to be edited must already exist and the must be passed in explicitly.

[JavaDoc]

Component Parameters

NameTypeFlagsDefaultDefault PrefixSinceDescription
beanBlockSourceBeanBlockSourceRequired, NOT Allow NullpropSource for property editor blocks. This defaults to the default implementation of BeanBlockSource.
modelBeanModelRequired, NOT Allow NullpropThe model that identifies the parameters to be edited, their order, and every other aspect.
objectObjectRequired, NOT Allow NullpropThe object to be edited by the BeanEditor. This will be read when the component renders and updated when the form for the component is submitted. Typically, the container will listen for a "prepare" event, in order to ensure that a non-null value is ready to be read or updated.
overridesPropertyOverridesNOT Allow NullthispropWhere to search for local overrides of property editing blocks as block parameters. This is normally the containing component of the PropertyEditor, but when the component is used within a BeanEditor, it will be the BeanEditor's block parameters that will be searched.
propertyStringRequired, NOT Allow NullpropIdentifies the property to be edited by the editor.

Back to index