I am writing a plugin. I have added an Inventory menu on VMs and it is sending that VMs moref in the web request to my server (servlet) correctly.
Now I want to extend this functionality to multiple VMs. In client, I selected a host and then clicked on Virtual Machines tab. Now I can see list of all the VMs on that host. I selected multiple VMs and right clicked. I can see the menu item I added. But when I click on it, it sends the moref of only the first VM in the selected VMs list.
Is there any way available where I can get multiple resource morefs in web request?