Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

root/openmrs-modules/dhisconnector/metadata/moduleApplicationContext.xml

Revision 3148, 1.6 kB (checked in by rcrichton, 1 year ago)

--

  • Property svn:mime-type set to text/plain
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
3
4 <!-- Beans to add to the current Application context definition -->
5  
6 <beans>
7        
8     <bean id="dhisconnectorUrlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
9         <property name="mappings">
10             <props>
11                    <prop key="module/@MODULE_ID@/dhisconnector.form">dhisconnectorForm</prop>
12             </props>
13         </property>
14     </bean>
15
16         <bean id="dhiscohortUrlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
17         <property name="mappings">
18             <props>
19                    <prop key="module/@MODULE_ID@/dhiscohorts.form">dhiscohortsForm</prop>
20             </props>
21         </property>
22     </bean>
23        
24     <!-- Controllers -->
25        
26     <bean id="dhisconnectorForm" class="@MODULE_PACKAGE@.web.controller.DhisConnectorFormController">
27         <property name="commandName"><value>dhisconnectorForm</value></property>
28         <property name="formView"><value>/module/@MODULE_ID@/dhisconnectorForm</value></property>
29         <property name="successView"><value>dhisconnector.form</value></property>
30     </bean>
31
32         <bean id="dhiscohortsForm" class="@MODULE_PACKAGE@.web.controller.DhisCohortsFormController">
33         <property name="commandName"><value>dhiscohortsForm</value></property>
34         <property name="formView"><value>/module/@MODULE_ID@/dhiscohortsForm</value></property>
35         <property name="successView"><value>dhiscohorts.form</value></property>
36     </bean>
37        
38     <!-- /Controllers -->
39 </beans>
Note: See TracBrowser for help on using the browser.