Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Passing query string to div embedded Vaadin app
Is there a way how to pass parameters to Vaadin embedded in a <div> tag. I tried to define a query string in the initApplication javascript:
...
"browserDetailsUrl":"./myapp/?param1=value1¶m2=value2"),
...
but it does not work. In the ticket 6958 writes Artur Signell
Using getPage().getLocation().getQuery() (in Vaadin 7) you can get the query
string (parameters) even when the UI is embedded in a div.
without specifying how to pass the parameters via initApplication.
Any idea?
Robert Carnecky: Is there a way how to pass parameters to Vaadin embedded in a
tag. I tried to define a query string in the initApplication javascript:... "browserDetailsUrl":"./myapp/?param1=value1¶m2=value2"), ...
but it does not work. In the ticket 6958 writes Artur Signell
Using getPage().getLocation().getQuery() (in Vaadin 7) you can get the query string (parameters) even when the UI is embedded in a div.
without specifying how to pass the parameters via initApplication.
Any idea?
Did you succeed to achieve your goal? I have the same requirment.