mirror of http://localhost:9400/cloud/cms
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
3.3 KiB
JavaScript
96 lines
3.3 KiB
JavaScript
10 months ago
|
/**
|
||
|
* This file has functions that allow pages to be fetched and rendered on bootup
|
||
|
*/
|
||
|
|
||
|
var bootup = {}
|
||
|
//
|
||
|
// We implement this function using an observer design pattern
|
||
|
bootup.CMSObserver = function(_sysId,_domId,_fileURI){
|
||
|
this._domId = _domId
|
||
|
this._fileURI = _fileURI
|
||
|
this.apply = function (_caller){
|
||
|
var http = HttpClient.instance()
|
||
|
http.setHeader('uri',_fileURI)
|