I am successfully opening new browser windows with BrowserWindowOpener.
Question: How do I pass some information to the newly instantiated UI subclass?
The
I have not tried this, but a quick look at the javadoc suggests that by using BrowserWindowOpener#setParameter or BrowserWindowOpener#setUriFragment you can pass parameters into the UI.
E.g.
BrowserWindowOpener bookOpener = new BrowserWindowOpener( BookUI.class );
bookOpener.setParameter("startLetter", "A");
...
class BookUI {
protected abstract void init(VaadinRequest request){
String startLetter = request.getParameter("startLetter");
// Etc
}
}