/** 列表每页显示的数据条数 */ private int pageSize= 10;
DataTable dataViewTable = (DataTable) FacesContext .getCurrentInstance().getViewRoot() .findComponent("tabView:viewForm:noticeUnitViewDataTable"); if(null != dataViewTable){ dataViewTable.setRows(this.pageSize); dataViewTable.setFirst(0); }