Greetings, Wicket Wizards,
Lots of modal window questions lately in this list. I searched but none
seems to address my particular problem, so I apologize in advance for adding
to the stack.
I have been displaying a table with PagingNavigator in a Panel that was
added to a regular Wicket page and it worked perfectly. Here's a snippet of
the code, which does nothing unusual:
DataView dataView = new DataView("sensorDataDetailsList", provider) {
@Override
protected void populateItem(Item item) {
SensorDataDetails details = (SensorDataDetails)
item.getModelObject();
item.add(new Label("timestamp", details.getTimeStamp()));
// stuff deleted.
}
};
dataView.setItemsPerPage(itemsPerPage);
add(dataView);
add(new PagingNavigator("navigator", dataView));
Recently, I redesigned my UI, and now I want this same table to appear in a
Modal Window. So, I added the Panel containing this table to the Modal
Window.
The problem is that when the Modal window appears and I click on the paging
navigator link to move to the next page of data, I get a popup indicating I
am leaving the modal window. If I say OK, then the modal window (and thus
my table) disappears.
It appears that I am in need of some Special Magic to make PagingNavigator
work within a Modal Window. Could someone please enlighten me?
Thanks very much!
Philip Johnson
--
View this message in context:
http://www.nabble.com/How-to-make-PagingNavigator-work-in-Modal-window--tp18781353p18781353.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]