view gnv/src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp @ 28:d93ea867406b

CodeCleanup in Imported Javascriptfile gnv/trunk@130 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 24 Sep 2009 12:43:46 +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