=== modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/java/org/hisp/dhis/importexport/action/event/ImportEventAction.java' --- dhis-2/dhis-web/dhis-web-importexport/src/main/java/org/hisp/dhis/importexport/action/event/ImportEventAction.java 2014-03-18 08:10:10 +0000 +++ dhis-2/dhis-web/dhis-web-importexport/src/main/java/org/hisp/dhis/importexport/action/event/ImportEventAction.java 2014-03-31 06:54:16 +0000 @@ -90,6 +90,13 @@ this.jsonInput = jsonInput; } + private String orgUnitIdScheme = "UID"; + + public void setOrgUnitIdScheme( String orgUnitIdScheme ) + { + this.orgUnitIdScheme = orgUnitIdScheme; + } + // ------------------------------------------------------------------------- // Action Implementation // ------------------------------------------------------------------------- @@ -106,6 +113,7 @@ ImportOptions importOptions = new ImportOptions(); importOptions.setDryRun( dryRun ); + importOptions.setOrgUnitIdScheme( orgUnitIdScheme ); scheduler.executeTask( new ImportEventTask( in, eventService, importOptions, taskId, jsonInput ) ); === modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/resources/org/hisp/dhis/importexport/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-importexport/src/main/resources/org/hisp/dhis/importexport/i18n_module.properties 2014-02-17 18:48:08 +0000 +++ dhis-2/dhis-web/dhis-web-importexport/src/main/resources/org/hisp/dhis/importexport/i18n_module.properties 2014-03-31 06:54:16 +0000 @@ -315,6 +315,7 @@ programs=Programs program_stages=Program Stages format=Format +orgunit_scheme=OrgUnit Scheme compression=Compression compression_gzip=Gzip compression_zip=Zip === modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/eventImportForm.vm' --- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/eventImportForm.vm 2014-01-22 09:30:14 +0000 +++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/eventImportForm.vm 2014-03-31 06:54:16 +0000 @@ -24,6 +24,15 @@ + + $i18n.getString( "orgunit_scheme" ) + +