Hi Kolban / Makvell,
The below is the requirement i have
1) Is accessing content / data of the Textbox is possible using dojo.byId and document.getElementById .When i use same in Heritage Coach i am able to access the Fields data.Do i have to add anything to Import DOJO to work in Coach Views.The requirement is to get this work in Coach View.
2) we are trying to access the process variable in a Custom HTML Script using eg:<#= tw.local.rate #> and also using "tw#local#rate".The above snippets work after binding the data to the variable when we use Heritage Coaches , but the same is not working whe we try to use this in a coach view.
and "Kolban" Replied saying,
In BPM v8 the whole coach framework was reworked/replaced. The pre-v8 Coach technology is still present and is now called "heritage coaches". If you use those. I believe you will have all the functions you used to have. However, the new v8 Coaches are (opinion) vastly superior but require you to learn the new concepts of Coach Views. These are the encapsulations for logic and other functions. It is no longer meaningful to try and access the "HTML" of a Coach in Custom HTML. Instead, you would want to write new Coach Views which have the desired function.
For example, the new V8 Coach View called "Text Input" is bound to a variable. When the user changes the text in the screen, the corresponding variable is immediately updated. This can then be used to immediately trigger another Coach View that is watching to see any changes and it can perform arbitrary logic based on the variable change.
Kolban / Makvell,
Can you Please share a small working example for the scenario marked in red in the above and please provide me some valuable links,tutorials to get a better understanding on the COACH VIEW Event Handling technique and the CONTEXT object in COACH VIEW.