public void initPage() { createList(); cnt.setValue(String.valueOf(userDP.getCount())); if (userDP.getCount() < 1) { alertInfo(MessageUtils.getMessage("INF0003", "个人用户")); paging.setVisible(false); } else { clearAlert(); paging.setVisible(true); } }
/** * 初始化画面。 * * @param 没有 * @return 没有 */ @Override public void initPage() { rptList.setCurrentPage(0); createList(); cnt.setValue(String.valueOf(adminDP.getCount())); if (adminDP.getCount() < 1) { alertInfo(MessageUtils.getMessage("INF0003", "投资信息")); paging.setVisible(false); } else { clearAlert(); paging.setVisible(true); } setInitComponentValue(); }
@Override public void initPage() { wmId = FWUrlUtil.decode(getParameter("WM_ID")); wmName = FWUrlUtil.decode(getParameter("WM_NAME")); wealthManager.setValue(wmName); createList(); cnt.setValue(String.valueOf(customerDP.getCount())); if (customerDP.getCount() < 1) { alertInfo(MessageUtils.getMessage("INF0003", "客户")); paging.setVisible(false); } else { clearAlert(); paging.setVisible(true); } }