Hi Team,
Im trying to define and action extension without title and close button on plugin.xml by not specifying the dialogTitle tag.
But it is adding padding and close button(highlighted in red color) as shown below:
Result:
Expectation:
Sample extension code Snippet:
<extension id="com.acme.myhtmlplugin.datastore.provisioning.actions">
<extendedPoint>vise.actions.sets</extendedPoint>
<object>
<actions>
<com.vmware.actionsfw.ActionSpec>
<uid>com.acme.myhtmlplugin.provisionDatastore</uid>
<label>#{DatastoreProvision.action.label}</label>
<delegate>
<className>com.vmware.vsphere.client.HtmlPluginModalAction</className>
<object>
<root>
<actionUrl>/ui/myhtmlplugin/index.html?view=datastore-provisioning</actionUrl> //No DialogTitle
<dialogSize>1152,455</dialogSize>
</root>
</object>
</delegate>
</com.vmware.actionsfw.ActionSpec>
</actions>
</object>
<metadata>
<objectType>Datacenter,ClusterComputeResource,HostSystem</objectType>
</metadata>
</extension>
I could achieve the desired behavior using API programmatically by passing title=null and closable=false in modal config.
How to achieve the same thing in plugin.xml ?
SDK Details:
vSphere SDK: using vSphere New JS 6.5U2 SDK.
Thanks,
Kumar