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

HTML Bridge Menu Item Disabled only on 5.5

$
0
0

Hey everyone,

 

I came across some odd behavior and was wondering if you had any insight.  I have a custom action defined that uses the HTML Bridge.  The custom action is visible and enabled when I install it on a 6.0 vCenter but not a 5.5 vCenter. On the 5.5 vCenter the custom action becomes disabled once the solution menu is displayed.  To rule out any issues with resource keys I hard coded all of the labels.  Are there any common issues that would cause an action to always be disabled?  All menu items share the same constraints. I also tried removing the constraints.  Let me know if there's anything else I can provide that would be helpful.

 

Note: The actionUrl points to a different plugin that serves the HTML content (i.e. test-html-ui serves the HTML content but the action is defined in test-ui's plugin.xml)

Also: Using the 5.5 SDK

 

<com.vmware.actionsfw.ActionSpec>

      <uid>com.simplivity.test.customAction</uid>

         <label>Test</label>

           <delegate>

             <className>com.vmware.vsphere.client.htmlbridge.HtmlActionDelegate</className>

             <object><root>

               <actionUrl>/vsphere-client/com.simplivity.test-html-ui/index.html</actionUrl>

               <dialogTitle>Test</dialogTitle>

               <dialogSize>700,500</dialogSize>

             </root></object>

           </delegate>

          </com.vmware.actionsfw.ActionSpec>

 

 

 

 

Best,

Mike


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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