暂时没有太多时间求证,暂时记录在这里,根据这几句话好像是说valueList的分页也是假分页,仅仅是取ValueList的subList?
DefaultValueListHandlerImpl implements ValueListHandler
if ((adapterType & ValueListAdapter.DO_PAGE) == ValueListAdapter.DO_PAGE)
{
if (valueList.getValueListInfo() != null && valueList.getList() != null
&& valueList.getValueListInfo().getPagingNumberPer() < valueList.getValueListInfo().getTotalNumberOfEntries())
{
int start = (valueList.getValueListInfo().getPagingPage() - 1) * valueList.getValueListInfo().getPagingNumberPer();
int end = Math.min(start + valueList.getValueListInfo().getPagingNumberPer(), valueList.getList().size());
valueList = new DefaultListBackedValueList(valueList.getList().subList(start, end), valueList.getValueListInfo());
if (LOGGER.isDebugEnabled())
{
LOGGER.debug("The ValueList was paged by post process.");
}
}
}