5.1 Extensibility in JavaScript Coding
This topic describes about the extensibility in javascript coding.
For release specific JavaScript coding, code has to be written in release specific JavaScript file. It follows the naming convention as : (Function Id)_(Release Type).js
Example: Code in CFCTRCHG_CLUSTER.js is exclusive to cluster release
This JavaScript file allows developer to add functional code and is specific to release. The functions in this file are generally triggered by screen events. A developer working in cluster release would add functions based on two categories:
- Functions triggered by screen loading events
Example: fnPreLoad_CLUSTER(), fnPostLoad_CLUSTER()
- Functions triggered by screen action events
Example: fnPreNew_ CLUSTER (), fnPostNew_ CLUSTER ()
Parent topic: Extensible Development