How to pass arguments to new UI instance being created by BrowserWindowOpen

I am successfully opening new browser windows with
BrowserWindowOpener
.

Question: How do I
pass some information to the newly instantiated UI subclass
?

For example, let’s say my app opens a window listing word definitions for words starting with a particular letter of the alphabet (A-Z). How do I tell the newly opening UI that it should show the “A” words, the “B” words, or the “V” words?

I noticed the
BrowserWindowOpenerState
class, but its use is not documented.

Hi Basil,

In case anyone else is looking for the answer to this on the forum,
I answered over on StackOverflow
.


BrowserWindoOpener#setParameter
In short, use and access the parameter in the
UI#init(VaadinRequest)
method (or do the same with URI Fragments)

HTH,

Cheers,

Charles.