Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

Implement callback function from modal dialog

$
0
0

Hello,

   I am implementing a feature on vSphere client 6.7.which requires me to open a modal dialog which takes an input as html page and displays it. I use a function available in WEB_PLATFORM called WEB_PLATFORM.openModalDialog(). It works perfectly fine. When the user closes the window ,I want a callback function in the main window to be called. How to go about doing it? I also want to send few parameters to the modal dialog while opening it. How do I achieve it. ? I referred the vSphere client sdk documentation for 6.7 and found it can be done using latest js api available. But was not able to successfully implement it .I  tried modal.open() but the browser was unable to recognize it and gave null reference.Where can I find the sample code or way to implement?


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>