Skip to content

Commit

Permalink
Replacing commandName with modelAttribute for Spring 5
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa committed Apr 8, 2020
1 parent 9bffe9c commit 2548574
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion omod/src/main/webapp/admin/maintenance/settings.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</c:choose>
</c:forEach></td>
<td class="box"><form:form method="post"
commandName="settingsForm">
modelAttribute="settingsForm">
<form:hidden path="section"/>
<table>
<c:forEach items="${ settingsForm.settings }" var="item"
Expand Down
2 changes: 1 addition & 1 deletion omod/src/main/webapp/admin/visits/configureVisits.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<b class="boxHeader"><openmrs:message
code="Visit.configure" /> </b>
<div class="box">
<form:form method="post" commandName="configureVisitsForm">
<form:form method="post" modelAttribute="configureVisitsForm">
<p>
<b><openmrs:message code="Encounter.visits.enable" />
</b>
Expand Down

0 comments on commit 2548574

Please sign in to comment.