IBM BPM coach framework loads process app and associated toolkits’ java script libs and then it loads dojo framework scripts. After that it loads all coach view definitions, CV data view binding definitions and then it loads html body with all coach view default <DIV> tags to coach views.
You will find the following codes in html source code.
Load process app and toolkit JS libs.
Above piece of code loads all JS webfile assets from process app and associated toolkits.
Then framework loads dojo framework packages,
And then coach framework load coach view definitions, sample coach view source of textbox CV.
In the above code, you can find the data type and data config.
Data type – it refers to particular the coach view definition
Data config – it refers to the binding and visibility definition of coach view.
Coach framework loads application JS libs, dojo packages, dojo libs, coach view definitions, coach view config’s and finally it load html body with coach view div to link CV definition and config.
A client browser takes care of loading coach views and binding of variables using dojo framework.
thanks for the explanation
ReplyDeleteAwesome! thanks IBM BPM
ReplyDeleteHow i can change de dojo config? I need that to be other language.
ReplyDeleteit is OTB code, you can not change it.
ReplyDeleteHow to add my custom JS code to onload event? Unfortunately using JS in custom HTML component is't working..
ReplyDeleteThanks in advance!
dojo/ready examples - http://dojotoolkit.org/reference-guide/1.10/dojo/addOnLoad.html
DeletePlease try dojo onload event and embed your custom JS script in it.
ReplyDeleteRespect and that i have a swell present: Where To Start With Whole House Renovation houses to renovation
ReplyDelete