SpringControllers |
|
Your trail: |
Difference between
version 50
and
version 49:
At line 316 removed 1 line. |
Now let's clean up the generated personForm.jsp by making the "id" property a hidden field. Remove the following code block from web/pages/personForm.jsp: |
At line 318 removed 26 lines. |
[{Java2HtmlPlugin |
|
<tr> |
<th> |
<appfuse:label key="person.id"/> |
</th> |
<td> |
<spring:bind path="person.id"> |
<input type="text" name="<c:out value="${status.expression}"/>" |
id="<c:out value="${status.expression}"/>" |
value="<c:out value="${status.value}"/>" /> |
<span class="fieldError"><c:out value="${status.errorMessage}"/></span> |
</spring:bind> |
</td> |
</tr> |
}] |
|
And add the following before the <table> tag: |
|
[{Java2HtmlPlugin |
|
<spring:bind path="person.id"> |
<input type="hidden" name="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>" /> |
</spring:bind> |
}] |
|
Back to SpringControllers,
or to the Page History.
|