Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Articles
Articles_cn
Articles_pt
Articles_zh
CreateManager_zh
ValidationAndList_zh




JSPWiki v2.2.33

[RSS]


Hide Menu

CreateActions_zh


Difference between version 6 and version 5:

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.
* &#22312;ApplicationResources_en.properties&#20013;&#28155;&#21152;JSP&#25991;&#20214;&#20986;&#29616;&#30340;&#26631;&#39064;&#21644;&#39064;&#22836;&#65292;&#22312;&#29983;&#25104;&#30340;JSPs&#37324;&#26377;&#20004;&#22788;&#26631;&#39064;(&#27983;&#35272;&#22120;&#39030;&#31471;&#26174;&#31034;)&#30340;&#20851;&#38190;&#23383;&#65292;&#36825;&#20123;&#23383;&#27573;&#25552;&#20379;&#20102;personDetail.title&#21644;personDetail.heading&#20851;&#38190;&#23383;&#21517;&#12290;
* &#22312;ApplicationResources.properties&#20013;&#28155;&#21152;JSP&#25991;&#20214;&#20986;&#29616;&#30340;&#26631;&#39064;&#21644;&#39064;&#22836;&#65292;&#22312;&#29983;&#25104;&#30340;JSPs&#37324;&#26377;&#20004;&#22788;&#26631;&#39064;(&#27983;&#35272;&#22120;&#39030;&#31471;&#26174;&#31034;)&#30340;&#20851;&#38190;&#23383;&#65292;&#36825;&#20123;&#23383;&#27573;&#25552;&#20379;&#20102;personDetail.title&#21644;personDetail.heading&#20851;&#38190;&#23383;&#21517;&#12290;
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 &lt;strong&gt;Abbie Raible&lt;/strong&gt; 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 &lt;strong&gt;Matt Canoo&lt;/strong&gt; has been deleted successfully."/>
<verifytext description="verify success message" text="${person.deleted}"/>

Back to CreateActions_zh, or to the Page History.