annotate 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
rev   line source
22
367a00e4b9ad Some GUI-Improvements done
Tim Englich <tim.englich@intevation.de>
parents: 18
diff changeset
1 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%>
367a00e4b9ad Some GUI-Improvements done
Tim Englich <tim.englich@intevation.de>
parents: 18
diff changeset
2 <%Object diagramm = request.getAttribute("diagramm");
367a00e4b9ad Some GUI-Improvements done
Tim Englich <tim.englich@intevation.de>
parents: 18
diff changeset
3 if (diagramm != null){
367a00e4b9ad Some GUI-Improvements done
Tim Englich <tim.englich@intevation.de>
parents: 18
diff changeset
4 String mimeType = "image/png";// TODO: get from SessionModel SessionModelFactory.getInstance().getSessionModel(request).
367a00e4b9ad Some GUI-Improvements done
Tim Englich <tim.englich@intevation.de>
parents: 18
diff changeset
5 String target = "chart"; // TODO: get from SessionModel
367a00e4b9ad Some GUI-Improvements done
Tim Englich <tim.englich@intevation.de>
parents: 18
diff changeset
6 %>
367a00e4b9ad Some GUI-Improvements done
Tim Englich <tim.englich@intevation.de>
parents: 18
diff changeset
7
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
8 <div id="diagram">
22
367a00e4b9ad Some GUI-Improvements done
Tim Englich <tim.englich@intevation.de>
parents: 18
diff changeset
9 <img src='<%=response.encodeURL("out.do?mimetype="+mimeType+"&target="+target+"&uid="+System.currentTimeMillis())%>' alt='Chart'>
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
10 </div>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
11 <%}%>

http://dive4elements.wald.intevation.org