Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Configuring Siebel Open UI > Application Programming Interface > Methods of the Siebel Open UI Application Programming Interface > Other ClassesThis topic describes methods that reside in a class that this appendix does not describe elsewhere. The Define method identifies the modules that Siebel Open UI uses to determine the location of the presentation model file or physical renderer file that Siebel Open UI must download to the client. It uses the following syntax: define (module_name ,list_of_dependencies,function);
Siebel Open UI recommends that you use the following syntax when you use the define method: if(typeof("SiebelAppFacade.module_name") === undefined){ SiebelJS.Namespace("SiebelAppFacade.module_name"); define("siebel/custom/module_name", [], function(){ SiebelAppFacade.module_name = (function(){ var consts = SiebelJS.Dependency("SiebelApp.Constants"); SiebelAppFacade.module_name.superclass.constructor.apply(this, SiebelJS.Extend(module_name, SiebelAppFacade.arguments_2); return SiebelAppFacade.module_name;
You use the Define method when you set up a presentation model or a physical renderer. For an example usage of this method when setting up: For information about how to add manifest files and manifest expressions that reference the module_name, see Configuring Manifests. The ShowErrorMessage method specifies the error message that Siebel Open UI displays. It returns nothing. It uses the following syntax: |
![]() ![]() |
Configuring Siebel Open UI | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |