Directory

← Back

HtmlTemplate

Use simple HTML files as server-side Vaadin templates

Author

Rating

Popularity

<100

Like PolymerTemplate but everything is evaluated on the server. You have full access to all elements from the template, but you cannot use any template binding and thus also no TemplateModel or @EventHandler.

Compatibility

1.0.01.1.01.2.0
(24.4)
(24.3)
(24.2)
(24.1)
10-24YYY
(8.21)
(8.20)
(8.19)
(8.18)
(8.17)
(8.16)
(8.15)
(8.14)
(8.13)
(8.12)
(8.11)
(8.10)
(8.9)
(8.8)
(8.7)
(8.6)
(8.5)
(8.4)
(8.3)
(8.2)
(8.1)
(8.0)
(7.7)
(7.6)
(7.5)
(7.4)
(7.3)
(7.2)
(7.1)
(7.0)
(6.8)
(6.7)
(6.6)
(6.5)
(6.4)
(6.3)
(6.2)
(6.1)
(6.0)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Support reading templates from a custom stream

Released
2020-02-17
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 10+
Browser
N/A

HtmlTemplate - Vaadin Add-on Directory

Use simple HTML files as server-side Vaadin templates HtmlTemplate - Vaadin Add-on Directory
Like `PolymerTemplate` but everything is evaluated on the server. You have full access to all elements from the template, but you cannot use any template binding and thus also no `TemplateModel` or `@EventHandler`.
View on GitHub

HtmlTemplate version 1.0.0
Initial version

HtmlTemplate version 1.1.0
An attribute name prefixed with `.` is interpreted as a string property, `%` is used for numeric properties and `!` for boolean properties. The attribute name is converted from `dash-case` to `camelCase`.

HtmlTemplate version 1.2.0
Support reading templates from a custom stream

Online