← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1026: Modify beans of import excel file module.

 

------------------------------------------------------------
revno: 1026
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2009-11-12 12:58:05 +0700
message:
  Modify beans of import excel file module.
modified:
  dhis-2/dhis-web/dhis-web-excel-reporting/src/main/resources/META-INF/dhis/beans.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-excel-reporting/src/main/resources/META-INF/dhis/beans.xml'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/resources/META-INF/dhis/beans.xml	2009-11-10 06:39:31 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/resources/META-INF/dhis/beans.xml	2009-11-12 05:58:05 +0000
@@ -932,7 +932,8 @@
 
 	<bean
 		id="org.hisp.dhis.reportexcel.export.individual.manager.SelectedStateManager"
-		class="org.hisp.dhis.reportexcel.export.individual.manager.DefaultSelectedStateManager">
+		class="org.hisp.dhis.reportexcel.export.individual.manager.DefaultSelectedStateManager"
+		scope="prototype">
 		<property name="periodService" ref="org.hisp.dhis.period.PeriodService" />
 		<property name="selectionManager"
 			ref="org.hisp.dhis.reportexcel.export.action.SelectionManager" />
@@ -1341,7 +1342,8 @@
 
 	<bean
 		id="org.hisp.dhis.reportexcel.importing.period.action.GetPeriodsByExcelItemGroupAction"
-		class="org.hisp.dhis.reportexcel.importing.period.action.GetPeriodsByExcelItemGroupAction">
+		class="org.hisp.dhis.reportexcel.importing.period.action.GetPeriodsByExcelItemGroupAction"
+		scope="prototype">
 		<property name="selectedStateManager"
 			ref="org.hisp.dhis.reportexcel.importing.period.action.SelectedStateManager" />
 		<property name="excelItemService"
@@ -1350,21 +1352,24 @@
 
 	<bean
 		id="org.hisp.dhis.reportexcel.importing.period.action.NextPeriodsAction"
-		class="org.hisp.dhis.reportexcel.importing.period.action.NextPeriodsAction">
+		class="org.hisp.dhis.reportexcel.importing.period.action.NextPeriodsAction"
+		scope="prototype">
 		<property name="selectedStateManager"
 			ref="org.hisp.dhis.reportexcel.importing.period.action.SelectedStateManager" />
 	</bean>
 
 	<bean
 		id="org.hisp.dhis.reportexcel.importing.period.action.PreviousPeriodsAction"
-		class="org.hisp.dhis.reportexcel.importing.period.action.PreviousPeriodsAction">
+		class="org.hisp.dhis.reportexcel.importing.period.action.PreviousPeriodsAction"
+		scope="prototype">
 		<property name="selectedStateManager"
 			ref="org.hisp.dhis.reportexcel.importing.period.action.SelectedStateManager" />
 	</bean>
 
 	<bean
 		id="org.hisp.dhis.reportexcel.importing.period.action.SelectedStateManager"
-		class="org.hisp.dhis.reportexcel.importing.period.action.DefaultSelectedStateManager">
+		class="org.hisp.dhis.reportexcel.importing.period.action.DefaultSelectedStateManager"
+		scope="prototype">
 		<property name="excelItemService"
 			ref="org.hisp.dhis.reportexcel.excelitem.ExcelItemService" />
 		<property name="selectionManager"