comparison gnv/ChangeLog @ 670:b89b31293772

Implemented first things to store/load projects. gnv/trunk@793 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 17 Mar 2010 13:31:38 +0000
parents ef1ff5fdab5b
children fbbf2ffde11f
comparison
equal deleted inserted replaced
669:ef1ff5fdab5b 670:b89b31293772
1 2010-03-17 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 Issue208 First steps for exporting artifacts.
4
5 * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java,
6 src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java:
7 New method to export an artifact.
8
9 * pom.xml: Added Apache common-fileupload 1.2.1 lib.
10
11 * src/main/java/de/intevation/gnv/action/CommunicationKeys.java: Further
12 error message key added which is displayed beneath project load/store
13 buttons if an error occured while these operations.
14
15 * src/main/resources/applicationMessages.properties,
16 src/main/resources/applicationMessages_en.properties: Added error messages
17 for errors which occure while loading/storing projects.
18
19 * src/main/webapp/styles/default.css: Added a new style class to adjust
20 error messages which may occur while loading/storing projects.
21
22 * src/main/java/de/intevation/gnv/action/StoreAction.java: New controller
23 which triggers an artifact export. After pushing the corresponding button,
24 the artifact is returned as xml document and a file dialog is displayed.
25
26 * src/main/java/de/intevation/gnv/action/LoadAction.java: New controller to
27 import artifacts which have former been exported. XML documents are
28 successfully read from fileupload.
29 TODO: Use these documents to create artifacts. No artifacts are loaded
30 yet!
31
32 * src/main/java/de/intevation/gnv/util/XMLUtils.java: Added a method to
33 write documents to a stream.
34
35 * src/main/webapp/WEB-INF/config/struts-config.xml: Added LoadAction and
36 StoreAction. The controller are available under /gnv/load and /gnv/store.
37
38 * src/main/webapp/WEB-INF/jsp/header.jsp: Removed placeholder string for
39 storing/loading the current project state and added buttons to start
40 an export of the current project's state (the current artifact) or reload
41 an artifact from a xml document.
42
1 2010-03-16 Ingo Weinzierl <ingo.weinzierl@intevation.de> 43 2010-03-16 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2 44
3 * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Changed the 45 * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Changed the
4 rendering of measurement/parameter matrix. The matrix will now look like 46 rendering of measurement/parameter matrix. The matrix will now look like
5 this: 47 this:

http://dive4elements.wald.intevation.org