]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - gis/plugins/org.argeo.gis.ui/META-INF/spring/commands.xml
Improve GIS
[lgpl/argeo-commons.git] / gis / plugins / org.argeo.gis.ui / META-INF / spring / commands.xml
index 52746358de38a03d30d30cda68d6beef75435faa..759f66cc3e53f2d316442f449af7e02c2f9d1f40 100644 (file)
@@ -5,10 +5,12 @@
         http://www.springframework.org/schema/beans/spring-beans.xsd">
 
        <bean id="newMap" class="org.argeo.gis.ui.commands.NewMap" scope="prototype">
+               <property name="session" ref="jcrSession"/>
        </bean>
        
        <bean id="addFeatureSources" class="org.argeo.gis.ui.commands.AddFeatureSources"
                scope="prototype">
                <property name="geoJcrMapper" ref="geoJcrMapper" />
+               <property name="session" ref="jcrSession"/>
        </bean>
 </beans>