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

Locating widgets in the web client UI in actionscript

$
0
0

Hi,

 

I have a couple of questions related to the same task

 

1. Is there an event that I can listen to for when the "Objects" tab completes rendering? For example, in the Chassis example, as soon as we click on the global VCenter => Chassis, the "Objects" tab loads and this presents the table of chassis objects. Can I know when this view completes rendering?

 

2. Following that, I would like to create a callout style widget that points to the "+" icon that is associated with "create operations"; for example: Creating a new chassis. I have the callout ready and it can take a UIComponent to point to or it can take a Point and position itself globally. I would like to place a callout right next to the "+" icon. The question is how do I get to the icons that get created. So in the following example, how do I locate the image widget that is the addChassis icon globally or is there a way to find its coordinates?

 

<extension id="com.vmware.samples.chassis.listActionSet">

      <extendedPoint>vise.actions.sets</extendedPoint>

      <object>

         <actions>

               <!-- Create Chassis -->

            <com.vmware.actionsfw.ActionSpec>

               <uid>com.vmware.samples.chassis.createChassis</uid>

               <label>#{chassis.createAction}</label>

               <icon>#{addChassis}</icon>

               <command className="com.vmware.samples.chassisrackvsphereui.ChassisActionCommand"/>

               <!-- All context-less actions should be marked as private to prevent them

                  from showing up in all menus.-->

               <privateAction>true</privateAction>

            </com.vmware.actionsfw.ActionSpec>

         </actions>

      </object>

    </extension>

 

Any help or pointers are appreciated.

 

Thank you.


Viewing all articles
Browse latest Browse all 2218

Trending Articles