Of course. If it is a panel then you'll do the same thing.
class MyPanel extends Panel{
class variable
}
--
View this message in context:
http://www.nabble.com/launching-a-modal-page-from-a-Panel-tp24760576p24776281.html
Sent from the Wicket - User mailing list archive at Nabbl
odalWindow.CloseButtonCallback() {
public boolean onCloseButtonClicked(AjaxRequestTarget target) {
return true;
}
});
add( myWindow );
Now, all you have to do is to call myWindow.show() in your ajaxlink.
--
View this message in context:
http://www.nabble.com/launching-a-modal-page-from-a-
Hi all,
I need to launch a modal from a panel.
I saw the examples
http://www.wicket-library.com/wicket-examples/ajax/modal-window but they
were very complicated for what I need and didn't show how I can launch it
from within a panel.
Let me try to explain:
I have a datatable where one of the column