CreateActions |
|
Your trail: |
Difference between
version 101
and
version 100:
At line 83 changed 1 line. |
In the generated JSPs, there are two keys for the title (top of the browser window) and the header (heading in the page). We now need to add these two keys (personDetail.title and personDetail.heading) to ApplicationResources_en.properties. |
In the generated JSPs, there are two keys for the title (top of the browser window) and the header (heading in the page). These fields are provided above with personDetail.title and personDetail.heading properties. |
At line 85 changed 1 line. |
Open web/WEB-INF/classes/ApplicationResources_en.properties and add the following to the bottom of the file: |
''Just above, we added "personForm.*" keys to this file, so why do I use personDetail instead of personForm for the titles and headings? The best reason is because it gives a nice separation between form labels and text on the page. Another reason is because all the *Form.* give you a nice representation of all the fields in your database. |
At line 87 removed 8 lines. |
{{{ |
# -- person detail page -- |
personDetail.title=Person Detail |
personDetail.heading=Person Information |
}}} |
|
;:''Just above, we added "personForm.*" keys to this file, so why do I use personForm ''and'' personDetail? The best reason is because it gives a nice separation between form labels and text on the page. Another reason is because all the *Form.* give you a nice representation of all the fields in your database. |
|
Back to CreateActions,
or to the Page History.
|