hookMsgListener
(method in module tri
)
This function is called during the initialzation of tri.js and performs several housekeeping functions:
The messages are routed according to a prefix which is a string separated by a :. The handler is expected to be in
oGBL.msgHandler[sPref] where sPref is the string before the :.
If no prefix exists they are assumed to be system messages which are processed in the following manner.
sys-close-pageThe
Form Page has closed.
sys-get-templateForm Page
requires a template. This message will be received in the primary page.
Responds with sys-put-template which will be seen in secondary page. The message includes the requested template.
sys-put-templateSee in the secondary page.
Stores the template sent into $templateCache where it is picked up by ng-include in "forms-panel.html" in AppsBase.htm.
sys-templatesObsolete code.
Replaced sys-get-template/sys-put-template and by ng-include in "forms-panel.html" in AppsBase.htm.
hookMsgListener();