Switch to newer modelAttribute

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
master
Andrew DeMaria 5 years ago
parent 2f143ad6aa
commit 776bb2cfef
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/advancedSettings.jsp
  2. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/databaseSettings.jsp
  3. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/generalSettings.jsp
  4. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/musicFolderSettings.jsp
  5. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/passwordSettings.jsp
  6. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/personalSettings.jsp
  7. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/playerSettings.jsp
  8. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/podcastSettings.jsp

@ -21,7 +21,7 @@
<c:param name="toast" value="${settings_toast}"/> <c:param name="toast" value="${settings_toast}"/>
</c:import> </c:import>
<form:form method="post" action="advancedSettings.view" commandName="command"> <form:form method="post" action="advancedSettings.view" modelAttribute="command">
<table style="white-space:nowrap" class="indent"> <table style="white-space:nowrap" class="indent">
<tr> <tr>

@ -35,7 +35,7 @@
<c:param name="toast" value="${settings_toast}"/> <c:param name="toast" value="${settings_toast}"/>
</c:import> </c:import>
<form:form commandName="command" action="databaseSettings.view" method="post"> <form:form modelAttribute="command" action="databaseSettings.view" method="post">
<p><fmt:message key="databasesettings.moreinfo"/></p> <p><fmt:message key="databasesettings.moreinfo"/></p>
<table style="white-space:nowrap" class="indent"> <table style="white-space:nowrap" class="indent">

@ -16,7 +16,7 @@
<c:param name="toast" value="${settings_toast}"/> <c:param name="toast" value="${settings_toast}"/>
</c:import> </c:import>
<form:form method="post" action="generalSettings.view" commandName="command"> <form:form method="post" action="generalSettings.view" modelAttribute="command">
<table style="white-space:nowrap" class="indent"> <table style="white-space:nowrap" class="indent">

@ -28,7 +28,7 @@
<c:param name="toast" value="${settings_toast}"/> <c:param name="toast" value="${settings_toast}"/>
</c:import> </c:import>
<form:form commandName="command" action="musicFolderSettings.view" method="post"> <form:form modelAttribute="command" action="musicFolderSettings.view" method="post">
<table class="indent"> <table class="indent">
<tr> <tr>

@ -22,7 +22,7 @@
<c:otherwise> <c:otherwise>
<fmt:message key="passwordsettings.title" var="title"><fmt:param>${command.username}</fmt:param></fmt:message> <fmt:message key="passwordsettings.title" var="title"><fmt:param>${command.username}</fmt:param></fmt:message>
<h2>${fn:escapeXml(title)}</h2> <h2>${fn:escapeXml(title)}</h2>
<form:form method="post" action="passwordSettings.view" commandName="command"> <form:form method="post" action="passwordSettings.view" modelAttribute="command">
<form:hidden path="username"/> <form:hidden path="username"/>
<table class="indent"> <table class="indent">
<tr> <tr>

@ -27,7 +27,7 @@
<h2>${fn:escapeXml(title)}</h2> <h2>${fn:escapeXml(title)}</h2>
<fmt:message key="common.default" var="defaultTitle"/> <fmt:message key="common.default" var="defaultTitle"/>
<form:form method="post" action="personalSettings.view" commandName="command"> <form:form method="post" action="personalSettings.view" modelAttribute="command">
<table style="white-space:nowrap" class="indent"> <table style="white-space:nowrap" class="indent">

@ -77,7 +77,7 @@ $(document).ready(function() {
</tr> </tr>
</table> </table>
<form:form commandName="command" method="post" action="playerSettings.view"> <form:form modelAttribute="command" method="post" action="playerSettings.view">
<form:hidden path="playerId"/> <form:hidden path="playerId"/>
<table class="ruleTable indent"> <table class="ruleTable indent">

@ -12,7 +12,7 @@
<c:param name="toast" value="${settings_toast}"/> <c:param name="toast" value="${settings_toast}"/>
</c:import> </c:import>
<form:form commandName="command" action="podcastSettings.view" method="post"> <form:form modelAttribute="command" action="podcastSettings.view" method="post">
<table class="indent"> <table class="indent">
<tr> <tr>

Loading…
Cancel
Save