4.0

Table Of Contents
6 Open the \component\VMMMenu.html Web view template file in an HTML editor.
The Menu.html file contains an unordered list with one <li> entry that links to the home page of the Web
view.
<ul id="sectionMenu" class="menu">
<li jwcid="@Any" class="ognl:page.isCurrentPage(webview.urlFolder + '/default')?
'selected':''">
<a href="./">Home</a></li>
</ul>
7 Copy and paste the <li> entry to create a second menu tab.
You create menu tabs in the Web view by adding <li> entries to the unordered list.
8 Modify the new <li> entry to point to runWorkflows.html.
a Change the ognl:page.isCurrentPage OGNL statement to add the runWorkflows suffix to the URL.
b Change the <a href> link to point to ./runWorkflows.html.
c Change the <a href> text to Workflows.
<li jwcid="@Any" class="ognl:page.isCurrentPage(webview.urlFolder + '/runWorkflows')?
'selected':''">
<a href="./runWorkflows.html">Workflows</a></li>
9 Open the Virtual Machine Manager Web view in a browser at http://
<orchestrator_server>
:
8280/vmo/.
The Workflows tab appears in the Web view. If you click the tab, you see the contents of the
runWorkflows.html file.
You added a tab to the Web view.
What to do next
Use the vmo:WorkflowLink component to run workflows from the Workflows tab.
Add Links to Run Workflows from a Web View by Using the vmo:WorkflowLink
Component
You add links to run workflows from a Web view by using the vmo:WorkflowLink component. You define the
workflows to run by setting Web view attributes.
Prerequisites
n
Create a Web view tab in the Virtual Machine Manager Web view by modifying the Menu.html component
template.
n
Create the runWorkflows.html file to define the contents of the tab.
Chapter 9 Developing Web Views
VMware, Inc. 323