public String input() {
// 将部门列表数据
List depList = depEbi.getAll();
put("depList", depList);
//加载角色数据
List roleList = roleEbi.getAll();
put("roleList",roleList);
if (em.getUuid() != null) {
em = empEbi.get(em.getUuid());
//集合->数组
roleUuids = new Long[em.getRoles().size()];
int i = 0;
for(RoleModel rm:em.getRoles()){
roleUuids[i++] = rm.getUuid();
}
}
return INPUT;
}
######################################################################3
/s:checkboxlist
###########################################################################
使用了网上一些控制换行的方法都不行,包括修改源代码
使用的版本struts2-core-2.3.7.jar