| org.apache.tapestry.services.PropertyEditContext
PropertyEditContext | public interface PropertyEditContext (Code) | | Defines a context for editting a property of a bean via
BeanEditForm . This value is made
available to blocks via the
Environmental annotation.
See Also: BeanBlockSource |
getContainerMessages | Messages getContainerMessages()(Code) | | Returns the message catalog for the container of the
BeanEditForm , which is the
correct place to look for strings used for labels, etc.
|
getLabel | String getLabel()(Code) | | Returns the user-presentable label, for use with the
Label component, or to be
integrated into any validation error messages.
|
getPropertyId | String getPropertyId()(Code) | | Returns a string that identifies the property, usually the property name. This is used as the
basis for the client-side client id.
|
getPropertyType | Class getPropertyType()(Code) | | Returns the type of the property being editted.
|
getPropertyValue | Object getPropertyValue()(Code) | | Returns the current value of the property being editted (the context encapsulates the object
containing the property).
|
setPropertyValue | void setPropertyValue(Object value)(Code) | | Updates the value of the property being editted (the context encapsulates the object
containing the property).
Parameters: value - new value for the property |
|
|