pager to return data for template. always return data with onMethod.