...
Code Block |
---|
<Parameter name "frevvo.db.check.encoding" value="true" override="false"/> <Parameter name "frevvo.db.encoding.error" value="true" override="false"/> |
Pointing frevvo Help Links to your Documentation
...
Customizing Runtime Messages and Labels in the Form Designer
You can modify the text of runtime messages and customize the labels in the Form/flow designers by changing string name/value pairs to the 'default' file found in the frevvo.war. You can customize the Form designer and most labels (but not all) in the flow designer.
The English version of the modified strings appear on the UI once is restarted.
For example, you would like to:
- Change the text of the "Access denied. Authorization reguired" message that the user sees when accessing a form that requires logging into (Public in tenant).
- Customize the labels of the Palette, Custom, Properties and Data Sources sections of the Forms designer.
Both of these items can be customized by modifying the same file. Follow these steps:
- Stop if it is running.
- Navigate to <frevvo-home>\tomcat\webapps directory.
- Copy the fevvo.war file to a temporary location of your choice: e.g. c:\tmp\frevvo-war. Change the file extension from .war to .zip if necessary.
- Edit c:\tmp\frevvo-war\WEB-INF\locales\default.
- To change the text of the "Access denied. Authorization required" message locate it in the file. Notice that the strings on the left side of the '=' have spaces escaped with the '\' character. This is needed so do not remove that. The escape character is not needed on the right side of the '='. Enter the text that you want on the right side of the '='
- To change the labels in the Forms designer, locate the default labels in the file (Palette, Custom, Properties and Data Sources) and enter the labels that you want to display to the right of the '='
- Save the changes to the default file.
Rezip all the files in the c:\tmp\frevvo-war directory, even the ones you did not edit — if you change directories or zip them differently, Live Forms may not load correctly:
This is the correct structure for the frevvo.war zipfile.
Make sure you create the zipfile with the directory structure as shown in the image above. It is an easy mistake to include the containing directory in the zipfile. If you do this, Live Forms may not load correctly. Zip will often give your zipfile a .zip extension. Make sure you change this to a .war extension.
- Copy the updated frevvo.war file to <frevvo-home>tomcat\webapps.
- Restart your server.
Branding CSS
OEM partners can use the context parameter, frevvo.oem.branding.class to name a css class that will be placed onto the body of the UI pages (form designer, etc.). Follow the steps below to do this:
...