Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8a2fe660 authored by Gabriel Landais's avatar Gabriel Landais
Browse files

fix permalink, again...

git-svn-id: https://scm.gforge.inria.fr/authscm/ycadoret/svn/gazelle/Maven/gazelle-proxy/trunk@27967 356b4b1a-1d2b-0410-8bf1-ffa24008f01e
parent caa6a5a1
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.persistence.EntityManager;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.ihe.gazelle.proxy.dao.ProxyDAO;
......@@ -64,7 +65,9 @@ public class MessageBean {
}
public String displayURLOfPage() {
return Preferences.getProperty("cas.service");
HttpServletRequest req = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext()
.getRequest();
return req.getRequestURL().toString();
}
public void retrieveMessage(String channelType) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment