各位大神好:
小弟碰到以下问题不知道如何解决,pmdApprovorList为空时,文本框就成了只读了(图一为有值的时候,图二为空的时候),还请各位大神指点一二,谢谢!
后台action:
public String input()
throws Exception
{
this.request.setAttribute("menuName", StringUtil.filtrateString(this.request.getParameter("menuName")));
this.request.setAttribute("companyList", this.companyService.findAllAvalible());
if (this.id != null) {
this.request.setAttribute("pmdApprovorList", this.commonService.getMoreUserByRoleType("NPR_TT_PROJECT_USER", "TTPROJECTID", "PMD", this.id));
}
return "input";
}
页面显示:
PMD
/c:forEach