=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/HistoryAction.java' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/HistoryAction.java 2013-02-05 12:34:09 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/HistoryAction.java 2013-02-05 13:30:47 +0000 @@ -115,6 +115,11 @@ private String dataElementId; + public String getDataElementId() + { + return dataElementId; + } + public void setDataElementId( String dataElementId ) { this.dataElementId = dataElementId; @@ -122,6 +127,11 @@ private String optionComboId; + public String getOptionComboId() + { + return optionComboId; + } + public void setOptionComboId( String optionComboId ) { this.optionComboId = optionComboId; === modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/SaveCommentAction.java' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/SaveCommentAction.java 2012-02-16 19:58:55 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/SaveCommentAction.java 2013-02-05 13:30:47 +0000 @@ -105,16 +105,18 @@ this.commentValue = commentValue; } - private int dataElementId; + private String dataElementId; - public void setDataElementId( int dataElementId ) + public void setDataElementId( String dataElementId ) { this.dataElementId = dataElementId; } - public int getDataElementId() + private String optionComboId; + + public void setOptionComboId( String optionComboId ) { - return dataElementId; + this.optionComboId = optionComboId; } private int organisationUnitId; @@ -124,13 +126,6 @@ this.organisationUnitId = organisationUnitId; } - private Integer optionComboId; - - public void setOptionComboId( Integer optionComboId ) - { - this.optionComboId = optionComboId; - } - private int statusCode; public int getStatusCode() === modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/defaultForm.vm' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/defaultForm.vm 2013-02-05 12:34:09 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/defaultForm.vm 2013-02-05 13:30:47 +0000 @@ -41,7 +41,7 @@ #set( $dataEntryId = "${dataElement.uid}-${optionCombo.uid}-val" ) #set( $commentId = "${dataElement.uid}-${optionCombo.uid}-comment" ) #if( $dataElement.type == "bool" ) -