Directory

← Back

BrowserWindowOpener Add-on

A Simple Browser Window Opener

Author

Rating

Popularity

<100

This addon provides a button that opens a layout in a new browser window (tab)

Sample code

	WindowOpenerButton btn = new WindowOpenerButton(PopupConfiguration.builder().build(), new MyLayout());
		setContent(btn);
@Theme("themedark")
public class MyPopupUI extends BrowserPopupUI {

	private static final long serialVersionUID = 8187173344047398566L;

	public MyPopupUI() {
		super();
                // your code here
	}
       
        // override init methods ...
}
new WindowOpenerButton(
			PopupConfiguration.builder().clazz(MyPopupUI.class).width(1280).height(768).build(), 
			new LayoutListener() {

			@Override
			public Layout event() {
				// to get always the current layout attached to popup
				return <your layout>
			}
});

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

  • removed previous bugfix for open the window because this caused in bad loading
Released
2018-08-15
Maturity
STABLE
License
MIT License

Compatibility

Framework
Browser
Browser Independent

BrowserWindowOpener Add-on - Vaadin Add-on Directory

A Simple Browser Window Opener BrowserWindowOpener Add-on - Vaadin Add-on Directory
This addon provides a button that opens a layout in a new browser window (tab)
Online