Mercurial > dive4elements > gnv-client
view gnv/ChangeLog @ 972:d0b187202f84
Added subfolders of third party libraries to svn-ignore.
gnv/trunk@1140 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 01 Jun 2010 13:01:25 +0000 |
parents | a0e6566cd111 |
children | 1bb54da8c8ed |
line wrap: on
line source
2010-06-01 Tim Englich <tim.englich@intevation.de> * src/main/webapp/scripts/openlayers, src/main/webapp/scripts/geoext/, src/main/webapp/scripts/ext/: Added subfolders of third party libraries to svn-ignore. 2010-06-01 Tim Englich <tim.englich@intevation.de> Integrated the Openlayers-libraray according to the Intevation-Demonstrator into the GUI. Now it is also possible to see all layers which are put into the WMS by the user. * src/main/webapp/WEB-INF/jsp/wmslayout.jsp: Removed the old JavaScript-references to the OpenLayers-Library and put the references to the JavaScript-Files and CSS-files for OpenLayers, ext and geoext into it. * src/main/webapp/WEB-INF/jsp/index.jsp: Removed the html-elements which are required to render the MapClient and put them into the file includes/display_map_inc.jsp. * src/main/webapp/WEB-INF/jsp/includes/display_map_inc.jsp: Added own include-file for all html-elements which are required to render the Mapclient. * src/main/webapp/scripts/viewport.jsp: Added a JSP-file which creats an JavaScript-file which includes the informations how to create the GUI of the WMS-Client.A JSP-file is required because we have to insert dynamic usespecific Data into the file. * src/main/webapp/scripts/layers.jsp: Added a JSP-file which creats an JavaScript-file which includes all layers which should be displayed by OpenLayers. A JSP-file is required because we have to insert dynamic usespecific Data into the file. * src/main/webapp/scripts/openlayers: Folder for storing the JavaScript-Library Openlayers. * src/main/webapp/scripts/openlayers/readme: Readme-File which explains which steps must be done to provide the required Version of the Openlayers-Library. * src/main/webapp/scripts/geoext/: Folder for storing the JavaScript-Library geoext. * src/main/webapp/scripts/geoext/readme: Readme-File which explains which steps must be done to provide the required Version of the GeoExt-Library. * src/main/webapp/scripts/ext/: Folder for storing the JavaScript-Library Ext. * src/main/webapp/scripts/ext/readme: Readme-File which explains which steps must be done to provide the required Version of the Ext-Library. 2010-05-27 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue198 * src/main/java/de/intevation/gnv/action/WMSAction.java: Changed the XPath of the layer name and the time to live. Rev1134 introduced a title for wms layers - the title has been used before to specify a wms layer. The time to live moved from layer node to abstract meta information. NOTE: Just the first layer of a wms request is visible in the OL application currently, because there is no group-layer anymore. 2010-05-27 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_wms_options_inc.jsp: Make use of the new method of DiagrammOptions to retrieve the value of an option as string that have been introduced in rev1129. 2010-05-27 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/jsp/header.jsp: Don't use the old session id when restarting the application - start the application without old id. 2010-05-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue289 * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Store chart/histogram options inserted by the user in the SessionModel. In the case of a wrong input we are able to reuse the previous value. Options inserted by the user are stored as native objects - no longer as string. * src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java: Store options as Object instead of String to keep the information about the type of the option (string, integer, double, etc). Furthermore there is a new method getValue(String key, Locale locale) that returns the value as string. Double values are formatted using the locale object. This method is used in the gui to display a well formatted i18n string. * src/main/webapp/WEB-INF/jsp/includes/display_histogram_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp: Make use of the new method in DiagrammOptions to retrieve the value as formatted string. 2010-05-25 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue272 * src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Read strings for example linestring/polygon from resource bundle and put them into the XSL-transformator. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added labels for links to insert example linestring/polygon. * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Don't use static strings for example linestring/polygon links but use the parameter that have been added in DescribeUIAction - which are i18n. 2010-05-25 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue266 * src/main/java/de/intevation/gnv/action/SwitchLanguageAction.java: Switching the language in the initial state will not throw an exception anymore, but the language is toggled. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java (getValue), src/main/java/de/intevation/gnv/util/XMLUtils.java (getXPath): Fixed some warnings which are displaied during the javadoc-generation. namespaceContext * src/main/java/de/intevation/gnv/action/StoreAction.java, src/main/java/de/intevation/gnv/action/ShowStatisticAction.java, src/main/java/de/intevation/gnv/action/SelectFisAction.java, src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java, src/main/java/de/intevation/gnv/action/PreviousArtifactStepAction.java, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java, src/main/java/de/intevation/gnv/action/LoadAction.java, src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java, src/main/java/de/intevation/gnv/action/DescribeUIAction.java, src/main/java/de/intevation/gnv/action/CreateHistogramAction.java, src/main/java/de/intevation/gnv/action/CreateChartAction.java, src/main/java/de/intevation/gnv/action/ArtifactDatabaseActionBase.java: Added more Javadocs. Did some Codeformatting. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/util/XSLTransformer.java: * src/main/java/de/intevation/gnv/util/XMLUtils.java: * src/main/java/de/intevation/gnv/util/ArtifactNamespaceContext.java: Added more Javadocs. Did some Codeformatting. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java, src/main/java/de/intevation/gnv/servlet/package.html: Added more Javadocs. Did some Codeformatting. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/propertiesreader/package.html, src/main/java/de/intevation/gnv/propertiesreader/ServletPropertiesReader.java, src/main/java/de/intevation/gnv/propertiesreader/MapPropertiesReader.java: Added more Javadocs. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultLayer.java: Added more Javadocs. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputParameter.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputMode.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultInputParameter.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultExportMode.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultArtifactStatisticValue.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultArtifactStatisticsSet.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactFactory.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/Artifact.java: Added more Javadocs. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (doAdvance): Added more Javadoc. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/package.html: Added more Javadoc. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/sessionmodel/package.html: Removed duplicate documentation from file. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/sessionmodel/package.html, src/main/java/de/intevation/gnv/action/sessionmodel/SessionModelFactory.java, src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java, src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java, src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java: Added more Javadocs. 2010-05-18 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/mapviewer/parser/package.html, src/main/java/de/intevation/gnv/action/mapviewer/parser/XMLExternalCallParser.java, src/main/java/de/intevation/gnv/action/mapviewer/parser/ExternalCallParserException.java, src/main/java/de/intevation/gnv/action/mapviewer/parser/ExternalCallParser.java: Added more Javadocs. Format some Linees of code which are longer than 80 Chars. 2010-05-17 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/mapviewer/package.html, src/main/java/de/intevation/gnv/action/mapviewer/MapViewerCallAction.java, src/main/java/de/intevation/gnv/action/mapviewer/ShowMapViewerCallBodyAction.java: Added more Javadocs. 2010-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/styles/calendar-blue.css: Deleted. Not needed any more. 2010-05-05 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/web.xml: Removed useless log4j configuration section. * src/main/webapp/WEB-INF/classes/log4j.properties: Adapted logging configuration for a productive system. 2010-04-28 Ingo Weinzierl <ingo.weinzierl@intevation.de> * Changes, NEWS, ChangeLog: Summarized changes. 2010-04-28 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java: Removed trailing whitespace. 2010-04-28 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Removed duplicated and unused imports. 2010-04-27 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue225 * src/main/webapp/WEB-INF/config/struts-config.xml: Added global forwards for imprint and info. * src/main/webapp/WEB-INF/jsp/header.jsp, src/main/webapp/WEB-INF/jsp/footer.jsp: Adapted links for imprint and info pages. * src/main/webapp/WEB-INF/jsp/imprint.jsp, src/main/webapp/WEB-INF/jsp/info.jsp: New pages for imprint and an info page. * src/main/resources/applicationMessages_en.properties: Renamed 'about' -> 'imprint'. 2010-04-27 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue225 * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Render a parameter matrix if there is just a single parameter as well. This allows us to render a legend for multi select boxes at another place - this fixes the missing legend for parameter select boxes. 2010-04-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/images/img.gif, src/main/webapp/images/stock_data-save.png, src/main/webapp/images/bg_fieldset.gif, src/main/webapp/images/list-item.gif, src/main/webapp/images/bg_fieldset_ie6.gif, src/main/webapp/scripts/calendar-setup.js, src/main/webapp/scripts/calendar-en.js, src/main/webapp/scripts/calendar.js, src/main/webapp/scripts/calendar-de.js, src/main/webapp/scripts/calendar-setup_stripped.js, src/main/webapp/scripts/jquery-1.4.2.min.js, src/main/webapp/scripts/calendar_stripped.js: Removed JavaScript files and images that are not used anymore. 2010-04-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added an error message if that should be displayed if an artifact is out of date. 2010-04-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue236 & Issue242 * src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java, src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Display error messages if the artifact server is down - this have been broken. 2010-04-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue258 * src/main/java/de/intevation/gnv/action/LoadAction.java: An error message is displayed if the user tried to load an existing project and the artifact server is down. 2010-04-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue259 * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp: Added target 'chart' as url request parameter when performing the html form to change the chart output. The reason for doing this is, that the InternetExplorer seems no to add the value of <input type="image"...> elements to the request object which is sent to the server. 2010-04-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue225 * src/main/webapp/styles/gnv.css: Reduced the size of links in header and footer. 2010-04-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue225 * src/main/webapp/styles/gnv.css: Adjusted the style of fieldsets - there is a gap between the fieldset border and input elements in IE now as well. The size of select boxes and textareas is fixed now. 2010-04-25 Ingo Weinzierl <ingo_weinzierl@web.de> Issue225 * src/main/webapp/styles/gnv.css: A new style class. Most of this is copied from default.css but a lot of content which is not used anymore has been removed. * src/main/webapp/WEB-INF/jsp/index.jsp: Restructuring. The parameter panel and the content div container are placed in a table row now. Very wide html elements in the content div container don't break the layout anymore. * src/main/webapp/WEB-INF/jsp/wmslayout.jsp: Moved html elements to render OpenLayers into index.jsp. Removed JavaScript code to adjust layout. * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp: Added style class to the table that contains the chart options. * src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Removed JavaScript code to adjust layout. * src/main/webapp/scripts/jquery-1.4.2.min.js: Removed. Not used anymore. 2010-04-23 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue225 * src/main/webapp/styles/default.css: Adapted some font size in the parameter panel. 2010-04-23 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue225 * src/main/webapp/WEB-INF/jsp/index.jsp: Replaced the standard html input button with an image as the choose button. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added specific strings that represent pathes to german and english load button images. * src/main/webapp/styles/default.css: New styles to adjust the upload box and the load button. * src/main/webapp/images/load.png, src/main/webapp/images/laden.png: Images for project load button. 2010-04-23 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue237 * src/main/webapp/WEB-INF/jsp/wmslayout.jsp: Added http request parameter to the mapserver path to simplify the GetCapabilities call for the user. 2010-04-23 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue254 * src/main/java/de/intevation/gnv/action/SwitchLanguageAction.java: New controller to toggle between german and english language. * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java, src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Use the locale stored in the artifact to create the user interface. At the beginning, this will be the locale of the request object. If the user chooses another language by calling the SwitchLanguageAction controller, this locale becomes the prefered locale, and the browser settings are no more relevant. * src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java, src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java: Now, the SessionModel has two methods to set and retrieve the current locale which is used to create a language specific user interface. * src/main/java/de/intevation/gnv/action/sessionmodel/SessionModelFactory.java: Initial creation of the SessionModel gets the locale of the request object. If this locale is changed by the user via SwitchLanguageAction controller, changes in the browser settings won't have an effect anymore. * src/main/webapp/WEB-INF/config/struts-config.xml: Add the controller to switch between languages. * src/main/webapp/WEB-INF/jsp/header.jsp: The header contains a link to toggle between german and english language - a click on it will trigger the SwitchLanguageAction. 2010-04-22 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue221 * src/main/java/de/intevation/gnv/action/ArtifactDatabaseActionBase.java: Added methods to quote html characters in strings. * src/main/java/de/intevation/gnv/action/WMSAction.java: Call methods to quote html characters in strings inserted by the user. Used to be safe from html injections. 2010-04-19 Hans Plum <hans@intevation.de> Issue 241: Set Path to Tomcat Standard Logging * src/main/webapp/WEB-INF/classes/log4j.properties: Adapted logging path for webclient gnv to the central tomcat mechamism in order to resolve the dependency to the artefact-server directory layout. 2010-04-19 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue227 * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Added a new method to retrieve the current locale. * src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Feed the xsl transformer with a tooltip text for the back-button. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added a tooltip text for the back-button. * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Use the tooltip text that is fed in DescribeUIAction. * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Removed a PropertiesReader which isn't used there. 2010-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/resources/applicationMessages.properties: Forgot a dot. ;-) 2010-04-19 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue224 * src/main/resources/applicationMessages.properties: Fixed a typo in the german text of the overlay display. 2010-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/gnv/**/*.java: Using unix line endings only. 2010-04-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/gnv/**/*.java: Removed trailing whitespace. 2010-04-14 Hans Plum <hans@intevation.de> * src/main/webapp/WEB-INF/jsp/wmslayout.jsp: Adapted background layers to a global and local visibale layer (World Relief (2 Minute Raster) 2010-04-14 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Changed language strings. * src/main/webapp/styles/default.css: Adapted css classes. * src/main/webapp/WEB-INF/jsp/wmslayout.jsp, src/main/webapp/WEB-INF/jsp/header.jsp, src/main/webapp/WEB-INF/jsp/includes/display_histogram_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp, src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Adapeted design. * src/main/webapp/scripts/gnviewer.js: Added javascript methods to adapt the size of the content panel. * src/main/webapp/scripts/jquery-1.4.2.min.js: JavaScript library doing general javascript stuff. 2010-04-13 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added resource pointing to the image of the 'choose'-button. * src/main/webapp/images/auswaehlen.png, src/main/webapp/images/choose.png: Selfmade 'choose'-buttons for english and german language. * src/main/webapp/WEB-INF/jsp/index.jsp, src/main/webapp/WEB-INF/jsp/includes/display_fis_inc.jsp: Removed standard html input buttons with selfmade ones. 2010-04-13 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/styles/default.css: Adapted style of links. * src/main/webapp/WEB-INF/jsp/index.jsp: Replaced input buttons for loading/saving projects with links. * src/main/webapp/WEB-INF/jsp/wmslayout.jsp, src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Added javascript function to toggle the visibility of the file upload button/chooser. 2010-04-13 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Fixed a display bug in the measurement panel for one parameter. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: New strings for header and footer links. * src/main/webapp/styles/default.css: Added and adapted style classes. * src/main/webapp/WEB-INF/jsp/header.jsp: Added links for restarting the app, retrieving information about it and switching the current language. * src/main/webapp/WEB-INF/jsp/footer.jsp: Added navigation links to 'home', a contact page and an about page. * src/main/webapp/WEB-INF/jsp/wmslayout.jsp, src/main/webapp/WEB-INF/jsp/mainlayout.jsp, src/main/webapp/WEB-INF/jsp/index.jsp, src/main/webapp/WEB-INF/jsp/includes/display_histogram_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_histogram_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_wms_options_inc.jsp: Changed the design of the whole application regarding the bsh styleguide. 2010-04-13 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactFactory.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactStatisticValue.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultArtifactStatisticValue.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ParametrizedArtifactFactory.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ParametrizedArtifactObject.java : Added more Javadocs. 2010-04-13 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/package.html, src/main/java/de/intevation/gnv/artifactdatabase/objects/map/package.html, src/main/java/de/intevation/gnv/artifactdatabase/client/exception/package.html, src/main/java/de/intevation/gnv/artifactdatabase/client/package.html, src/main/java/de/intevation/gnv/action/package.html, src/main/java/de/intevation/gnv/action/sessionmodel/package.html, src/main/java/de/intevation/gnv/util/package.html: Added first part of package descriptions. 2010-04-13 Hans Plum <hans@intevation.de> * src/main/webapp/images/svg.png, src/main/webapp/images/delete.png, src/main/webapp/images/map_go.png, src/main/webapp/images/diagram_export.png, src/main/webapp/images/chart_curve.png, src/main/webapp/images/arrow_refresh.png, src/main/webapp/images/pdf.png, src/main/webapp/images/data_export.png, src/main/webapp/images/chart_bar.png, src/main/webapp/images/statistics.png, src/main/webapp/images/disk.png, src/main/webapp/images/tick.png, src/main/webapp/images/back_button.png: Converted relevant icons to the requirements of BSH Corporate Design, 19.06.2009, S. 172: Hue: 172; Saturation: 34; Brightness: 28. 2010-04-12 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/propertiesreader/PropertiesReader.java, src/main/java/de/intevation/gnv/propertiesreader/ServletPropertiesReader.java, src/main/java/de/intevation/gnv/propertiesreader/PropertiesReaderFactory.java, src/main/java/de/intevation/gnv/propertiesreader/MapPropertiesReader.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/InputParameter.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactDescription.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/OutputParameter.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultInputParameter.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/OutputMode.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputParameter.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputMode.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactStatisticValue.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactObject.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactStatisticsSet.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactFactory.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ExportMode.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultArtifactStatisticsSet.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultExportMode.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ParametrizedArtifactObject.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultLayer.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/map/Layer.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/map/MapService.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/Artifact.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ParametrizedArtifactFactory.java, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientFactory.java, src/main/java/de/intevation/gnv/artifactdatabase/client/exception/ArtifactDatabaseClientException.java, src/main/java/de/intevation/gnv/artifactdatabase/client/exception/ArtifactDatabaseInputException.java, src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java, src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java, src/main/java/de/intevation/gnv/action/CommunicationKeys.java, src/main/java/de/intevation/gnv/action/DoExportAction.java, src/main/java/de/intevation/gnv/action/WMSAction.java, src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java, src/main/java/de/intevation/gnv/action/ShowStatisticAction.java, src/main/java/de/intevation/gnv/action/ArtifactDatabaseActionBase.java, src/main/java/de/intevation/gnv/action/DescribeUIAction.java, src/main/java/de/intevation/gnv/action/LoadAction.java, src/main/java/de/intevation/gnv/action/CreateHistogramAction.java, src/main/java/de/intevation/gnv/action/SelectFisAction.java, src/main/java/de/intevation/gnv/action/DoOutputAction.java, src/main/java/de/intevation/gnv/action/CreateChartAction.java, src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java, src/main/java/de/intevation/gnv/action/PreviousArtifactStepAction.java, src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java, src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java, src/main/java/de/intevation/gnv/action/sessionmodel/SessionModelFactory.java, src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java, src/main/java/de/intevation/gnv/action/StoreAction.java, src/main/java/de/intevation/gnv/util/ArtifactNamespaceContext.java, src/main/java/de/intevation/gnv/util/XSLTransformer.java: Added JavaDoc comments. 2010-04-12 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added label for chart button in actions panel. * src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp: Changed the label of the chart button in the actions panel ('Diagramm speichern' -> 'Diagramm'). 2010-04-09 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue210 * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Changed the parameter-measurement matrix rendering. Its content is no more selectable - it is just to inform the user about the existence of a measurement for a given parameter. Instead, there is a new row with a checkbox for each measurement in the header of the matrix. So, the user is able to select a measurement without a relation to a specific parameter - all parameters which are available for this measurement are effected by this choice in future outputs. * src/main/webapp/styles/default.css: New classes for styling the parameter-measurement matrix. * src/main/webapp/images/delete.png, src/main/webapp/images/tick.png: New icons to inform the user about the existence of a measurement for a given parameter. 2010-04-09 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue216 * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp: Added a missing character to the url of the image export. 2010-03-29 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue13 & Issue18 * src/main/webapp/WEB-INF/jsp/mainlayout.jsp, src/main/webapp/WEB-INF/jsp/header.jsp: Added a reload link. A click on this link rebuilds the ui with the description of the current artifact. Note: If the artifact server ist down, nothing happens when using this link. A click on this link triggers a controller which sends a describe-request to the artifact server. * src/main/webapp/WEB-INF/config/struts-config.xml: Added a new controller to build the current user interface. This could be used if the artifact server is down and the ui brakes after an user interaction. After the artifact server being restarted, this controller can be called to rebuild the ui with the current artifact description. * src/main/webapp/styles/default.css: Moved exception message and reload link a bit to avoid overlapping elements. Added a new class to adjust the style of the reload link. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added strings for reload-link. 2010-03-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/gnv/**/package.html: New. Added package description with text 'DOCUMENT ME!'. 2010-03-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/gnv/**/*.java: Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>' find -name \*.java | \ xargs sed -i \ -e 's/@author[ ]\+\([^(<]\+\)[<(]\([^>)]\+\)[>)]/@author <a href="mailto:\2">\1<\/a>/g' \ -e 's@[ ]\+</a>@</a>@g' 2010-03-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> * rc/main/java/de/intevation/gnv/**/*.java: Ordered imports. Removed needless imports. Removed empty headers. 2010-03-29 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue30 * src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Use the correct locale for i18n supported by HttpServletRequest object. The application language is switched after the next server round-trip if the user changes the preferred browser language. Hint: Struts' Action class has a method getLocale(HttpServletRequest) which should return the currently selected locale. This method seems to be buggy - returns session's initial locale. * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java: Inherit from DescribeUIAction. The rendering stuff is now done by DescribeUIAction. * src/main/webapp/WEB-INF/config/struts-config.xml: Added missing forward used for stepping back to a previous state in SelectArtifactFactory action. 2010-03-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/gnv/**/*.java: Removed trailing whitespace. find -name \*.java | xargs sed -i 's/[ \t]\+$//' 2010-03-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue197 * src/main/java/de/intevation/gnv/action/WMSAction.java: Parse the time to live of an artifact from meta document and set an attribute 'ttl' of the request object. * src/main/webapp/WEB-INF/jsp/wmslayout.jsp: Added a new row showing the time to live beneath the layer name and wms url. * src/main/resources/applicationMessages_en.properties, src/main/resources/applicationMessages.properties: Added new label for availability of an artifact/wms-layer. * src/main/webapp/styles/default.css: Moved OpenLayers map a bit south. 2010-03-22 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Improved the copying of input stream to output stream a bit. 2010-03-22 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/LoadAction.java: Just copy the input stream to the output stream without parsing it and without creating a temporary xml document. 2010-03-22 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/wmslayout.jsp, src/main/java/de/intevation/gnv/action/WMSAction.java (execute): Improved ExceptionHandling during WMS-Publishing. Now the OL-GUI will only be shown if the WMS was published succsessfull. 2010-03-19 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (publishWMS), src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (publishWMS), src/main/java/de/intevation/gnv/action/WMSAction.java (execute): Improved ExceptionHandling during WMS-Publishing. The responsedocument will be scanned for Exceptionreports. Also if no URL, Mapfile or Layer was retrieved from the Responsedocument the Exceptionpage will be visualized instead an corrupt Openlayersclient. 2010-03-19 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages.properties: Added new German resource for fis_marinefeatures according to msg1067 of Issue2005. 2010-03-19 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages*.properties: Added Ressources for new FIS Marine Features. 2010-03-19 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/LoadAction.java: Use the uploaded file to start an artifact import. Create a new Artifact object if the import was successful and fetch the current artifact description with user interface part to restore the gui. Display an error message if something failed while importing. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java: Added a new method doImport to import artifacts from xml documents. A describe document without ui part is returned if an import was successful. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added error messages for the case that something failed while importing artifacts from xml documents. * src/main/webapp/WEB-INF/jsp/header.jsp: Replace whitespaces from exception request parameter with dots. Exceptions thrown by the artifact server corresponds to a specific resource key. Failures coming from the artifact server are displayed language specific on this way. * src/main/webapp/WEB-INF/config/struts-config.xml: Added missing forwards to import action. 2010-03-19 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/ParametrizedArtifactFactory.java (addParameters): Some Codecleanup done. 2010-03-19 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp: Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall. You cann add gt=POINT , gt=LINESTRING or gt=POLYGON to the URL to switch between the different Geometries. The Values of the Geometries are the same as used in the GUI of the GNV. 2010-03-17 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue208 First steps for exporting artifacts. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java: New method to export an artifact. * pom.xml: Added Apache common-fileupload 1.2.1 lib. * src/main/java/de/intevation/gnv/action/CommunicationKeys.java: Further error message key added which is displayed beneath project load/store buttons if an error occured while these operations. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added error messages for errors which occure while loading/storing projects. * src/main/webapp/styles/default.css: Added a new style class to adjust error messages which may occur while loading/storing projects. * src/main/java/de/intevation/gnv/action/StoreAction.java: New controller which triggers an artifact export. After pushing the corresponding button, the artifact is returned as xml document and a file dialog is displayed. * src/main/java/de/intevation/gnv/action/LoadAction.java: New controller to import artifacts which have former been exported. XML documents are successfully read from fileupload. TODO: Use these documents to create artifacts. No artifacts are loaded yet! * src/main/java/de/intevation/gnv/util/XMLUtils.java: Added a method to write documents to a stream. * src/main/webapp/WEB-INF/config/struts-config.xml: Added LoadAction and StoreAction. The controller are available under /gnv/load and /gnv/store. * src/main/webapp/WEB-INF/jsp/header.jsp: Removed placeholder string for storing/loading the current project state and added buttons to start an export of the current project's state (the current artifact) or reload an artifact from a xml document. 2010-03-16 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Changed the rendering of measurement/parameter matrix. The matrix will now look like this: | measurement label | measurement label ------------------------------------------------------- parameter label | measurement value | measurement value parameter label | measurement value | measurement value 2010-03-15 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue198 * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Added the method signature for publishing wms layers. 'publishWMS' requires a collection of InputParameters which are used to create the request xml document. These input parameters can be used to adjust some wms settings. At the moment, the only parameter which written to the request xml document is the title for a wms layer. * src/main/java/de/intevation/gnv/action/WMSAction.java: Search for user input and append given input values to request xml document. Put the layer title into request object to be accessible in jsp files. * src/main/webapp/WEB-INF/jsp/index.jsp: Render wms option panel if wms is requested. * src/main/webapp/WEB-INF/jsp/includes/display_wms_options_inc.jsp: New. Option panel for wms customization. At the moment, the user has the possibility to adjust wms layers' title. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added some labels for wms options. 2010-03-12 Tim Englich <tim.englich@intevation.de> * src/test/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientTestCase.java (testArtifactDatabaseClient): Fixed Compilation-Error because of InterfaceChanges of the ArtifactDatabaseClient-Interface. 2010-03-12 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages*.properties: Integrated Resource for FIS Contis and Nauthis. 2010-03-10 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Throw different exceptions if an error occured in the artifact server. On this way, we are able to distinguish between general server errors or errors caused by an invalid user input. * src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java: Catch the exceptions thrown by DefaultArtifactDatabaseClient and set an attribute at the request object for each exception type. The attributes will take effect on different places in the user interface. * src/main/java/de/intevation/gnv/artifactdatabase/client/exception/ArtifactDatabaseInputException.java: Exception used to be thrown if an invalid user input error occured. * src/main/java/de/intevation/gnv/action/CommunicationKeys.java: Added some keys to store different error messages in the Http session. * src/main/webapp/styles/default.css: Added new style class to adjust the style of error messages caused by invalid user input. * src/main/webapp/WEB-INF/jsp/index.jsp: Display invalid input errors at the top of the input area. 2010-03-09 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/log4j.properties, src/main/webapp/WEB-INF/classes/log4j.properties: Moved logging configuration. The config file did not have any effect in config directory. In classes directory, it has. * src/main/webapp/WEB-INF/web.xml: Removed logging section which is no more necessary anymore. 2010-03-09 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Parse user input from chart/histogram options panel and check if integer and doubles are valid - if we find a value which is not valid for the configured type, we set an exception message which is displayed in the chart/histogram options panel and sets the corresponding parameter to its default value. * src/main/webapp/WEB-INF/jsp/includes/display_histogram_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp: Display error message in options panel if there is one. * src/main/resources/applicationMessages_en.properties, src/main/resources/applicationMessages.properties: Added strings to display error messages when the user entered a bad formatted number in chart/histogram options panel. * src/main/java/de/intevation/gnv/action/CommunicationKeys.java: Added two further error message keys used to store error messages for chart/histogram options. * src/main/webapp/styles/default.css: Added a new class 'chartException' to adjust the style of an error message in chart/histogram options panel. 2010-03-08 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Adjusted xpath expression to find exception nodes in xml documents again. The prefix 'art:' has been missing. 2010-03-08 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue187 * src/main/java/de/intevation/gnv/action/DoExportAction.java: Exports with target 'img' will get a file extension that corresponds to their mime-type. There was no code path for 'img' before, which caused the problem, that 'img'-exports had a '.txt'-file extension. 2010-03-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/gnv/action/DoExportAction.java: Removed duplicated imports. 2010-03-05 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue190 * src/main/java/de/intevation/gnv/action/CreateHistogramAction.java, src/main/java/de/intevation/gnv/action/CreateChartAction.java: Reset diagram options. Switching between chart and histogram caused some 'null' values in text fields. After resetting these options, we don't have these problems anymore - text fields will be filled with default values in this case. * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_adons_inc.jsp: Removed useless file. 2010-03-05 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: ISSUE 181: Removed duplicate Drawaing of the Lengendvalue of Groupelements for choosing different heights for several Parameters 2010-03-05 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: 'publishWMS' returns a whole document which contains meta information used for mapfile generation - not just a string. These information contain MapServer URL and the path to its mapfile. * src/main/java/de/intevation/gnv/action/WMSAction.java: Fetch MapServer settings from resulting document after wms-publishing to display these values in gui. * src/main/java/de/intevation/gnv/util/XMLUtils.java: Converted class methods into static methods to use them without initializing an object of XMLUtils. * src/main/webapp/WEB-INF/jsp/wmslayout.jsp: Show MapServer and layer information in gui and use MapServer settings to feed OpenLayers client. * src/main/webapp/styles/default.css: Added some classes to adjust style of information table (wms service, layer name) and map area. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added column labels for displaying MapServer information. 2010-03-04 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/jsp/index.jsp, src/main/webapp/WEB-INF/jsp/wmslayout.jsp: Removed map-div from index.jsp and moved it to wmslayout. So, we don't have an empty div with grey border in our application if there is no map currently existing. Load images from MapServer as 'image/png'. * src/main/webapp/styles/default.css: Adjusted style for customizing map-div. 2010-03-02 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Added export mode to 'out'-xml document. * src/main/java/de/intevation/gnv/action/DoOutputAction.java, src/main/java/de/intevation/gnv/action/DoExportAction.java: Call 'doOutput' for triggering an output like chart, histogram, csv or odv with a new parameter export mode which contains the export format (img, pdf, svg). * src/main/webapp/WEB-INF/jsp/includes/display_histogram_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_histogram_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp: Added export mode to HTTP-Get requests. 2010-03-02 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Implemented a One-Step-Back-History. The user is able to step back to the last state and to the state for choosing the fis. 2010-03-02 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue184 * src/main/webapp/WEB-INF/jsp/index.jsp: Display chart per default, when reaching a final state, which doesn't need any further user input. 2010-03-01 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue183 * src/main/java/de/intevation/gnv/action/PreviousArtifactStepAction.java: Take care on exceptions and render an error message if an exception occured. 2010-03-01 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/DoExportAction.java: Removed little copy-paste mistake while setting file-extension for exports. 2010-03-01 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/DoExportAction.java: Set file-extension according to mime type for histogram exports. 2010-02-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Render a matrix for measurement selection. * src/main/webapp/styles/default.css: Added new css class to adjust the matrix' column headers. 2010-02-25 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue178 * src/main/java/de/intevation/gnv/action/DoExportAction.java: Added a code path for export actions, where no export mode is given. 2010-02-24 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Added user selected type of bin setting (number of bins, bin width) to diagram options and request object which are used to create links for chart images. * src/main/java/de/intevation/gnv/action/DoOutputAction.java: Added user selected type of bin setting to InputParameters which are used to create xml documents for 'out' target. * src/main/webapp/WEB-INF/jsp/includes/display_histogram_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_histogram_inc.jsp: Added checkboxes to select the field to adjust bins in histogram charts (bin width or number of bins). When selecting a checkbox, the other box becomes disabled. * src/main/webapp/WEB-INF/jsp/mainlayout.jsp: JavaScript function to toggle checkboxes. 2010-02-24 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_histogram_inc.jsp: Append user inserted parameter from histogram options (width, height, bin width, number of bins) to http request when fetching the histogram image. 2010-02-23 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputMode.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/OutputMode.java: New method returning export modes. * src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultExportMode.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ExportMode.java: Object storing information about mime-type, description and name of an export mode. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Parse export modes from describe document and put them into OutputMode objects. * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Now, this action is able to adjust histogram parameter as well. * src/main/java/de/intevation/gnv/action/DoExportAction.java: An export is triggered regarding a new parameter 'mode' which value can be 'pdf', 'svg' or 'img'. Before, we just took care on 'target' parameter. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Transformed draw button into an update button. * src/main/webapp/images/arrow_refresh.png: Icon for update button. (source: famfamfam) * src/main/webapp/WEB-INF/jsp/includes/display_histogram_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp: Moved exports from action panel into options panel. Actions (chart, histogram, etc) are devided from exports (png, pdf, svg). 2010-02-23 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/struts-config.xml: Foward to wmslayout.jsp instead of mainlayout.jsp if the user selected wms target. * src/main/webapp/WEB-INF/jsp/wmslayout.jsp: New page for rendering a wms client (OpenLayers). JavaScript loading take place in this page. If the user select the wms target, a forward to this page will be done. TODO: Include OpenLayers library from local filesystem instead of loading it from openlayers.org! * src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Removed OpenLayers JavaScript library and function to initialize OpenLayers. This reduces traffic while parameterization. 2010-02-23 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/CreateChartAction.java: Class to trigger chart rendering. * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Changed request parameter from 'diagram' (deprecated) to 'chart'. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added title and labels for histogram options. * src/main/webapp/images/chart_curve.png: Chart icon (source: famfamfam) * src/main/webapp/WEB-INF/config/struts-config.xml: Added new action to trigger chart rendering analog to histogram action. * src/main/webapp/WEB-INF/jsp/index.jsp: Render chart option panel only if the user already selected charts. * src/main/webapp/WEB-INF/jsp/includes/display_histogram_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_histogram_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp: Show diagram/chart options panel only if the user chose one of them. Placed these option panels beneath the action panel. * src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp: Added new icon for chart rendering. * src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Removed js debug output. 2010-02-22 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/struts-config.xml: New action 'WMSAction'. It triggers the generation of shapefiles and mapfile and sets an internal flag to intialize an OpenLayers map. * src/main/java/de/intevation/gnv/action/WMSAction.java: Action which triggers the creation of shapefiles and mapfile. An internal flag is set to initialize an OpenLayers map with the layer even published. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java: Added a new method to send a request to the artifact server and start shapefile and mapfile creation. * src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Added javascript functions to read url parameters and initialize OpenLayers. * src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp: Call 'wms.do' after clicking WMS button which triggers WMSAction. * src/main/webapp/WEB-INF/jsp/index.jsp: Added a div-container for rendering an OpenLayers map. * src/main/webapp/styles/default.css: New class for styling map div-container. * src/main/java/de/intevation/gnv/util/XMLUtils.java: Made method static to be able to use it without creating an object of this class. 2010-02-15 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/struts-config.xml: Added an action 'histogram' to render histograms. * src/main/java/de/intevation/gnv/action/CreateHistogramAction.java: Added a new action for rendering histograms. * src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp: Display an icon for histograms if this output mode is present for this artifact. * src/main/webapp/images/chart_bar.png: Icon for histograms from famfamfam iconset. * src/main/webapp/WEB-INF/jsp/includes/display_histogram_inc.jsp: JSP for rendering histograms. * src/main/webapp/styles/default.css: Added a style class for adapting histogram div. * src/main/webapp/WEB-INF/jsp/index.jsp: Include display_histogram_inc if histogram action have been chosen by user. * src/main/resources/applicationMessages_en.properties, src/main/resources/applicationMessages.properties: Button label and alternative image text for histograms. * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Removed comment lines at the beginning of the file. These empty comment lines would cause trouble later, when inserting GPL text automatically with a script. 2010-02-12 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Render an icon to trigger a step-back in history for each state. * src/main/webapp/WEB-INF/config/struts-config.xml: Added missing forwards used for stepping back to former states. 2010-02-12 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp: Added further XML-Nodes for simulating the MapViewer-Call more detailed. 2010-02-12 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/config/struts-config.xml: Added new Action for Calling the Page with the Form for simmulating the MapViewer-Interface-request. Using the URL http://localhost:8080/gnv/mvcall.do you will retrieve the Formular with the MapViewer-Interface-Request-body * src/main/webapp/WEB-INF/jsp/header.jsp: Added an Switch that will manage that the GUI with the Form of the MapViewer-Interface-Document only will be displaied if it is requested. * src/main/java/de/intevation/gnv/action/mapviewer/ShowMapViewerCallBodyAction.java (execute): Added new Action for handling the Request that should show the Form for insterting the MapViewer-Interface-Document. 2010-02-12 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Modified the Create-Artifact-Request-Body that a Geometry will be put into the Parameter if one is given e.g. using the MapViewer-Interface request. 2010-02-09 Tim Englich <tim.englich@intevation.de> * src/test/ressources/externalinterfacecall_curl.xml, src/test/ressources/samplecall.txt: Added Sampledata and a sample how to call the MapViewer-Interface using CURL. 2010-02-09 Tim Englich <tim.englich@intevation.de> * src/main/webapp/styles/default.css: Added some stylinginformation for the Textarea for the XML-Document. * src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp: Integrated an Textarea so that is possible to manipulate the XML-Document which simulates the MapViewer-Interface-Body. 2010-02-09 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/mapviewer/MapViewerCallAction.java (execute): Removed trailing and leading Whitespaces from the Parametervalue which contains the XML-Document to avoid XML-Parsingerrors. 2010-02-09 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (createMetaDataRequestBody): Fixed a NPE. Now it is possible to put an Mapservice without an Layer into the Request-Document of am Mapviewer-Interface-Call. 2010-02-05 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue170 * pom.xml: Changed log4j version to 1.2.14 (later version causes errors and breaks maven build process). 2010-02-02 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/header.jsp: Added temporally Include of includes/display_mapviewercall_inc.jsp for the Simulation of the MapViewer-Interface-Request. * src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp: Added new Includefile with the Formular which includes the Data for the Simulation of the MapViewer-Interface-Request. 2010-02-01 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/config/struts-config.xml: Added am Action for handling the MapViewer-Interface. if /gnv/extcall.do is called the processing of the defined Information will be done and the GUI will be displayed. * src/main/java/de/intevation/gnv/artifactdatabase/objects/ParametrizedArtifactFactory.java: Implementation of the interface ParametrizedArtifactObject fro the representation of ArtifactFactories which has further Information. * src/main/java/de/intevation/gnv/artifactdatabase/objects/ParametrizedArtifactObject.java (addParameters): Added new Interfacedefinition ParametrizedArtifactObjects for representing those ArtifactObjects which includes further Informations. E.g. for creating an new Artifact. * src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactFactory.java (equals): Override equals-method to get ap proper comparisons of the kinds of objects. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (getArtifactFactoryMetaInformation): Added Method to retrieve Metainformations form the ArtifactDatabases. Also added the possibility to send further Informations (e.g: Parameters) in the Request-body of an Create-Artifact-Call. * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (getArtifactFactoryMetaInformation): Added Method to retrieve Metainformations form the ArtifactDatabases. * src/main/java/de/intevation/gnv/action/mapviewer/MapViewerCallAction.java (execute): Added further Businesslogic to the Action which will handle the MapViewer- InterfaceCall. Now the retrieved Informations will be sent to the ArtifactDatabase an the retrieved Informations will be used to reduce the displayed "Fachinformationssysteme". And also will be used to send these Informations (e.g: Parameters) during the creation of an new Artifact. 2010-01-27 Hans Plum <hans@intevation.de> RELEASE 0.3 * Changes, NEWS, ChangeLog: Summerized activities 2010-01-27 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Added a workarround to avoid input failures caused by multi select boxes with only one entry. They look like text input fields and don't force the user to select a row. In this case, the single entry is selected automatically. 2010-01-25 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/styles/default.css: Added a class for dynamic tables - enabled input fields - to adjust font size of input fields. * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Removed local-name() method, inserted a table for 'group' items (like input fields of dates) and resized the height of multi select boxes - max 5 items or less. * src/main/webapp/WEB-INF/jsp/index.jsp: Removed a typo which made the html output invalid. 2010-01-22 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp: Add width, height and the boolean value to adjust the visibility of points in charts to the pdf and svg export links. 2010-01-22 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added legend for summary box. * src/main/webapp/styles/default.css: Adapted some css classes regarding the position of boxes and removed background image in fieldsets. * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Removed useless div container (div container is now outside the xsl sheet). * src/main/webapp/WEB-INF/jsp/index.jsp: Moved former parameter into a fieldset and added a label to this fieldset. 2010-01-22 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/ShowStatisticAction.java: This action 'calculates' the statistic and shows the result in the gui. * src/main/webapp/WEB-INF/config/struts-config.xml: Added controller and forwards. * src/main/webapp/images/statistics.png: Statistic icon. FIXME: Give a Source here! * src/main/webapp/WEB-INF/jsp/index.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_statistics_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp: Added symbol in action box to show the statistic. * src/main/webapp/styles/default.css: Adjusted some parameter for a proper placement of the statistic box. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added label for statistic icon. 2010-01-22 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/DescribeUIAction.java: New action. The only task of this action is to parse the describe document and create static and dynamic user interface out of it. * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java, src/main/java/de/intevation/gnv/action/DoOutputAction.java, src/main/java/de/intevation/gnv/action/PreviousArtifactStepAction.java, src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java, src/main/java/de/intevation/gnv/action/ArtifactDatabaseActionBase.java: Removed xsl transformation. Classes which needs xsl transformation inherit from DescribeUIAction which does the transformation. Now, it is much easier to write new actions, because they do not need to parse the describe document and create static and dynamic user interfaces. Removed some useless imports. 2010-01-22 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/jsp/index.jsp, src/main/webapp/WEB-INF/jsp/header.jsp, src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_adons_inc.jsp, src/main/webapp/WEB-INF/jsp/mainlayout.jsp: - Improved the design and the usibility concept ("Bedienkonzept"). Removed the useless "draw" button after reaching the last state which has some output modes. - Render chart options - if chart creation is possible for this state - and show export actions. - Moved chart options and export actions to the left side beneath the static and dynamic panals for parameterization. - Removed some warnings and errors regaring html conformance. * src/main/webapp/styles/default.css: Made some necessary adjustments regarding the movement of chart option and action boxes. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added label for action box. * src/main/java/de/intevation/gnv/action/ArtifactDatabaseActionBase.java: Removed pathes of xsl sheets from code and put them to a central place. * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Added urls to xsl transformer for step-back links and create a dynamic ui only if there is content for it - avoid creation of empty boxes. * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java: Write dynamic ui only if there is content. Some code formatting done. * src/main/webapp/images/back_button.png: Button to step back to a previous state. * src/main/webapp/WEB-INF/config/struts-config.xml: Added forwards to fis selection and previous states. * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Enabled link to step back to fis selection. 2010-01-20 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue149 * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Show chart if there are output modes existing for this state. Set internal value of checkboxes to 'true' if they are selected. TODO: We should check if there is an output mode named 'chart' before rendering a chart. 2010-01-20 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added label for char option 'draw data points'. 2010-01-20 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/styles/default.css, src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Adapted style of static ui to bsh style. Improved indentation. 2010-01-19 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl, src/main/webapp/WEB-INF/jsp/index.jsp: Commented links to step back in history out and always render a fis select box (reason for this is the next release and a too buggy 'step-back-history'). 2010-01-19 Tim Englich <tim.englich@intevation.de> * src/test/ressources/externalinterfacecall.xml: Added an Request-Document which contains an Call which might be send from the MapViewer to the GNV. * src/test/java/de/intevation/gnv/action/mapviewer/parser/ExternalCallParserTestCase.java: Added TestCase for testing the functionality of the XMLExternalCallParser-Implementation. 2010-01-19 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java: DefaultImplementation of the Interface MapService. * src/main/java/de/intevation/gnv/artifactdatabase/objects/map/MapService.java : Added a new Interfacespecification for representing an MapService retrieved by an MapViewer-Call * src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultLayer.java: DefaultImplementation of the Interface Layer. * src/main/java/de/intevation/gnv/artifactdatabase/objects/map/Layer.java: Added a new Interfacespecification for representing an Layer retrieved by an MapViewer-Call * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (getArtifactFactoryMetaInformation), src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (getArtifactFactoryMetaInformation): Added new Method for retrieving Metainformation for the ArtifactFactories using the Data which is parsed using the ExternalCallParser. * src/main/java/de/intevation/gnv/action/mapviewer/parser/ExternalCallParserException.java (ExternalCallParserException): New ExceptionClass which is used to specify Exception which occurs during parsing an ExternalCallParser. * src/main/java/de/intevation/gnv/action/mapviewer/parser/XMLExternalCallParser.java : Added an Implementation of the Inteface ExternalCallParser which is able to parse an XML-Document. * src/main/java/de/intevation/gnv/action/mapviewer/parser/ExternalCallParser.java : Added a new Interface which provides the required Methods for parsing an Request from the MapViewer an provide the parsed Data. * src/main/java/de/intevation/gnv/action/mapviewer/MapViewerCallAction.java: Added new Action which provied the reauired logic for Implementing the Interface to the MapViewer. 2010-01-18 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/struts-config.xml: Added a new controller which causes a return to the point, where the user can choose a fis. * src/main/java/de/intevation/gnv/action/SelectFisAction.java: Controller to reset the SessionModel and to jump back to fis selection. * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java: Made the link to return to the fis select box available in XSL. * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Check the 'fis' attribute is contained in select1 nodes and create a link in this case. 2010-01-18 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java: Render the static part of the gui as well - not just the dynamic part. * src/main/webapp/WEB-INF/jsp/index.js: Do not include the fis combo box if the describe document contains a static part, which means that the user already selected a fis. * src/main/webapp/styles/default.css: Added 20px space at the top of the static table. Otherwise the table hides the links to load and save projects. 2010-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Simpler demo WKT polygon. 2010-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp: Only render chart addons when we have a chart. * src/main/java/de/intevation/gnv/action/DoExportAction.java: Set right file extensions if we have WMS or ZIP export. 2010-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp: Add links to download zip files and WMS layers if they are available. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added i10n for new download link types. * src/main/webapp/images/svg.png: New. Gimp rendered PNG of official SVG logo. Creative Commons license. * src/main/webapp/images/pdf.png: New. Crystal pdf icon. LGPLv2 license. * src/main/webapp/images/disk.png, src/main/webapp/images/map_go.png: famfamfam icons for disk and map. Creative Commons license. 2010-01-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/gnv/action/PreviousArtifactStepAction.java, src/main/java/de/intevation/gnv/util/XSLTransformer.java: Cleanup imports. 2010-01-14 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java: Fixed a bug which caused that the user was not able to draw charts anymore. Query the 'output' node of the describe document and render a 'draw'-button if existing. If 'output' is not existing, render a 'select' button to step forward to the next step. 2010-01-13 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Added 'doAdvance' method to be able to advance only - without feed or describe. We need this method to step back to previous states. Advance was bundled with feed and describe, before. * src/main/java/de/intevation/gnv/action/sessionmodel/SessionModelFactory.java: Some code refactoring. * src/main/java/de/intevation/gnv/util/XSLTransformer.java, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java: Set parameter of xsl transformer which contains the url to step back to a previous state. This parameter is used in xsl sheet to render a link into the user interface. * src/main/java/de/intevation/gnv/action/PreviousArtifactStepAction.java: New controller to step back to a previous state. * src/main/webapp/WEB-INF/config/struts-config.xml: Added a new action which calls PreviousArtifactStepAction to step back to previous states. * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Refactored gui rendering. The static part of the parameter list is rendered in a table with three columns (icon to step back, parameter name, selected value). The target state to step back to is contained as attribute 'art:state' in 'xform:select', 'xfom:select1' and 'xform:group' nodes. * src/main/webapp/styles/default.css: Added a style class to adapt the first column of the static part's table. 2009-01-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Shortened fractions digits to four places to be displayable in static ui description. * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Fixed target id of text input field. 2009-01-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/jsp/mainlayout.jsp, src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Added demo wkt polygon to test the "Horizontalschitt". Remove this when we have the GIS interface. 2010-01-09 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Use XMLUtils.ElementCreator to create new elements for xml documents. 2010-01-08 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java (execute), src/main/java/de/intevation/gnv/action/DoOutputAction.java (execute): Removed Encodingerrors from listed Files. All Files are now UTF-8 compliant. 2010-01-05 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/util/ArtifactNamespaceContext.java: NamespaceContext class used by gnv artifacts. * src/main/java/de/intevation/gnv/util/XMLUtils.java: Added ArtifactNamespaceContext as default namespace context while creating XPath objects. * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Removed local-name() methods. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java: Adjust xpathes regarding namespace changes. 2010-01-05 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Removed for-each statements and replaced them with templates. 2010-01-04 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/styles/default.css: Added new classes for displaying parameters and values in left panel. * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Static nodes will be rendered as text instead of disabled xforms. 2009-12-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> RELEASE 0.3 * Changes, NEWS, ChangeLog: Summerized activities 2009-12-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/resources/applicationMessages.properties: s/Modeldaten/Modelldaten/ 2009-12-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl, src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Added demo wkt linestrings via xslt and javascript. 2009-12-17 Hans Plum <hans@intevation.de> Issue 129: Release 0.2: Verbesserung der �bersetzungen * src/main/resources/applicationMessages.properties: Fixed i18n strings reported by experts 2009-12-14 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp: Added switch between boolean and other Values to determin wether a checkbox is required or an text-field should be used. * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java (execute): Added parsing of boolean-Option-Values to provide this Feature. 2009-12-14 Hans Plum <hans@intevation.de> Issue109: Tomcat: Konfiguration des Kontexts enth�lt Redundanz * src/main/webapp/META-INF/context.xml: Removed obsolete configuration attributes. 2009-12-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/resources/applicationMessages.properties: Fixed some spelling problems. 2009-12-01 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute): Removed feed Call before Chart- and Statisticsgeneration is called, because it is not longer required by the Artifactdatabase. 2009-12-01 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/web.xml: Reverted changes in config from last revision, which have been committed by mistake. 2009-12-30 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/action/DoExportAction.java: Add svg extension to file when exporting charts to svg. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added label for svg export link. * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp: Added link for svg export in html gui. 2009-12-30 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp: Added link for pdf export in html gui. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added label for pdf export link. * src/main/java/de/intevation/gnv/action/DoExportAction.java: Added pdf extension to file when exporting charts as pdf. NOTE: Update gnv-artifacts to rev381 which supports pdf export. 2009-11-23 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages*.properties: Added Properties which hold the Version-information of the GNV which will be set by te Maven package-process. * src/main/webapp/WEB-INF/config/struts-config.xml: Added an Action which make the Version-Information accessible. Now it is possible to get those Information using /version.do * src/main/webapp/WEB-INF/jsp/version.jsp: Added an Page where it is possible to get the Information about the current Version of the GNV and the ArtifactDatabase * pom.xml: Added Plugin for creating the BildTime and BildVersion of the gnv. Replace Tokens in the /src/main/ressources Files 2009-11-20 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Removed mistake from xml structure of the artifact protocol. Mime-type node was 'out' instead of 'mime-type'. 2009-11-13 Hans Plum <hans@intevation.de> RELEASE-0.2 * Changes, NEWS: Summerized activities. 2009-11-13 Hans Plum <hans@intevation.de> * ChangeLog: Unified entries with references to issues. 2009-11-13 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/web.xml: Added Documentation of Configuration-Entries. 2009-11-12 Tim Englich <tim.englich@intevation.de> * src/main/webapp/styles/default.css: Added CSS-Entry for the Exception Message Container and put the div at a proper place. * src/main/resources/applicationMessages*.properties: Added localized Exception Messages. * src/main/webapp/WEB-INF/jsp/header.jsp: Added the localization of Exception Messages. 2009-11-12 Tim Englich <tim.englich@intevation.de> Issue 71: Error while Serialisation of Sessions * src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java, src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Imports organized. * src/main/java/de/intevation/gnv/artifactdatabase/objects/*.java: Made all Interfaces Serailizable and add UID to all Objects issue71 2009-11-12 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_statistics_inc.jsp: Implemented a better GUI-Structure for displaying the Statisticdata. * src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultArtifactStatisticsSet.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactStatisticsSet.java: Added new Beanstructur for a better Representation of the Statistics which is generated by the ArtifactDatabase. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (calculateStatistics): Changed the parsing algorithm of the Document which is generated by the ArtifactDatabase. * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (calculateStatistics): Changed Return-Value to ArtifacStatisticsSet according to the new Structur of Statistics that will be generated by the ArtifactDatabase. * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute): Changed the Resultvalue from ArtifactStatisticValue to ArtifacStatisticsSet according to API-Changes of the ArtifactDatabaseClient 2009-11-11 Tim Englich <tim.englich@intevation.de> Issue 80: Error handling when session got expired * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute): Catch NPE and tell the user that the Session has expired. issue80 2009-11-11 Tim Englich <tim.englich@intevation.de> Issue 81: Input of coordinate values do not show up after update * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Remove <br/> Tag after Input-Elements * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Add an <br/>-Tag after the generation of Select-Boxes to get a better look and feel in the ui. issue81 * src/main/webapp/WEB-INF/jsp/index.jsp: Replace NonBreakingSpace-Strings from UI issue81 2009-11-11 Tim Englich <tim.englich@intevation.de> Issue 81: Input of coordinate values do not show up after update * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: BugFix: Text-Inputfields will now be diabaled in static-ui issue81 2009-11-06 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/resources/applicationMessages.properties: Replaced german umlaut witch ascii character. 2009-11-06 Ingo Weinzierl <ingo.weinzierl@intevation.de> * pom.xml: Changed Restlet repository from M3 to Snapshot. 2009-11-06 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp: Added link for exporting data in ODV format. * src/main/resources/applicationMessages.properties, src/main/resources/applicationMessages_en.properties: Added label for odv export and changed label of CSV export. 2009-11-05 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientFactory.java (ArtifactDatabaseClientFactory): Removed some deprecatde TODO-Tasks. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (getCurrentStepDescription): Changed the Describe-Call of an Artifact from get to post an add the Flag which determines if the UI should be delivered to the client. * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (getCurrentStepDescription): Added the possibility to put an Flag which determines if the UI should be delivered from the artifact-database to the Metodsignature. * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java (execute), src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute), src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java (execute), src/test/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientTestCase.java (testArtifactDatabaseClient): Added the Flag if the UI should be delivered by the artifact-database to the Method-Call. 2009-10-28 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages*.properties: Added Ressources for two new FIS. Current Meter and Ice Station Reports 2009-10-27 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages_en.properties: Added Ressources for two new FIS. Seegangsarchiv and SEACAT 2009-10-22 Tim Englich <tim.englich@intevation.de> Issue 58: Behaviour by missing DB connection * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute): Bugfix NPE was thrown when an Exception occured in the Called ArtifactDatabase-Server issue58. 2009-10-21 Tim Englich <tim.englich@intevation.de> Issue 28: Client is not multi-instance enabled * src/main/webapp/META-INF/context.xml: Added context.xml to permitt cookies to provide Multisession-Usability for a single Client issue28 * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp: Added URL-Rewrite to add the SessionID to the requested URL to get the System work without cookies. issue28 2009-10-19 Tim Englich <tim.englich@intevation.de> Issue 55: Unified input of coordinate input * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl, src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Added uniform Visualization of Single Input-Elements in GUI. issue55 2009-10-19 Tim Englich <tim.englich@intevation.de> Issue 51: Translations for diagram options to be improved * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp, src/main/resources/applicationMessages*.properties: Integrated Ressouces for OutputOptions issue51 2009-10-19 Tim Englich <tim.englich@intevation.de> Issue 35: Wrong data input forces GNV to start from beginning * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute): Now the UI will compelte be shown if the User has done an Mistake entering values to input-fields eg. Coordinates or formatted Date-Strings. issue 35 2009-10-19 Tim Englich <tim.englich@intevation.de> Issue 47: Improving translations in time series * src/main/resources/applicationMessages_en.properties: Changed Lablevalues according to issue47 * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Add the possibility to render XForms-Group-Lables as Legend-Entries of one Step in the GUI 2009-10-16 Tim Englich <tim.englich@intevaion.de> Issue 48: Improving translation of statistics panel * src/main/resources/applicationMessages_en.properties: Conformation to the tanslation of the Statisticsdescriptors issue48 2009-10-16 Tim Englich <tim.englich@intevation.de> Issue 49: Integration of FIS to Mesh * src/main/resources/applicationMessages_en.properties: Adding the Names of the two new FIS to the Propertiesfiles issue49 2009-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> RELEASE 0.1 * Changes, NEWS: Summarized changes. 2009-10-06 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages.properties Edited: Removed obsolet Entries * src/main/resources/applicationMessages_en.properties Added: Added the Support for english-Language 2009-10-06 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (doGetRequestInternal) Edited: Read the Status-Code from the Response and throw an Exception which Message will be visualized in the GUI. gnv/issue18 2009-10-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * Changelog -> ChangeLog: Moved to make eclipse happier. 2009-10-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * Changelog: Unified changelog style. 2009-10-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * pom.xml: Remove XMLBeans stuff, set filtered resources to UTF-8 2009-10-06 Tim Englich <tim.englich@intevation.de> * src/main/webapp/index.jsp Added: Added Index-Page for Global-Forward to Start-URL of the Project gnv/issue14 * src/main/webapp/WEB-INF/config/struts-config.xml Edited: Added Global Forward to determine the Start-URL of the Project. gnv/issue14 2009-10-06 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/header.jsp Edited: Deaktivate Links save Project and load Project gnv/issue12 2009-10-05 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages.properties Edited: Added some more FIS-Ressource. 2009-10-02 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientFactory.java (getArtifactDatabaseClient): Putting the ClientLanguage into the getArtifactDatabaseClient-Signature. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (setLocale) Edited, * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (setLocale) Edited: Added the Support of Setting the ClientLanguage to the ArtifactDatabaseClient * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java (execute) Edited, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute) Edited, src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java (execute) Edited, src/main/java/de/intevation/gnv/action/DoOutputAction.java (execute) Edited, src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java(execute) Edited: Put the Locale of the Calling Client to the Communication with the ArtifactDatabase. * src/test/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientTestCase.java (testArtifactDatabaseClient) Edited: Added DefaultLocale German to the ArtfactDataBaseClient call. 2009-10-02 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Edited, * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl Edited: Switched Value for legend from ref-Attribute to Label-Element * src/main/webapp/WEB-INF/jsp/includes/display_fis_inc.jsp Edited: Added translation for FIS (ArtifactFactorynames) * src/main/resources/applicationMessages.properties Edited: Added Germannameds for FIS. 2009-10-02 Tim Englich <tim.englich@intevation.de> * src/**/*.java Edited: Format Code to max 80 Chars per Row 2009-10-02 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/util/XSLTransformer.java CLEANUP , src/main/java/de/intevation/gnv/util/XMLUtils.java CLEANUP , src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java CLEANUP , src/main/java/de/intevation/gnv/artifactdatabase/objects/Artifact.java CLEANUP , src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java CLEANUP , src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java CLEANUP , src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java CLEANUP , src/main/java/de/intevation/gnv/action/DoOutputAction.java CLEANUP: Change non static accesses to static members using declaring type Change indirect accesses to static members to direct accesses (accesses through subtypes) Remove unused imports Add missing '@Override' annotations Add missing '@Deprecated' annotations Remove unnecessary casts 2009-10-02 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java (execute) Edited, * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute) Edited, * src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java (execute) Edited, * src/main/java/de/intevation/gnv/action/DoOutputAction.java (execute) Edited, * src/main/java/de/intevation/gnv/action/DoExportAction.java (execute) Edited, * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java (execute) edited: Added ExceptionHandling to this Actions * src/main/java/de/intevation/gnv/action/ArtifactDatabaseActionBase.java (getExceptionForward) Edited: Added Method for Resolving the ExceptionForward from the Mapping. * src/main/webapp/WEB-INF/jsp/header.jsp Edited: Read ExceptionMessage from RequestAttributes 2009-09-28 Tim Englich <tim.englich@intevation.de> * src/main/resources/applicationMessages.properties Edited: Adding missing StatisticsDescription for Arithmetic Mean. 2009-09-28 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultArtifactStatisticValue.java Added, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactStatisticValue.java Added: Added the Interface and the Defaultimplementation for the Representation of Statistic-Values. * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute) Edited: Added the Busionesslogic for Calculation the Statistics to the Action. * src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java Edited, src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java Edited: Added the Methods for setting and getting the statistics to the SessionModel * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (calculateStatistics) Edited, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (calculateStatistics) Edited: Added the Method for retrieving the Statistics from the current Artifcat. * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_statistics_inc.jsp Edited: Put the Values of the Statitics into the View. * src/main/webapp/styles/default.css Edited: Changed CSS-for Statistics so that it would be displayed. 2009-09-25 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp Edited: Bug fixed in CSV_Export Link 2009-09-25 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/Artifact.java Edited, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactDescription.java Edietd: Integrated some Method for accessing and Setting OutputModes to an ArtifactDescription. * src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputParameter.java Edited, src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputMode.java Edited, src/main/java/de/intevation/gnv/artifactdatabase/objects/OutputParameter.java Edited, src/main/java/de/intevation/gnv/artifactdatabase/objects/OutputMode.java Edited: Adding some Beans and their InterfaceDescription for the Representation of OutputModes supported by an Artifact * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java Edited: Fetsching the OutputMode-Informations from the Describedocument and put them into a Collection of OutputModes. * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java Edited: Restet SessionModel integrated. * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java Edited: Cast for ArtifactDescription removed. * src/main/java/de/intevation/gnv/action/DoOutputAction.java Edited, src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java Edited: Dynamical read of OutputParameter for Outputgeneration * src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java Edited:, src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java Edited: Added some Method for retrieving Diagrammoptions and reset the SessionModel * src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java Edited: Dynamic Options Support Added * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp Edited: Dynamic Rendring of the Outputparameters of an ArtifactoutputType added. Ath this Moment only The Outputparameter for Chart ist provided. * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp Edited : Integrated dynamic Setting of Diagramm-Parameter to the Link. Also Read MimeType from the OPutputParameters of the Artifact. 2009-09-25 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/DoOutputAction.java Edited: Some Refactoring work done. Logging Integrated. Extract Method for setting Responseheader Informations. * src/main/java/de/intevation/gnv/action/DoExportAction.java Added: Action for performing the Exports eg. CSV and Chart * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java Added: Action for do the Bussinesslogic for storing the Diagrammoptions that were changed by the User. * src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java Edited, * src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java Edited: Added Accessmethod for the Diagrammoptions. * src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java Added: Bean for the Representation of Diagrammoptions * src/main/resources/applicationMessages.properties Edited: Added som GUI Lables. * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp Edited, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_statistics_inc.jsp Add, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp Add, src/main/webapp/WEB-INF/jsp/includes/display_diagramm_adons_inc.jsp Add: Added the GUI for the Statistics and Diagramoptions and tge Export. * src/main/webapp/WEB-INF/config/struts-config.xml Edited: Added Actions for Performing Exports and Changing Diagramoptions. 2009-09-24 Tim Englich <tim.englich@intevation.de> * src/main/webapp/scripts/gnviewer.js Edited: Removed unused Methods from File. 2009-09-24 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/mainlayout.jsp Edited: Obsolet Javascript References Removed Added Javascript-Reference to the gnviewer.js File * src/main/webapp/WEB-INF/jsp/index.jsp Edited: Please Wait Dialog integrated if an Form will be submittend 2009-09-24 Tim Englich <tim.englich@intevation.de> * src/main/webapp/scripts/gnviewer.js Added: Added Javascript-File from Old-Project Revision: 3101 2009-09-24 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java Edited: Codecleanup ExceptionReporthandling integrated 2009-09-24 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/config/log4j.properties Added: Standard Log4J-properties-File which will log all Informations to the Console. * src/main/webapp/WEB-INF/web.xml Edited: Added init-Parameter to tell the Application where the Log4J-propertiesfile ist located. * src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java (init) Edited: Reading Logging-Properties from Propertiesfile. Path maust beconfigured in the web.xml File 2009-09-23 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/web.xml Edited: Added Count of ArtifactDatabases and Database-URL to this File * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (ARTIFACTDATABASE_URL_ID) Edited: Added Static Constants for identifing ArtifactDatabase URLS in PropertiesReader * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java (initialize) Edited: Read ArtifactDatabase URLS from PropertiesReader 2009-09-23 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute) Edited: Removed Image-Element and put it into the jsp-Page * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp Edited: Moved Image-Element from Classfile to this location. URL will now be encoded for usage without cookies. * src/main/webapp/WEB-INF/jsp/includes/display_fis_inc.jsp Edited, src/main/webapp/WEB-INF/jsp/index.jsp Edited: URL will now be encoded for usage without cookies. 2009-09-23 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Edited: Selection on Input-UI-Data will be fetched from the UI and visualized in the GUI. * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl Edited: Single Text Input-Elements now will be surround with an div and an form Element 2009-09-22 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/util/XSLTransformer.java Edited: Logging reduced for a better Performance. XML-Nodes should not be logged because their size could cause Problems in Log4J and the ConsoleAppender of Eclipse 2009-09-21 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Remnoved logging of Resultdocuments becaus it slow down the Application. * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java (execute): Added support of ArtifactFactory Reload if Session was lost. * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute): Added Support of more than one Product. 2009-09-17 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Some Refactoring work done. * src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl: Added XSL-Template for Transforming the stazic UI * src/main/webapp/WEB-INF/jsp/includes/display_fis_inc.jsp: Refactored FIS Rendering to it's own Include-File * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp: Refactored Diagramm Rendering to it's own Include-File * src/main/webapp/WEB-INF/jsp/index.jsp: Some Refactoring Work done. * src/main/webapp/styles/default.css: Some Changes in DIV-Formatting to get a propper Layout. * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (NextArtifactStepAction): Static UI integrated 2009-09-17 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/includes/display_fis_inc.jsp: Refactored FIS Rendering to it's own Include-File * src/main/webapp/WEB-INF/jsp/includes/display_diagramm_inc.jsp: Refactored Diagramm Rendering to it's own Include-File * src/main/webapp/WEB-INF/jsp/index.jsp: Some Refactoring Work done. * src/main/webapp/styles/default.css: Some Changes in DIV-Formatting to get a propper Layout. * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (NextArtifactStepAction): Static UI integrated 2009-09-16 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute) Edited: UI also Rendered when Chart is already visualized. * src/main/webapp/WEB-INF/jsp/index.jsp: Some Stylingfixes done. * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Legend-Element for SelectEntries Integrated 2009-09-16 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/mainlayout.jsp Edited, src/main/webapp/WEB-INF/jsp/index.jsp Edited: Integrate the new Pageinfrastructur into the Mainlayout * src/main/webapp/WEB-INF/config/struts-config.xml Edited: Integrate message-resources into the Strutsconfiguration and change the mainpage from index.jsp to mainlayout.jsp 009-09-16 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/header.jsp Added, src/main/webapp/WEB-INF/jsp/footer.jsp Added, src/main/resources/applicationMessages.properties:Added, src/main/webapp/WEB-INF/jsp/mainlayout.jsp Added, src/main/webapp/styles/*, src/main/webapp/scipts/*, src/main/webapp/images/*: Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile 2009-09-16 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/config/struts-config.xml Edited, src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Edited, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java Edited, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (doOutput) (doFeed) Edited, src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java (execute) Edited, src/main/java/de/intevation/gnv/action/DoOutputAction.java Added: Chartoutput Added to the View 2009-09-16 Tim Englich <tim.englich@intevation.de> * src/test/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientTestCase.java Edited: Added Transformerlogic to the Testcase * src/main/webapp/WEB-INF/jsp/index.jsp Edited: Integrated the UI of the Artifact * src/main/webapp/WEB-INF/config/struts-config.xml Edited: Added ActionHandling for managing the next Businesslogic to go to the next Step of an Artifact * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Edited: Added Transformation-Rules for Input-Elements * src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultInputParameter.java Added, src/main/java/de/intevation/gnv/artifactdatabase/objects/InputParameter.java Added: Infrastructur for providing InputParametes as an Object * src/main/java/de/intevation/gnv/artifactdatabase/objects/Artifact.java Edited, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactDescription.java (getInputParameter) (setInputParameter) Edited: Add Methods for providing the reuired Input-Parametes of the current ArtifactDescription * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java Edited, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (doNextStep) Edited: Added doNextStep Method for doing all ControllerWork to move the Artifact into the next Step * src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java Added: Action for switching to the next Step of an Artifact 2009-09-15 Tim Englich <tim.englich@intevation.de> * src/test/java/de/intevation/gnv/util/XSLTransformerTestCase.java: New Testcase for testing the usability of XSL-Transformations * src/test/ressources/describe-ui-test.xml Added: An Sample-Document for testing XSL-Transformations * src/main/webapp/WEB-INF/jsp/index.jsp Edited: Added the html-Fragment of the transformated Describe-Methode-response to the document. * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Added: XSL-Template for transforming an Xform-Element to a HTML-Select-Element * src/main/java/de/intevation/gnv/util/XSLTransformer.java Added: XSl-Transformer for doing XSL-Transformations of the ResultDocuments of the ArtifactDatabase * src/main/java/de/intevation/gnv/util/XMLUtils.java Edited: Integrate a Method for writing an XML-Node to a String for debugging. * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java: Some Unused imports removed an select the first Child of the ui Node. * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java (execute) Edited: Integration of the Describe-Stuff for rendering an GUi 2009-09-15 Tim Englich <tim.englich@intevation.de> * src/test/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientTestCase.java (testArtifactDatabaseClient) Edited: Added "Create Artifact" and "Describe Artifact" to the Testszenario. 2009-09-14 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactDescription.java, src/main/java/de/intevation/gnv/artifactdatabase/objects/Artifact.java, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java, src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java: Support for Initial DescribeCall to ArtifactDatabase implemented 2009-09-14 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/config/struts-config.xml: Added two ActionMappings: One for showing all FIS (ArtifactFactories) in an View. The other for selceting one ArtifactFactory an visualizing the First Step of an Artifact. * src/main/webapp/WEB-INF/jsp/index.jsp Edited: Added an Combobox for selecting an FIS * src/main/webapp/WEB-INF/web.xml: Added the Servletmapping for the Struts Framework * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java Added, src/main/java/de/intevation/gnv/action/FetchArtifactFactoriesAction.java Added, src/main/java/de/intevation/gnv/action/ArtifactDatabaseActionBase.java Edited: Some ActionHandler added for Handling the different Requests of the GNV. FetchArtifactFactoriesAction: Will provides the Controllerlogic for Queriing all Reachable ArtifactFactories. SelectArtifactFactoryAction will select one Specific ArtifactFactory and will create an Instance in the ArtifactDatabase. * src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java Added, src/main/java/de/intevation/gnv/action/sessionmodel/SessionModelFactory.java Added, src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java Added: Interface and Defaultimplementation of an Model which can store the Session-Specific Informations. e.g. Reachable ArtifactFactories and the current Artifact which should be used. 2009-09-14 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java Edited: All Methods for doing the create-Request and reading the Result-Document implemented. * src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java (createNewArtifact) Edited: Add Method for creating a new Artifact in the ArtifactDatabase * src/main/java/de/intevation/gnv/artifactdatabase/objects/Artifact.java (Artifact): Added new Class for the Representation of an Artifact * src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactFactory.java (getHash) Edited, * src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactObject.java (getHash) Edited getHash Method added. Now it will be possible to read the Hash of an Artifact send by the Artifactdatabase. * src/main/java/de/intevation/gnv/propertiesreader/PropertiesReaderFactory.java (getInstance) Edited: Bug Fixed. factory will now be instantiated. * src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java Edited, Integration of temporal Basic Log4J Support. 2009-09-11 Tim Englich <tim.englich@intevation.de> * pom.xml: Further Dependencies and Plugins added Deleted some utdated Files 2009-09-11 Tim Englich <tim.englich@intevation.de> * src/test/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientTestCase.java Added: Testcase for querying Artifacfactorydescriptions from the ArtifactDatabase 2009-09-11 Tim Englich <tim.englich@intevation.de> * src/main/webapp/WEB-INF/jsp/index.jsp Added , src/main/webapp/WEB-INF/config/struts-config.xml Added, src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java Added src/main/java/de/intevation/gnv/action/ArtifactDatabaseActionBase.java Added: Basic Struts-Infrastructur Added 2009-09-11 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/propertiesreader/ServletPropertiesReader.java Added, src/main/java/de/intevation/gnv/propertiesreader/PropertiesReaderFactory.java Added, src/main/java/de/intevation/gnv/propertiesreader/PropertiesReader.java Added, src/main/java/de/intevation/gnv/propertiesreader/MapPropertiesReader.java Added: Infrastructur for Reading Properties from a Map or SercletConfig an provide them to the whole Application. 2009-09-11 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactObject.java Added, src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactFactory.java Added: ObjectStructor for Representing delivered Objects from the ArtifactDatabase * src/main/java/de/intevation/gnv/artifactdatabase/client/exception/ArtifactDatabaseClientException.java Added, src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java Added, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientFactory.java Added, src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java Added: Integrated Interface-Structure to handle the communication to the ArtifactDatabase 2009-09-10 Tim Englich <tim.englich@intevation.de> * .svnignore Added: Added Eclipse specific Files and Folders to the Ignorelist 2009-09-10 Tim Englich <tim.englich@intevation.de> * pom.xml: Created with maven and put the Moduledependencies into it * Changes | Changelog | NEWS | README | TODO: Added * src/**: Added to the Project