view gnv/src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp @ 24:ec56ef8f3e58

Configurable logging integrated in the Web-Application gnv/trunk@120 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 24 Sep 2009 08:18:34 +0000
parents 367a00e4b9ad
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