Adding messages to the Management Center
The Management Center status bar and message console include information about the tasks that a business user completes, or attempts to complete. Rather than hardcoding UI text in the OpenLaszlo class files, include all message text in resource properties files, and associate the files with resource keys. This way, you maintain the UI code in one area (the OpenLaszlo file) and the messages in another (properties file). This method is useful if you have messages that change frequently, or require translation.
Before you begin
Procedure
To define properties files and bundle keys for UI text:
What to do next
- Right-click LOBTools Project; then click Build OpenLaszlo Project to produce an updated ManagementCenter.swf file under the WCDE_installdir\workspace\LOBTools\WebContent directory. This setting is the default environment setting.
- Test your work by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools.
- Deploy your files to your production environment.