...
Code Block |
---|
var CustomWizard = { show: function (id) { if (parent.FrevvoCustomActions) parent.FrevvoCustomActions.doAction (id); else if (FrevvoCustomActions) FrevvoCustomActions.doAction (id); } } |
Customizing Runtime Messages and Labels in the
...
Designers
You can modify the text of runtime messages and customize the labels in the Form/flow designers by changing string name/value pairs in the 'default' file found in the frevvo.war. You can customize the Form designer and most labels (but not all) in the flow Flow designer.
The English version of the modified strings appear on the UI once is restarted.
For example, if you would like wanted to:
- Change the text of the "Access denied. Authentication reguiredrequired" 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.
...
- Stop if it is running.
- Navigate to <frevvo-home>\tomcat\webapps directory.
- Copy the fevvofrevvo.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\data\locales\default.
To change the text of the "Access denied. Authentication required" message locate the Error messages section 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 '='
Code Block # Error messages Access\ Denied.\ Authentication\ required.= Please Sign into Live Forms
To change the labels in the Forms designer, locate the Form Designer toolbox section of the file. Enter the labels that you want to display to the right of the '='
Code Block # Form Designer Toolbox Palette=MyPalette PaletteControls Custom=My Custom Controls Properties=Control Properties Data\ Sources=Schemas Drag\ and\ drop\ controls\ from\ the\ form\ into\ the\ header\ above.\ You\ can\ then\ re-use\ them\ in\ other\ forms.= Drop\ Submit\ buttons\ from\ the\ palette\ to\ add\ to\ the\ form.= Drop\ controls\ from\ the\ palette\ to\ add\ to\ the\ form.= Drag\ and\ drop\ controls\ from\ the\ palette\ into\ the\ form.= Drag\ and\ drop\ controls\ from\ the\ palette\ or\ from\ the\ form.=
- 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.
Section Column
Customized "Access denied. Authentication required" messageColumn Customized Labels in the Forms Designer
...