hi All,
Could you please let me know how to use addToggleListener method for CAF.Dialog.Modal.Model
Have gone through the documentation given at http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_ga/My_webMethods/8-2-SP1_CAF_JavaScript_Reference/CAF.Output.Model.html#addToggleListener and tried as given below but no luck.
CAF.model('#{activePageBean.clientIds['modalDialog']}').addToggleListener
(function(id, way) {
alert('Toggle Event triggered');
});
CAF.model('#{activePageBean.clientIds['modalDialog']}').addToggleListener
(function(id) {
alert('Toggle Event triggered');
});
Environment: webMethods 713
I want to execute custom code if a model dialog is toggled to display to user.
Couldn’t find much documentation on it except the one above. Could you please give an idea how to bind this listener?
Kind regards,
Raja sekhar Kintali