=== modified file 'dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/dataentry/action/GetDataSetOverviewAction.java' --- dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/dataentry/action/GetDataSetOverviewAction.java 2012-01-04 12:55:23 +0000 +++ dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/dataentry/action/GetDataSetOverviewAction.java 2012-01-12 07:01:26 +0000 @@ -172,6 +172,18 @@ this.markComplete = markComplete; } + private boolean validated; + + public boolean getValidated() + { + return validated; + } + + public void setValidated( boolean validated ) + { + this.validated = validated; + } + private List validationRuleViolations = new ArrayList(); public List getValidationRuleViolations() === modified file 'dhis-2/dhis-web/dhis-web-light/src/main/resources/org/hisp/dhis/light/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-light/src/main/resources/org/hisp/dhis/light/i18n_module.properties 2012-01-11 05:58:26 +0000 +++ dhis-2/dhis-web/dhis-web-light/src/main/resources/org/hisp/dhis/light/i18n_module.properties 2012-01-12 07:01:26 +0000 @@ -48,3 +48,4 @@ write_feedback=Write feedback successfully_marked_as_complete=Successfully marked as complete successfully_marked_as_not_complete=Successfully marked as not complete +successfully_saved_section=Successfully saved section === modified file 'dhis-2/dhis-web/dhis-web-light/src/main/resources/struts.xml' --- dhis-2/dhis-web/dhis-web-light/src/main/resources/struts.xml 2012-01-09 14:29:43 +0000 +++ dhis-2/dhis-web/dhis-web-light/src/main/resources/struts.xml 2012-01-12 07:01:26 +0000 @@ -40,7 +40,7 @@ - /mobile/dataEntry.action?organisationUnitId=${organisationUnitId}&dataSetId=${dataSetId}&periodId=${periodId} + /mobile/dataEntry.action?organisationUnitId=${organisationUnitId}&dataSetId=${dataSetId}&periodId=${periodId}&validated=${validated} /dhis-web-light/main.vm /dhis-web-light/dataEntrySection.vm F_DATAVALUE_ADD,F_DATAVALUE_UPDATE,F_DATAVALUE_DELETE === modified file 'dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/dataEntryOverview.vm' --- dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/dataEntryOverview.vm 2012-01-11 05:58:26 +0000 +++ dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/dataEntryOverview.vm 2012-01-12 07:01:26 +0000 @@ -15,6 +15,12 @@ #end +#if( $validated == true ) +
+

$i18n.getString( "successfully_saved_section" )

+
+#end + #* #if( $validationRuleViolations.size() > 0 )
=== modified file 'dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/dataEntrySection.vm' --- dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/dataEntrySection.vm 2012-01-11 07:11:28 +0000 +++ dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/dataEntrySection.vm 2012-01-12 07:01:26 +0000 @@ -31,7 +31,11 @@ + +#if( $sectionId) +#end + #macro( createSection $sectionName $dataElements )