Mapping Between the
Flex and HTML APIs
|
|
ActionContext
|
Actions are invoked by making a REST call
with the
targets parameter that contains a list of the
object IDs of the involved vSphere objects.
|
ActionInvocationEvent
|
Use the
com.vmware.vsphere.client.htmlbridge.HtmlActionDelegate
class.
|
ActionMenuItemSpec
|
Use this class to define actions extensions
in the
plugin.xml file in
the same way as for a Flex-based extension.
|
ActionSpec and
ActionSetSpec
|
Use these classes to define actions
extensions in the
plugin.xml file in
the same way as for a Flex-based extension.
|
BaseProxy
|
Use Java controllers to support the REST
calls to services running on the Virgo server instead of the
BaseProxy class.
For more information
about how you can create controllers, you can take a look at the
DataAccessController
and
ActionsController
classes provided with the HTML sample plug-ins.
|
ColumnContainer,
ColumnDataSourceInfo,
ColumnSetContainer
|
These classes are deprecated since vSphere
5.5. You can define object list view extensions by using the
${namespace}.list.columns extension point in the
plugin.xml file.
|
DataRefreshInvocationEven
|
Use the
WEB_PLATFORM.setGlobalRefreshHandler(callback)
function to handle the user-initiated refreshes to the UI.
|
Dialogs
|
Use your preferred JavaScript library to
handle the different types of pop-up dialogs such as error, warning, and
confirmation dialogs.
|
IconLabelSpec
|
Use this class in the
plugin.xml manifest
file in the same way as for a Flex-based extension.
|
IContextObjectHolder
|
Use the
WEB_PLATFORM.getObjectId()
function to retrieve the context object ID.
|
IResourceReference
|
Use the object ID in your JavaScript code.
|
NavigationRequest
|
Use the
WEB_PLATFORM.sendNavigationRequest(targetViewId,
objectId) function to navigate to a specific view or part of the
application.
|
UserSession
|
Use the
WEB_PLATFORM.getUserSession()
function to retrieve details about the currently logged in user.
|
Wizard
|
This class has no equivalent in the
JavaScript APIs.
|