changeset 2511:1aa6aec70b97

map print: Simplified config. flys-client/trunk@4366 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 09 May 2012 16:32:49 +0000
parents 4861ab2c28d2
children 72266675b351
files flys-client/ChangeLog flys-client/src/main/webapp/WEB-INF/config.yaml
diffstat 2 files changed, 10 insertions(+), 47 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed May 09 16:13:45 2012 +0000
+++ b/flys-client/ChangeLog	Wed May 09 16:32:49 2012 +0000
@@ -1,3 +1,7 @@
+2012-05-09	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/webapp/WEB-INF/config.yaml: Simplified config. Still ugly.
+
 2012-05-09	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java:
--- a/flys-client/src/main/webapp/WEB-INF/config.yaml	Wed May 09 16:13:45 2012 +0000
+++ b/flys-client/src/main/webapp/WEB-INF/config.yaml	Wed May 09 16:32:49 2012 +0000
@@ -120,56 +120,15 @@
           spacingAfter: 30
           width: 440
           height: 483
-        - !columns
-          # columns can have an absolute position. In that case, they need the 3 following fields:
-          absoluteX: 410
-          absoluteY: 310
-          width: 100
-          items:
-            - !scalebar
-              type: bar
-              maxSize: 100
-              barBgColor: white
-              fontSize: 8
-              align: right
+        - !scalebar
+          type: bar
+          maxSize: 100
+          barBgColor: white
+          fontSize: 8
+          align: right
         - !text
           text: '${comment}'
           spacingAfter: 30
-        - !attributes
-          source: data
-          spacingAfter: 30
-          columnDefs:
-            id:
-              columnWeight: 2
-              header: !text
-                text: ID
-                backgroundColor: #A0A0A0
-              cell: !text
-                text: '${id}'
-            name:
-              columnWeight: 5
-              header: !text
-                text: Name
-                backgroundColor: #A0A0A0
-              cell: !columns
-                config:
-                  cells:
-                    - backgroundColor: '${nameBackgroundColor}'
-                      borderWidth: 1
-                      borderColor: '${nameBorderColor}'
-                items:
-                  - !text
-                    text: '${name}'
-            icon:
-              columnWeight: 2
-              header: !text
-                text: Symbol
-                backgroundColor: #A0A0A0
-              cell: !image
-                align: center
-                maxWidth: 15
-                maxHeight: 15
-                url: 'http://www.mapfish.org/svn/mapfish/framework/client/trunk/mfbase/mapfish/img/${icon}.png'
         - !text
           font: Helvetica
           fontSize: 9

http://dive4elements.wald.intevation.org