@Override protected void initComponent() { form = new FWForm("form"); body.add(form); cnt = new FWLabel("cnt"); cnt.setRenderBodyOnly(true); form.add(cnt); // 数据容器生成 customerDP = new GridDataProvider(); // 明细容器生成 rptList = new FWDataView("rptList", customerDP, this); // 每页件数设定 rptList.setItemsPerPage(10); // 控件追加 form.add(rptList); // 分页处理 paging = new ILoanCustomPaging("paging", rptList, form, this); form.add(paging); wealthManager = new FWLabel("wealthManager"); wealthManager.setRenderBodyOnly(true); form.add(wealthManager); }
protected void initComponent() { form = new FWForm("userform"); this.add(form); cnt = new FWLabel("cnt"); cnt.setRenderBodyOnly(true); form.add(cnt); // 数据容器生成 userDP = new GridDataProvider(); // 明细容器生成 rptList = new FWDataView("rptList", userDP, this); // 每页件数设定 rptList.setItemsPerPage(10); // 控件追加 form.add(rptList); // 分页处理 paging = new ILoanCustomPaging("paging", rptList, form, this); form.add(paging); txtFind = new FWTextField("txtFind"); form.add(txtFind); findBtn = new FWSubmitLink("findBtn", this); form.add(findBtn); }
@Override protected void initComponent() { // 用户损益表页面跳转至本页面时user的取得 if (!StringUtils.isEmpty(getParameter(EncryptUtil.encryptMD5("oidUserId")))) { oidUserId = new DesEncryptUtil().decrypt(getParameter(EncryptUtil.encryptMD5("oidUserId"))); } // 用户账户资金查询页面跳转至本页面时currentPage保存 if (!StringUtils.isEmpty(getParameter("currentPage"))) { currentPage = getParameter("currentPage"); } // 用户账户资金查询页面跳转至本页面时userType保存 if (!StringUtils.isEmpty(getParameter("userType"))) { userType = getParameter("userType"); } // 用户账户资金查询页面跳转至本页面时find保存 if (!StringUtils.isEmpty(getParameter("find"))) { find = getParameter("find"); } form = new FWForm("form", this); body.add(form); ddlYear = new FWDropDownChoice("ddlYear", year, true, this); form.add(ddlYear); ddlMonth = new FWDropDownChoice("ddlMonth", month, true, this); form.add(ddlMonth); cnt = new FWLabel("cnt"); cnt.setRenderBodyOnly(true); form.add(cnt); // 数据容器生成 recoverDetailDP = new GridDataProvider(); // 明细容器生成 rptList = new FWDataView("rptList", recoverDetailDP, this); // 每页件数设定 rptList.setItemsPerPage(getItemsPerPage()); // 控件追加 form.add(rptList); // 分页处理 paging = new ILoanCustomPaging("paging", rptList, form, this); form.add(paging); lnkRtn = new FWLink("lnkRtn", this); form.add(lnkRtn); }
/** * 填充控件。 * * @param 没有 * @return 没有 */ @Override protected void initComponent() { form = new FWForm("form"); body.add(form); // 数据件数 cnt = new FWLabel("cnt"); form.add(cnt); grdContainser = new FWContainer("grdContainser"); form.add(grdContainser); // 明细容器生成 adminDP = new GridDataProvider(); rptList = new FWDataView("rptList", adminDP, this); // 每页件数设定 rptList.setItemsPerPage(getItemsPerPage()); grdContainser.add(rptList); // 分页处理 paging = new ILoanCustomPaging("paging", rptList, form, this); form.add(paging); // 产品类型 ddlFinanceProdId = new FWDropDownChoice("ddlFinanceProdId", new ArrayList<ChoiceNameValue>(), false, this); ddlFinanceProdId.setSelectedValue(""); ddlFinanceProdId.setAjaxOnSubmitEnable(true); form.add(ddlFinanceProdId); // 投资用户 txtFinanceCoutom = new FWTextField("txtFinanceCoutom"); form.add(txtFinanceCoutom); // 检索按钮 findBtn = new FWSubmitLink("findBtn", this); form.add(findBtn); ajaxComponentBind(); }