Modifying the wait cursor for pages that are loading
- To change the image and message that is displayed:
- In the midTierInstallationDir/webapps/shared/images folder, insert the new image.
In the midTierInstallationDir/shared/wait.jsp file, search for getLocalizedText, and find the following code:
<img src="<%=request.getContextPath()%>/shared/images/<file_name>.gif" alt="wait image"/>
<%= MessageTranslation.getLocalizedText(locale, "Loading")%>Change the image and message text in the code.
For example:
<img src="<%=request.getContextPath()%>/shared/images/Progress_NonModal-circle.gif" alt="wait image"/>
<%= MessageTranslation.getLocalizedText(locale, "Loading")%>In this example, the Progress_NonModal-circle.gif image is displayed with the message Loading.
- To localize the message for a specific locale when pages are loading a form, update the corresponding language file in the midTierInstallationDir/webapps/arsys/WEB-INF/classes folder.
Change the following line:
defaultMessage = localizedMessage
In the original installation, the line reads:
Loading = Loading
Loading is taken from the line in the wait.jsp file that is discussed in step 1.
Example
If you want to change the message to read Searching, and you want German language readers to view German, change the wait.jsp file's line to:
//arsystem.waiting_cursor_innerhtml=<img src=imageContextPath/Progress_NonModal-circle.gif></img>Searching
Then, change the line in the language file in midTierInstallDir/WEB-INF/classes to:
Searching = Suchen
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*