HibernateRelationshipsUI |
|
| Your trail: |
Difference between
version 2
and
version 1:
| At line 4 changed 1 line. |
| In this section, you'll create a UI with the following screens: |
| In this section, you'll create a UI that has the following features. |
| At line 13 added 14 lines. |
| !Table of Contents |
| * [1] Modify userForm.jsp to allow creating/editing a weblog |
| * [2] Modify the UserAction to support editing a user's weblogs |
| * [3] Create an EntryAction to handle CRUD-ing Entries |
| * [4] Add the ability to see all Weblogs and edit them, as well as their users |
|
| !!Modify userForm.jsp to allow creating/editing a weblog [#1] |
| 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. |
|
| !!Modify the UserAction to support editing a user's weblogs [#2] |
|
| !!Create an EntryAction to handle CRUD-ing Entries [#3] |
|
| !!Add the ability to see all Weblogs and edit them, as well as their users [#4] |
Back to HibernateRelationshipsUI,
or to the Page History.
|