I am developing a plugin where there are multiple object views. Each view contains an html content inside it.
Consider there are 3 object views. If I navigate to all 3 views and then press refresh , then in browser console, I see API calls happening 3 time. This is equivalent to the number of object viwes/html content inside each view.
Is there any fix for this ?
Below is a sample extension view I added.
<extension id="com.vmware.samples.rack.AnalysisView">
<extendedPoint>com.vmware.samples.rack.monitorViews</extendedPoint>
<object>
<name>Analysis</name>
<componentClass className="com.vmware.vsphere.client.htmlbridge.HtmlView">
<object>
<root>
<url>/vsphere-client/k2vcpui/resources/vbddsp.html</url>
</root>
</object>
</componentClass>
</object>
</extension>
I am using SDK 6.0.0