Hi,
Thanks for the info. it did fix my issue.
Regards,
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Opening-a-Modal-window-on-page-load-in-Wicket-6-tp4666083p4666111.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
Wicket sources are publicly available. Use them! It will save you a lot of
time! ;-)
Here is the related code:
Page page = createPage();
if (page == null)
{
throw new WicketRuntimeException(Error creating page for modal dialog.);
}
So it seems your page creator is null.
Martin Grigorov
hi,
i'm trying to open a modal window on page load to show some information to
the user. i found this link specifying how to create a modalwindow class
that gives this behavior.
https://cwiki.apache.org/confluence/display/WICKET/Modal+Windows
but in wicket 6 getWindowOpenJavascript() method is
hi,
my bad the method is there. but now i'm getting a exception when creating
the modal window and from the stack trace its hard to figure out whats the
issue.
here is my code.
on page load.
emailWarningModalWindow = new
EmailWarningModalWindow((emailwarningModal));