diff flys-artifacts/doc/conf/conf.xml @ 3630:28be160b5870

Add a module service. It's now possible to configure the modules which are available for a client. With the selected attribute it is possible to give a hint for the client which module should be pre selected by default flys-artifacts/trunk@5330 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 31 Aug 2012 13:17:16 +0000
parents 68beaa827751
children 0edc05642fa4
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/conf.xml	Fri Aug 31 11:26:49 2012 +0000
+++ b/flys-artifacts/doc/conf/conf.xml	Fri Aug 31 13:17:16 2012 +0000
@@ -182,6 +182,10 @@
                 name="sq-km-chart"
                 service="de.intevation.flys.artifacts.services.SQKMChartService"
                 description="Returns a chart of km and date of meassuring points of a given river.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
+            <service-factory
+                name="modules"
+                service="de.intevation.flys.artifacts.services.ModuleService"
+                description="Returns a list of available modules.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
         </service-factories>
 
     </factories>
@@ -215,6 +219,13 @@
         <artifact name="qsector" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/qsector.xml" />
     </artifacts>
 
+    <modules>
+        <module name="winfo" selected="true"/>
+        <module name="minfo"/>
+        <module name="new_map"/>
+        <module name="new_chart"/>
+        <module name="fixanalysis"/>
+    </modules>
 
     <hooks>
         <hook

http://dive4elements.wald.intevation.org