Tag values
All tag values start with three exclamation marks. They include all statements up to, but not including, the next line that starts with !!!
.
The tag body can include:
Statements specific to m4 (define statements)
Bravura Security Fabric -specific macros or tags
(example: _PSF_HEALTH_CHECKS_DESC)
When you run make.bat, the m4 program expands these tags.
HTML markup (example: <p class="bold"> … </p> )
Dynamic-text place holders (example: %HIDDEN_NAME% )
At run-time, Bravura Security Fabric replaces these strings with session-specific data.
Some tag bodies will include widget definitions. When a page is loaded the CGI will use widget files to interpret these to statements into HTML markup with the attributes from the definition.
For example:
!!!F_OPTION_USER_MENU <!--@div( class="hide" id="userMenu" )--> <!--@rawhtml()-->%USERMENU%<!--@endrawhtml()--> <!--@enddiv()-->
In this example the tag body includes two widget definitions; div and rawhtml. A widget definition can be broken down as follows:
The ’begin’ widget file (if it exists) that will be used to interpret this definition. <!--@div indicates that the div-begin.html file will be used to interpret.
The HTML attribute definitions. ( class="hide" id="userMenu" )
The content for the widget (if needed). In the example the content of the div is the rawhtml widget definition and the content of the rawhtml is %USERMENU%
The ’end’ widget file (if it exists) that will be used to interpret this definition. <!--@enddiv indicates that the div-end.html file will be used to interpret.