The StaticStringDisplay class
| M |
from utils.static_strings import StaticStringDisplayclass MyStaticStringDisplay(StaticStringDisplay): key = "WHICHKEY" tab = "WHICHTAB" title="NOTITLE"
def new(req): return MyStaticStringDisplay(req)
If you want your page to display more than one static string, then instead of defining the key you should also define the single_controls list to be the list of StaticStringControls. For e.g.,
from utils.static_strings import StaticStringDisplayclass MyStaticStringDisplay(StaticStringDisplay): tab = "SOME TAB" title="THIS TITLE" single_controls = [ StaticStringControl(key="key1"), StaticStringControl(key="key2") ... ]
def new(req): return MyStaticStringDisplay(req)
The StaticStringDisplay just defines single_controls in its make_page function (if necessary), sets the page to display shape and renders all the controls in single_controls.

