ingo@569: <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> ingo@569: <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-el" prefix="bean-el" %> ingo@569: <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%> ingo@569: <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%> ingo@574: <%@page import="de.intevation.gnv.action.sessionmodel.DiagrammOptions"%> ingo@574: <%@page import="de.intevation.gnv.artifactdatabase.objects.OutputParameter"%> ingo@574: <%@page import="java.util.Collection"%> ingo@574: <%@page import="java.util.Iterator"%> ingo@569: <% ingo@569: SessionModel sm = SessionModelFactory.getInstance().getSessionModel(request); ingo@569: ingo@574: String parameterString = ""; ingo@574: String target = "histogram"; ingo@574: String mimeType = sm.getOutputMode(target).getMimeType(); ingo@574: ingo@574: DiagrammOptions diagrammOptions = sm.getDiagrammOptions(); ingo@574: Collection op = sm.getOutputMode(target).getOutputParameters(); ingo@574: ingo@574: if (op != null){ ingo@574: Iterator it = op.iterator(); ingo@574: while (it.hasNext()){ ingo@574: OutputParameter parameter = it.next(); ingo@574: parameterString = parameterString +"&"+parameter.getName()+"="+(diagrammOptions != null ? diagrammOptions.getValue(parameter.getName()): parameter.getValue()); ingo@574: } ingo@575: ingo@575: parameterString += "&bintype="+request.getAttribute("bintype"); ingo@574: } ingo@569: %> ingo@569: ingo@571: ingo@569:
ingo@574: <bean:message key="gnviewer.output.options.histogram.alt"/> ingo@569: