Declarative UI in Vaadin 14+

In Vaadin there was the possibility to describe UI using a declarative xml.
Is still possible in Vaadin 14+ ?
What’s the alternative ?
I could be interested in order to make customer able to do some customization without code modification (e.g. using xsl trasformations)
Tks
Tullio

Hi,

Perhaps you can check this add-on: https://vaadin.com/directory/component/declarative-ui-for-vaadin-flow

Tks for Your help, however I don’t understand a thing.

Looking the documentation of Vaadin Designer I understood that designer produces the wanted result in xml format.

However I didn’t understand the way in which such code could be used.

Why an add-on is needed in order to execute what Designer produced ?

Tks

Tullio

The referenced add-on does not depend on the Vaadin Designer, it is merely a up-to-date replacement for the Vaadin 8 declarative xml as you asked.

Tullio Bettinazzi:
Looking the documentation of Vaadin Designer I understood that designer produces the wanted result in xml format.

You don’t need an add-on to use what Vaadin Designer is producing. In Vaadin 8, Vaadin Designer is producing xml file, for Vaadin 10+, it’s producing a html/js file: https://vaadin.com/docs/v14/designer/using-designer/designer-faq.html#how-do-vaadin-8-and-vaadin-10-designs-differ

In Vaadin 8, there was a specific declarative ui, in Vaadin 14, it’s “only” a html/webcomponents structure that run on the browser.

The add-on I linked is a declarative UI for Vaadin 14 (The xml is parsed on the server side and transformed to Java Components)

I hope this helps.

Tks for your help.
Do you know if the add-on uses the Vaadin 8 syntax or a different one ?
Is there a documentation ?
Tks

Hi,

I don’t know but you can probably ask directly to the maintainer.