Hello Guys,
can I use some html code in myMainPage class which extends UI - this page is generated by Vaadin and I don’t use any html form ? If yes, then where and how I can paste some code into head section?
I want use code like this:
Unfortunately, it’s too late at the point UI.init is called - the HTML page the UI resides in is already generated and sent to the client. You can manipulate the page with javascript (eg. Page.getJavaScript().execute() or a custom extension) but I’m not sure if it helps in your use case.