comparison gnv/src/main/java/de/intevation/gnv/action/CreateChartAction.java @ 991:33198e55371c

Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection. gnv/trunk@1192 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 10 Jun 2010 15:13:08 +0000
parents 0441e78cd900
children 28a0628b11b0
comparison
equal deleted inserted replaced
990:56b22bc68dfa 991:33198e55371c
39 ActionMapping mapping, 39 ActionMapping mapping,
40 ActionForm form, 40 ActionForm form,
41 HttpServletRequest request, 41 HttpServletRequest request,
42 HttpServletResponse response) 42 HttpServletResponse response)
43 throws Exception { 43 throws Exception {
44 if (isSessionExhausted(request)) {
45 return sessionExhaustedForward(mapping, form, request, response);
46 }
47
44 logger.debug("Create chart."); 48 logger.debug("Create chart.");
45 49
46 SessionModel sm = SessionModelFactory.getInstance().getSessionModel( 50 SessionModel sm = SessionModelFactory.getInstance().getSessionModel(
47 request); 51 request);
48 sm.setDiagrammOptions(null); 52 sm.setDiagrammOptions(null);

http://dive4elements.wald.intevation.org