tim@18: <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> ingo@665: <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-el" prefix="bean-el" %> tim@8: <%@page import="de.intevation.gnv.artifactdatabase.objects.ArtifactObject"%> ingo@665: <%@page import="de.intevation.gnv.action.CommunicationKeys"%> tim@8: <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%> tim@8: <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%> ingo@581: <% ingo@581: SessionModel sm = SessionModelFactory.getInstance().getSessionModel(request); ingo@581: Object ui = request.getAttribute("ui"); ingo@408: Object staticui = request.getAttribute("staticui"); ingo@571: Object chart = request.getAttribute("chart"); ingo@410: Object statistic = request.getAttribute("statistic"); ingo@569: Object histogram = request.getAttribute("histogram"); ingo@710: Object wms_published = request.getAttribute("wms_published"); ingo@581: tim@971: if (chart == null && statistic == null && histogram == null && wms_published == null) { ingo@581: boolean supportChart = sm.getOutputMode("chart") != null; ingo@581: if (supportChart) { ingo@581: chart = "true"; ingo@581: } ingo@581: } ingo@710: ingo@694: ingo@694: Object exceptionMessage = request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_MESSAGE_ID); ingo@694: exceptionMessage = (exceptionMessage != null ? exceptionMessage.toString().replaceAll(" ", ".").replaceAll(":",".").toLowerCase() : null); ingo@694: exceptionMessage = (exceptionMessage != null && exceptionMessage.toString().endsWith(".") ? exceptionMessage.toString().substring(0,exceptionMessage.toString().length()-1) : exceptionMessage); ingo@710: ingo@991: Object sessionException = request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_SESSION_ID); ingo@991: sessionException = (sessionException != null ? sessionException.toString().replaceAll(" ", ".").replaceAll(":",".").toLowerCase() : null); ingo@991: sessionException = (sessionException != null && sessionException.toString().endsWith(".") ? sessionException.toString().substring(0,sessionException.toString().length()-1) : sessionException); ingo@991: ingo@694: boolean showmapviewercallBody = request.getAttribute("MAPVIEWERCALL") != null; ingo@694: ingo@694: String exceptionProject = (String) request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_PROJECT); ingo@694: exceptionProject = exceptionProject != null ? exceptionProject.toLowerCase() : null; ingo@694: exceptionProject = exceptionProject != null ? exceptionProject.replaceAll(" ", ".") : null; tim@12: %> ingo@694: ingo@694: <%-- div container for project loading/saving and error messages related to this --%> ingo@694:
ingo@695: ingo@694: ingo@695: ingo@695: ingo@694: ingo@694:
ingo@695: "> ingo@695: | ingo@695: ingo@694: ingo@695:
ingo@695:
" method="post" enctype="multipart/form-data"> ingo@708:
ingo@708:
"/>
ingo@695:
ingo@695:
ingo@694:
ingo@694: <%if (exceptionProject != null) {%> ingo@694:
ingo@694: ingo@694:
ingo@694: "> ingo@694: ingo@694: ingo@694:
ingo@694: <%}%> ingo@694: <%if (showmapviewercallBody){ %> ingo@694: ingo@694: <%}%> ingo@694:
ingo@694: ingo@710: ingo@710: ingo@710: ingo@710: ingo@710: ingo@710:
ingo@710: <%-- the parameter panel is following --%> ingo@710:
ingo@710: <%if (staticui == null){ %> ingo@710: ingo@710: <%} else {%> ingo@710:
ingo@710:
ingo@710: ingo@710: <%=staticui.toString()%> ingo@710:
ingo@710:
ingo@665: <%}%> ingo@694: ingo@710: <%-- render the dynamic part to feed the state and advance to the next state --%> sascha@993: <%if (ui != null) { %> sascha@993: <%= ui.toString().replaceAll(" ", "") %> ingo@710: <%}%> ingo@569: ingo@710: <%-- render export options if existing for this state --%> ingo@710: ingo@710: ingo@710: <%if (chart != null) {%> ingo@710: ingo@710: <%}%> ingo@710: ingo@710: ingo@710: <%if (histogram != null) {%> ingo@710: ingo@710: <%}%> ingo@710: ingo@710: <%-- render wms options --%> tim@971: <%if (wms_published != null) {%> ingo@710: ingo@710: <%}%> ingo@710:
ingo@710:
ingo@710: <%if (exceptionMessage != null){ %> ingo@710:
ingo@710: ingo@710:

ingo@710: "> ingo@710: ingo@710: ingo@710:

ingo@710:
ingo@710: <%}%> ingo@991: <%if (sessionException != null){ %> ingo@991:
ingo@991: ingo@991:
ingo@991: <%}%> ingo@710: <%if (chart != null) {%> ingo@710: <%-- render chart options if existing for this state --%> ingo@710: ingo@710: <%}%> ingo@710: ingo@710: <%-- render statistic --%> ingo@710: <%if (statistic != null) {%> ingo@710: ingo@710: <%}%> ingo@710: ingo@710: <%-- render histogram --%> ingo@710: <%if (histogram != null) {%> ingo@710: ingo@710: <%}%> ingo@710: ingo@710: <%-- render wms layer --%> ingo@710: <%if (wms_published != null) {%> tim@971: ingo@710: <%}%> ingo@710: