diff flys-artifacts/doc/conf/meta-data.xml @ 1054:1f3e944a805c

Datacage: filter by out in user specific part flys-artifacts/trunk@2521 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 22 Aug 2011 13:07:26 +0000
parents 0a5eff5511b1
children 67b8a2b03e36
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data.xml	Mon Aug 22 10:40:15 2011 +0000
+++ b/flys-artifacts/doc/conf/meta-data.xml	Mon Aug 22 13:07:26 2011 +0000
@@ -24,7 +24,7 @@
               </dc:statement>
               <dc:elements>
                 <dc:choose>
-                  <dc:when test="$current-state-id = 'state.winfo.waterlevel'">
+                  <dc:when test="dc:contains($artifact-outs, 'longitudinal_section')">
                     <dc:context>
                       <dc:statement>SELECT id AS out_id FROM outs WHERE artifact_id = ${a_id} AND name = 'longitudinal_section'
                       </dc:statement>
@@ -39,8 +39,9 @@
                                 <dc:element name="${facet_name}">
                                   <dc:attribute name="description" value="${facet_description}"/>
                                   <dc:attribute name="num" value="${facet_num}"/>
-                                  <dc:attribute name="factory" value="TODO"/>
+                                  <dc:attribute name="factory" value="winfo"/>
                                   <dc:attribute name="artifact-id" value="${a_gid}"/>
+                                  <dc:attribute name="out" value="longitudinal_section"/>
                                 </dc:element>
                               </dc:elements>
                           </longitudinal_section_columns>

http://dive4elements.wald.intevation.org