Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

HTML client view not refreshed after performing action

$
0
0

When viewing one of my custom objects (e.g. on its Summary view), the client does not receive a refresh event after an action is performed (using the "Actions" drop-down menu). Is this a known issue, or something not covered in the "chassis-b" sample? Is there a way to ensure that the client is updated?

 

I really hope this is a bug (or an error in my plugin) rather than by design. This issue means that stale information is always left in the main UI after performing an action, which is a really poor user experience. I hope I've missed something here - otherwise, it seems the "Actions" drop-down is basically unusable for HTML plugins.

 

 

I have used the setGlobalRefreshHandler() call to register the refresh callback, and it is called correctly when manually clicking on the Refresh button in the VMWare toolbar.

 

I have set the action handler in the service Java code to call actionResult.setObjectChangedResult(), and I can see the VMWare-controlled fields (on the navigation pane, and in the title of my summary page to the left of the "Actions" drop-down menu) update when the action completes.

 

Even the Refresh icon in the VMWare toolbar turns into the spinning busy icon as the action occurs, before returning to its static image - but my refreshData() function is never executed unless the user manually clicks the Refresh button.

 

 

Any suggestions/solutions much appreciated!


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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