Views can also be opened as pop-up windows. In the Palette, RapidClipse offers you the code template Popup Window.
private void button_buttonClick(Button.ClickEvent event) { PopupWindow.For(new CustomerView()).closable(true).draggable(true).resizable(true).modal(true).show(); } |
Close pop-up window - With an XdevButton you can close the pop-up window.
private void button_buttonClick(Button.ClickEvent event) { ((Window)this.getParent()).close(); } |