Mercurial > dive4elements > gnv-client
view gnv/ChangeLog @ 585:2e690cb2247c
Show information about MapServer path and layer name after publishing calculated shapefiles as wms. Use MapServer settings configured in conf.xml to feed OpenLayers client.
gnv/trunk@736 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 05 Mar 2010 09:33:30 +0000 |
parents | b31e81f35b64 |
children | 97d90e314af5 |
line wrap: on
line source
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