• Deprecated Exceptions
    Exceptions and Description
    com.vaadin.flow.templatemodel.InvalidTemplateModelException

    Template model and polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog. For lit templates, you can use @Id mapping and the component API or the element API with property synchronization instead.

  • Deprecated Annotation Types
    Annotation Type and Description
    com.vaadin.flow.templatemodel.AllowClientUpdates

    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.

    com.vaadin.flow.templatemodel.Encode

    Template model and polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.

    com.vaadin.flow.component.polymertemplate.EventHandler

    Event handlers are not supported by Lit templates. Add a corresponding DOM listener from server side API instead or fire a custom event from client side template. Also you may handle an event directly on the client side and the server side may be called from this handler via this.$server._some_method. Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.

    com.vaadin.flow.templatemodel.Exclude

    Template model and polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.

    com.vaadin.flow.component.polymertemplate.Id

    Use com.vaadin.flow.component.template.Id instead. Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.

    com.vaadin.flow.templatemodel.Include

    Template model and polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog. For lit templates, you can use @Id mapping and the component API or the element API with property synchronization instead.

    com.vaadin.flow.component.polymertemplate.ModelItem

    There is no any replacement in Lit template since template model is not supported for lit template, but you may still use @EventData("some_data") to receive data from the client side or @Id mapping and the component API or the element API with property synchronization instead. TPolymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.

    com.vaadin.flow.component.polymertemplate.RepeatIndex

    dom-repeat is not support by Lit templates but you may still use @EventData("some_data") directly to receive data from the client side. Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.