/** Adds the event listener for the onPaging event. */
private void addPagingListener(Paginal pgi) {
if (_pgListener == null)
_pgListener = new EventListener() {
public void onEvent(Event event) {
final PagingEvent evt = (PagingEvent)event;
Events.postEvent(
new PagingEvent(evt.getName(), Grid.this,
evt.getPageable(), evt.getActivePage()));
}
};
pgi.addEventListener(ZulEvents.ON_PAGING, _pgListener);
if (_pgImpListener == null)