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

Setting action's label dynamically

$
0
0




Hi,


I am using VMware Web client 5.1 SDK for the plugin development.


Below is an excerpt from VM-Actions UI sample's plugin.xml.

          -


     

<extension id="com.vmware.samples.actions.vmActionSet">


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


      <object>


         <actions>


              <com.vmware.actionsfw.ActionSpec>


               <uid>com.vmware.samples.actions.myVmAction3</uid>


               <label>*#{action3.label}*</label>


               <!-- This action will only be available on VM's that are in the template state.-->


               <conditionalProperty>config.template</conditionalProperty>


               <command className="com.vmware.samples.actions.VmActionCommand"/>


            </com.vmware.actionsfw.ActionSpec>

          -


     

Could we set label text highlighted above dynamically? The text need to be set depending on a property of custom object.


Thanks & Regards,


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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