java - Vaadin7: Use BrowserWindowOpener and determine the URL on demand -
i cannot find way open new window new browserwindowopener
class , determine url opened on demand.
i tried overriding handleconnectorrequest()
it's not called when user clicks component.
the use of browserwindowopener
looks this:
ondemandwindowparameterprovider windowparameterprovider = new ondemandwindowparameterprovider() { @override public string getwindowname () { return "window-name"; } @override public string geturlondemand () { return "www.google.ch"; } }; ondemandbrowserwindowopener opener = new ondemandbrowserwindowopener(windowparameterprovider); opener.extend(label);
the class ondemandbrowserwindowopener
calls 2 methods on ondemandwindowparameterprovider
determine both windowname
, url when handleconnectorrequest()
called. not work.
what when overwrite method public void attach()
? late needs?
Comments
Post a Comment