protected Integer getIntegerRequestParameterByMap(String name) {
   String val = JsfHelper.getRequestParameterMap(FacesContext.getCurrentInstance()).get(name);
   if (StringUtils.isNotBlank(val) && StringUtils.isNumeric(val)) {
     return Integer.parseInt(val);
   } else {
     return null;
   }
 }
 /** 得到当前网站ID */
 protected Integer getCurrentSiteID() {
   return JsfHelper.getIntegerParameter(FacesContext.getCurrentInstance(), "siteID");
 }
 /** 置session信息 */
 protected void setAttribute(String name, Object value) {
   JsfHelper.getSession(FacesContext.getCurrentInstance()).setAttribute(name, value);
 }
 /** 得到session信息 */
 protected String getAttribute(String name) {
   return (String) JsfHelper.getSession(FacesContext.getCurrentInstance()).getAttribute(name);
 }
 /** 得到当前用户ID */
 protected Integer getCurrentUserID() {
   return RequestHandler.getCurrentAdmin(JsfHelper.getRequest(FacesContext.getCurrentInstance()));
 }
 /** 得到当前请求中的参数 */
 protected Integer getIntegerParameter(String name) {
   return JsfHelper.getIntegerParameter(FacesContext.getCurrentInstance(), name);
 }
 /** 得到当前班级管理员 */
 protected Teacher getCurrentTeacher() {
   return (Teacher)
       JsfHelper.getSession(FacesContext.getCurrentInstance())
           .getAttribute(Contants.CLASS_TEACHER);
 }
 protected String getRequestParameterByMap(String name) {
   return JsfHelper.getRequestParameterMap(FacesContext.getCurrentInstance()).get(name);
 }
 protected HttpSession getSession() {
   return JsfHelper.getSession(FacesContext.getCurrentInstance());
 }
 protected HttpServletResponse getResponse() {
   return JsfHelper.getResponse(FacesContext.getCurrentInstance());
 }
 protected HttpServletRequest getRequest() {
   return JsfHelper.getRequest(FacesContext.getCurrentInstance());
 }