diff flys-artifacts/doc/conf/meta-data.xml @ 2572:700f28bfd7ef

Partial fix flys/issue615, adjusted datacage conf. flys-artifacts/trunk@4102 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 01 Mar 2012 12:44:33 +0000
parents 867ebe191799
children 3d240200364c
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data.xml	Thu Mar 01 12:17:38 2012 +0000
+++ b/flys-artifacts/doc/conf/meta-data.xml	Thu Mar 01 12:44:33 2012 +0000
@@ -122,9 +122,24 @@
               </dc:statement>
               <dc:elements>
                 <fixation>
-                    <dc:attribute name="name" value="${prot_description}"/>
-                    <dc:attribute name="ids" value="fixations-wstv-A-${prot_id}"/>
-                    <dc:attribute name="factory" value="wqinterpol"/>
+                  <dc:attribute name="name" value="${prot_description}"/>
+                  <!--dc:attribute name="ids" value="fixations-wstv-A-${prot_id}"/-->
+                  <dc:context>
+                    <dc:statement>
+                      SELECT id       AS prot_column_id,
+                             name     AS prot_column_name,
+                             position AS prot_rel_pos
+                      FROM wst_columns WHERE wst_id = ${prot_id}
+                      ORDER by position
+                    </dc:statement>
+                    <dc:elements>
+                      <column>
+                        <dc:attribute name="name" value="${prot_column_name}"/>
+                        <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/>
+                        <dc:attribute name="factory" value="wqinterpol"/>
+                      </column>
+                    </dc:elements>
+                  </dc:context>
                 </fixation>
               </dc:elements>
             </dc:context>

http://dive4elements.wald.intevation.org