Switch to newer modelAttribute
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user