IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  addToggleListener binding for CAF.Dialog.Modal.Model

    Posted 12/09/11 01:49 AM

    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


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 2.  RE: addToggleListener binding for CAF.Dialog.Modal.Model

    Posted 12/15/11 11:48 AM

    What you have done looks correct. It looks like this defect was fixed in more recent versions of MWS. Is there any chance of upgrading to the latest version of MWS? If not, you will need to file an SR to get the fix ported back to MWS 7.1.3.


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 3.  RE: addToggleListener binding for CAF.Dialog.Modal.Model

    Posted 12/18/11 05:57 PM

    hi Eric,

    Thanks for your inputs :). Filed SR to get fix for 7.1.3.

    Kind regards,
    Raja sekhar Kintali


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods