| At line 26 changed 1 line. |
| * Execute __ant -Dobject.name=Person -Dappgen.type=pojo__ to generate a bunch of files in extras/appgen/build/gen. In fact, it'll generate all the files you need to complete this tutorial. However, let's just grab the ones you need. |
| * Execute __ant -Dobject.name=Person -Dappgen.type=pojo -Dapp.module=__ to generate a bunch of files in extras/appgen/build/gen. In fact, it'll generate all the files you need to complete this tutorial. However, let's just grab the ones you need. |
| At line 131 changed 1 line. |
| assertNotNull(request.getSession().getAttribute("messages")); |
| assertNotNull(request.getSession().getAttribute("successMessages")); |
| At line 139 changed 1 line. |
| assertNotNull(request.getSession().getAttribute("messages")); |
| assertNotNull(request.getSession().getAttribute("successMessages")); |
| 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> |
| }] |
|
| At line 417 added 1 line. |
| <prepareDialogResponse description="Confirm delete" dialogType="confirm" response="true"/> |
| At line 419 added 1 line. |
| <verifyNoDialogResponses/> |