Mercurial > dive4elements > gnv-client
comparison gnv/src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp @ 22:367a00e4b9ad
Some GUI-Improvements done
gnv/trunk@117 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Wed, 23 Sep 2009 15:17:32 +0000 |
parents | 87002cbd194c |
children | bba8fd97e549 |
comparison
equal
deleted
inserted
replaced
21:17c92f1f014b | 22:367a00e4b9ad |
---|---|
1 <%Object diagramm = request.getAttribute("diagramm");%> | 1 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%> |
2 <%if (diagramm != null){ %> | 2 <%Object diagramm = request.getAttribute("diagramm"); |
3 if (diagramm != null){ | |
4 String mimeType = "image/png";// TODO: get from SessionModel SessionModelFactory.getInstance().getSessionModel(request). | |
5 String target = "chart"; // TODO: get from SessionModel | |
6 %> | |
7 | |
3 <div id="diagram"> | 8 <div id="diagram"> |
4 <%=diagramm.toString()%> | 9 <img src='<%=response.encodeURL("out.do?mimetype="+mimeType+"&target="+target+"&uid="+System.currentTimeMillis())%>' alt='Chart'> |
5 </div> | 10 </div> |
6 <%}%> | 11 <%}%> |