Package org.apache.tapestry5.services
Interface PropertyOutputContext
-
public interface PropertyOutputContext
Provides context information needed when displaying a value. This interface is an integral part of theGrid
and similar output components. It is made available to components via anEnvironmental
annotation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Messages
getMessages()
Returns the message catalog appropriate for use.String
getPropertyId()
Returns a string that identifies the property, usually the property name.String
getPropertyName()
Returns the name of the property (which may, in fact, be a property expression).Object
getPropertyValue()
Returns the value of the property (the object being displayed is encapsulated by the context).
-
-
-
Method Detail
-
getPropertyValue
Object getPropertyValue()
Returns the value of the property (the object being displayed is encapsulated by the context).
-
getMessages
Messages getMessages()
Returns the message catalog appropriate for use. In practice, this is the message catalog of the container of theGrid
component. This is used, for example, to locate labels for fields, or to locate string representations of Enums.
-
getPropertyId
String getPropertyId()
Returns a string that identifies the property, usually the property name. This is used as the basis for the client-side client id.
-
getPropertyName
String getPropertyName()
Returns the name of the property (which may, in fact, be a property expression).
-
-