HibernateRelationshipsUI |
|
| Your trail: |
Difference between
version 8
and
version 7:
| At line 26 changed 1 line. |
| A weblog record has 4 fields: weblogId, username, blogTitle and dateCreated. The blogTitle is the only field that users should be able to edit. The rest of them can be set programmatically. Open ''web/pages/userForm.jsp'' and add the following code to the bottom of the form (between </table> and </form>. |
| A weblog record has 3 fields: weblogId, blogTitle and dateCreated. The blogTitle is the only field that users should be able to edit. The rest of them can be set programmatically. Open ''web/pages/userForm.jsp'' and add the following code to the bottom of the form (between </table> and </form>. |
| At line 34 changed 2 lines. |
| <input type="hidden" name="weblogs[<c:out value='${index.index}'/>].dateCreated" |
| value="<fmt:formatDate value='${blog.dateCreated}' pattern="MM/dd/yyyy"/>"/> |
| <input type="hidden" name="weblogs[<c:out value='${index.index}'/>].dateCreated" value="<fmt:formatDate value='${blog.dateCreated}' pattern="MM/dd/yyyy"/>"/> |
| At line 43 added 1 line. |
| [] |
Back to HibernateRelationshipsUI,
or to the Page History.
|