Label roleNameLabel = (Label) this.getFellow("roleName");
Label userNameLabel = (Label) this.getFellow("userName");
UserInfo userInfo = (UserInfo) Sessions.getCurrent().getAttribute("userInfo");
List dutyInfoList = (List) Sessions.getCurrent().getAttribute("dutyInfoList");
DutyInfo dutyInfo = (DutyInfo) dutyInfoList.get(0);
System.out.println("auth type id===============:" + dutyInfo.getTypeId() + " " + dutyInfo.getAuthName());
orgNameLabel.setValue(userInfo.getOrgName());
userNameLabel.setValue(userInfo.getUserName());
roleNameLabel.setValue(dutyInfo.getAuthName());
SqlSession session = IBatisFactory.getInstance().getSqlSession();
if (funFormList == null) {
funFormList = session.selectList("Login.getFunAuth", new Integer(dutyInfo.getTypeId()));
}
logger.debug("funFormList size: " + funFormList.size() + " has saved to session");
// show the function