Hi i have a problem. I have a popup that triggers on a page. If it contains
pageparameter popup it should trigger. The problem is that i want it to
disapear on the defaultdatatable paging. Becouse now everytime i press
something in the paging the popup popsup. Is there a way to override the
paging so i could remove the pageparameter?
SortableDataProvider<Doc> provider = new
SortableDocumentProvider(wrappedDocumentList);
provider.setSort("bla", true);
add(new DefaultDataTable<Doc>("dataTable", columns, provider,
DEFAULT_PAGE_SIZE));
String onLoadScript = "";
if (parameters.containsKey("popup")) {
LOGGER.debug("Adding popup window script");
onLoadScript = "";
}
add(new Label("onLoadScript",
onLoadScript).setEscapeModelStrings(false).setOutputMarkupId(true));
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/popup-to-disapear-on-defaultdatatable-paging-tp3943946p3943946.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]