Example usage for org.apache.wicket.extensions.markup.html.repeater.data.grid ICellPopulator detach

List of usage examples for org.apache.wicket.extensions.markup.html.repeater.data.grid ICellPopulator detach

Introduction

In this page you can find the example usage for org.apache.wicket.extensions.markup.html.repeater.data.grid ICellPopulator detach.

Prototype

void detach();

Source Link

Document

Detaches model after use.

Usage

From source file:org.sakaiproject.sitestats.tool.wicket.components.paging.infinite.AbstractInfinitePagingDataGridView.java

License:Educational Community License

/**
 * @see org.apache.wicket.markup.repeater.data.DataViewBase#onDetach()
 *//* ww w  .  j a va 2 s.  c  o m*/
@Override
protected void onDetach() {
    super.onDetach();
    if (populators != null) {
        for (ICellPopulator<T> populator : populators) {
            populator.detach();
        }
    }
}