5.5

Table Of Contents
Properties
The vco:IncludeJavascript component defines the following properties.
Name Type Description
src
String The path to a Javascript file, with or
without the .js extension
Example: vco:IncludeJavascript Component
The .js file extension is optional. The following example code lines both return the same src value.
<script jwcid="@vco:IncludeJavascript" src="dojo"/>
<script jwcid="@vco:IncludeJavascript" src="dojo/dojo.js"/>
vco:IncludeStylesheet Component
The vco:IncludeStylesheet component inserts a <link> tag that links to an external CSS file in a Web view.
You insert the vco:IncludeStylesheet component in the <head> tags of a Web view page.
Properties
The vco:IncludeStylesheet component defines the following properties.
Name Type Description
href or src
String Name of a CSS file, with or without
the .css extension.
attribute
String Name of a Web view attribute that
contains a path to the CSS files.
The href or src properties are unnecessary if you provide an attribute property. If you store CSS files in a
dedicated folder in the Web view file structure, you can include the folder name in the path you provide to
the href or src property.
Example: vco:IncludeStylesheet Component
The .css file extension is optional. The following example code lines both return the same href or src value.
<link jwcid="@vco:IncludeStylesheet" href="default.css"/>
<link jwcid="@vco:IncludeStylesheet" href="default"/>
The following example code line references a Web view attribute that contains a path to a CSS file. You
create Web view attributes in the Orchestrator client.
<link jwcid="@vco:IncludeStylesheet" attribute="cssDefault"/>
vco:IncludeWorkflowHeader Component
You use the vco:IncludeWorkflowHeader component with the vco:WebformContainer to display a Web form
in a Web view.
You can insert a Web form in a Web view to request information from the user when they start a workflow,
or to prompt the user for information during the workflow run.
Developing Web Views for VMware vCenter Orchestrator
34 VMware, Inc.