Work on ODK servlets based on JCR.
[gpl/argeo-suite.git] / knowledge / org.argeo.support.odk / OSGI-INF / odkFormListServlet.xml
index 852423b16a199c9103172e916433e691645f6a19..e290933fd9bfd91701dc9ef685a5c6262ae1c2fe 100644 (file)
@@ -7,4 +7,5 @@
    <property name="osgi.http.whiteboard.servlet.pattern" type="String" value="/formList"/>
    <property name="osgi.http.whiteboard.context.select" type="String" value="(osgi.http.whiteboard.context.name=odkServletContext)"/>
    <reference bind="addForm" cardinality="0..n" interface="org.argeo.support.odk.OdkForm" name="OdkForm" policy="dynamic" unbind="removeForm"/>
    <property name="osgi.http.whiteboard.servlet.pattern" type="String" value="/formList"/>
    <property name="osgi.http.whiteboard.context.select" type="String" value="(osgi.http.whiteboard.context.name=odkServletContext)"/>
    <reference bind="addForm" cardinality="0..n" interface="org.argeo.support.odk.OdkForm" name="OdkForm" policy="dynamic" unbind="removeForm"/>
+   <reference bind="setRepository" cardinality="1..1" interface="javax.jcr.Repository" name="Repository" policy="static" target="(cn=odk)"/>
 </scr:component>
 </scr:component>