List of usage examples for org.springframework.web.context.request FacesRequestAttributes getSessionId
@Override
public String getSessionId()
From source file:de.inetsource.jsfforum.config.ViewScope.java
@Override public String getConversationId() { FacesContext facesContext = FacesContext.getCurrentInstance(); FacesRequestAttributes facesResquestAttributes = new FacesRequestAttributes(facesContext); return facesResquestAttributes.getSessionId() + "-" + facesContext.getViewRoot().getViewId(); }
From source file:br.com.suricattus.surispring.spring.scope.ViewScope.java
public String getConversationId() { FacesContext facesContext = FacesContext.getCurrentInstance(); FacesRequestAttributes facesRequestAttributes = new FacesRequestAttributes(facesContext); return facesRequestAttributes.getSessionId() + "-" + facesContext.getViewRoot().getViewId(); }