Hi John,
First of all, for simple types, the view framework detects data changes and automatically notifies the view of the change.
The bind() and bindAll() functions return handles containing the unbind() function but for simple types we are not adding any binding handles.
event.type !=config is the simplest way of handling this, can you please explain your use case why you are looking to unbind the simple type configuration options?
Thanks!
------------------------------
Atanu Roy
Lead Engineer
London Stock Exchange Group
------------------------------
Original Message:
Sent: Thu December 21, 2023 07:17 PM
From: jhon wick
Subject: unbind config variable from coach view to stop onChange event
i have a coach view that is bound to a business object and to 2 configuration variables (bot are simple type, an integer and a string). how can i "unbind" the configuration variables so they dont fire the "change" event handler of the view when the configuration varaible values change? i know that i can ask for event.type !=config but i want to unbind them all together.
im on ibm bpm 8.5.6 btw
------------------------------
jhon wick
------------------------------