view 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
line wrap: on
line source
<%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%>
<%Object diagramm = request.getAttribute("diagramm");
if (diagramm != null){
    String mimeType = "image/png";// TODO: get from SessionModel SessionModelFactory.getInstance().getSessionModel(request).
    String target = "chart"; // TODO: get from SessionModel
    %>
    
    <div id="diagram">
        <img src='<%=response.encodeURL("out.do?mimetype="+mimeType+"&target="+target+"&uid="+System.currentTimeMillis())%>' alt='Chart'>
    </div>
<%}%>

http://dive4elements.wald.intevation.org