← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1796: Got rid of very annoying ognl exception.

 

------------------------------------------------------------
revno: 1796
committer: Bob Jolliffe <bobj@bobj-laptop>
branch nick: trunk
timestamp: Wed 2010-04-21 12:40:59 +0100
message:
  Got rid of very annoying ognl exception.
  
  ognl was choking on the post parameters because the value for the submit button was being sent without a name.  See final parameter below:
  dataSetId=233&sectionId=586331&sectionLabel=tret&selectedList=187&selectedList=42&=Save
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editSection.vm


--
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-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editSection.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editSection.vm	2010-04-20 22:58:35 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editSection.vm	2010-04-21 11:40:59 +0000
@@ -97,7 +97,7 @@
 
       <tr>
         <td colspan="3">
-          <input type="submit" value="$i18n.getString( "save" )"><input type="button" 
+          <input type="submit" name="save" value="$i18n.getString( "save" )"><input type="button"
             onclick="window.location.href='dataSet.action'" value="$i18n.getString( "cancel" )">
         </td>
       </tr>