Interface PropertyEditContext

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Messages getContainerMessages()
      Returns the message catalog for the container of the BeanEditForm, which is the correct place to look for strings used for labels, etc.
      getLabel()
      Returns the user-presentable label, for use with the Label component, or to be integrated into any validation error messages.
      getPropertyId()
      Returns a string that identifies the property, usually the property name.
      getPropertyType()
      Returns the type of the property being edited.
      getPropertyValue()
      Returns the current value of the property being edited (the context encapsulates the object containing the property).
      FieldTranslator getTranslator​(Field field)
      Returns the translator appropriate for the field (this is based on the property type).
      FieldValidator getValidator​(Field field)
      Returns the FieldValidator for the field.
      void  value)
      Updates the value of the property being edited (the context encapsulates the object containing the property).
    • Method Detail

      • getPropertyValue

         getPropertyValue()
        Returns the current value of the property being edited (the context encapsulates the object containing the property).
      • setPropertyValue

        void  value)
        Updates the value of the property being edited (the context encapsulates the object containing the property).
        Parameters:
        value - new value for the property
      • getLabel

         getLabel()
        Returns the user-presentable label, for use with the Label component, or to be integrated into any validation error messages.
      • getPropertyId

         getPropertyId()
        Returns a string that identifies the property, usually the property name. This is used as the basis for the client-side client id.
      • getPropertyType

         getPropertyType()
        Returns the type of the property being edited.