Openning a Popup window on button clcick


I have a table component which displays buttons in on of the columns. When the user clicks on these buttons i should be able to open a popup window passing an object to the popup window.Are there any code samples how to achieve this. I don’t have reference to the main Window inside my column generator.
How to achieve this. Can some body help me with some code samples.


I think you can get reference to the main window with getApplication().getMainWindow()


Also, component’s getWindow() returns the window it’s attached to.

Thanks kerola

I am able to open a window now. But the requirement is to open a PopupView on click of the button. The PopupView object does not have a constructor which would take button object. Is it posssible to open a popupView on button click

waiting for a solution