At line 49 changed 3 lines. |
** web/personForm.jsp (察看单个文件的JSP文件) |
** web/personList.jsp (察看People列表的JSP文件) |
* 把Person.properties的内容拷贝到web/WEB-INF/classes/ApplicationResources_en.properties,这是所有form中需要的标题关键字,以下是你将要添加到ApplicationResources_en.properties的内容的例子: |
** web/pages/personForm.jsp (察看单个文件的JSP文件) |
** web/pages/personList.jsp (察看People列表的JSP文件) |
* 把Person.properties的内容拷贝到web/WEB-INF/classes/ApplicationResources.properties,这是所有form中需要的标题关键字,以下是你将要添加到ApplicationResources.properties的内容的例子: |
At line 60 changed 3 lines. |
person.added=Information for <strong>{0}</strong> has been added successfully. |
person.updated=Information for <strong>{0}</strong> has been updated successfully. |
person.deleted=Information for <strong>{0}</strong> has been deleted successfully. |
person.added=Person has been added successfully. |
person.updated=Person has been updated successfully. |
person.deleted=Person has been deleted successfully. |
At line 83 changed 1 line. |
* 在ApplicationResources_en.properties中添加JSP文件出现的标题和题头,在生成的JSPs里有两处标题(浏览器顶端显示)的关键字,这些字段提供了personDetail.title和personDetail.heading关键字名。 |
* 在ApplicationResources.properties中添加JSP文件出现的标题和题头,在生成的JSPs里有两处标题(浏览器顶端显示)的关键字,这些字段提供了personDetail.title和personDetail.heading关键字名。 |
At line 215 changed 3 lines. |
new ActionMessage("person.deleted", |
personForm.getFirstName() + ' ' + |
personForm.getLastName())); |
new ActionMessage("person.deleted")); |
At line 271 changed 3 lines. |
new ActionMessage("person.added", |
personForm.getFirstName() + " " + |
personForm.getLastName())); |
new ActionMessage("person.added")); |
At line 281 changed 3 lines. |
new ActionMessage("person.updated", |
personForm.getFirstName() + " " + |
personForm.getLastName())); |
new ActionMessage("person.updated")); |
At line 410 added 1 line. |
<verifytext description="verify success message" text="${person.updated}"/> |
At line 435 changed 2 lines. |
<verifytext description="verify success message" |
text="Information for <strong>Abbie Raible</strong> has been added successfully."/> |
<verifytext description="verify success message" text="${person.added}"/> |
At line 451 changed 2 lines. |
<verifytext description="verify success message" |
text="Information for <strong>Matt Canoo</strong> has been deleted successfully."/> |
<verifytext description="verify success message" text="${person.deleted}"/> |