Previous Topic: Modify Strings Displayed in Forms

Next Topic: Properties Files

Add New Strings

To add a new string or message to a form, you must add a new tag to the .jsp file and corresponding entry in the associated properties file. For example, to add a new tag called NewTag to a .jsp file called PWScreen.jsp, you must do the following:

  1. Add a new property to the properties file:
    PWScreen.NewTag=NewValue
    
  2. Add a new tag to the .jsp file:
    <%=getI18NParameter (resourcebundle, "PWScreen.NewTag")%>
    

At runtime, the tag in the .jsp file is replaced with the string: NewValue.


Copyright © 2010 CA. All rights reserved. Email CA about this topic