Annotation Interface AllowClientUpdates


Deprecated.
This functionality is bound to template model which is not supported for lit template. You can use @Id mapping and the component API or the element API with property synchronization instead. Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
Defines the access control setting for a model property. By default, updates are allowed only for properties that are defined with a two-way binding in the template. Two-way bindings are defined using the {{propertyName}} or {{propertyName:updatingEvent syntax in templates.

Use this annotation on accessors in your TemplateModel class to define whether it's allowed for the client to update server-side model values

Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Deprecated.
    Internal annotation to enable use of multiple AllowClientUpdates annotations.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
    A dot separated path of the sub property that this access control setting applies to.
    Deprecated.
    The client update mode to use for the designated property.
  • Element Details

    • value

      Deprecated.
      The client update mode to use for the designated property.
      Returns:
      the client update mode to use.
      Default:
      ALLOW
    • path

      String path
      Deprecated.
      A dot separated path of the sub property that this access control setting applies to. Empty string by default, which will apply the access control directly to the annotated property.
      Returns:
      the dot separated path to the bean property for which the access control applies, empty string by default
      Default:
      ""