Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



The Canvas Core Layer, could be further broken down into the component registries and Component Managers. The following sections provide an extensive view of all such registries and managers and their significance in leading up to an omni-channel framework.

...

Library developers responsibilities: Library developers are expected to register their component definitions against their component meta data.

Syntax:


Code Block
languagejs
CLCR.registerCmp({'KEY':'VALUE'},<<Your Namespace>>);


CMHR – Context Menu Handler Registry.

...

Syntax:

Code Block
languagexmljs
CMHR.registerHandler("MENU_ID", function (config){
		//config.record.data gives data of the clicked node in grid
}

...

Syntax:

Code Block
languagexmljs
CWEH.registerHandler("APP_ID",CWEC.<<EventId>>,function(){ 
		// Business functionality here 
});

...

Syntax:

Code Block
languagexmljs
IWMH.registerHandler("MENU_ID", IWMC.<<Event Id>>, function (){
		// Business functionality here
} 

...