/** * Initially and in the case of a reset all data should be pushed to the * client. */ @Override public void beforeClientResponse(boolean initial) { super.beforeClientResponse(initial); if (initial && getPushRows().isEmpty()) { // Make sure rows are pushed when component is attached. setPushRows(Range.withLength(0, getMinPushSize())); } sendDataToClient(initial); }
setPushRows(Range.between(0, getMinPushSize())); if (isAttached()) { attachDataProviderListener();