15.7. Adding new keys to the resources file

Add entries to the Edit mode associated resource file:

1.
Edit myfirstjsr168struts.resources.ApplicationResources.properties.
2.
Add the key value pairs listed in Example 15-9.
Example 15-9. Edit mode resource file
 editmode.heading=Edit Mode editmode.title=Struts Edit Mode Example editmode.instructions=Try the options below to demonstrate various Struts features. When a valid username is given, an action forwards to a JSP in view mode. editmode.instructions.1=Enter a valid username to complete the configuration prompt.username=Username prompt.password=Password button.back=back button.send=Send button.save=Save button.cancel=Cancel button.reset=Reset error.transaction.token=Transaction token is not ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.