获取访问action的页面信息
// FacesContext facesContext = FacesContext.getCurrentInstance();
// ExternalContext externalContext = facesContext.getExternalContext();
// Map<String, Object> headerMap = externalContext.getRequestMap();
// String referer = (String) headerMap.get("javax.servlet.forward.request_uri");
String referer = Pages.getCurrentViewId();