In accordance with the Scenario, you should modify the declaration of the navigation trees to add the view-plugins plugged into the DNS views.
In this document:
To meet the Scenario, issue requirements for the developer, such as the following:
Continue the demo project started in the previous step.
In the project workspace, update the APP-META.xml
file
in a text editor or in APS IDE as described here.
Create a navigation tree with two view-plugins integrated with the DNS manager. One view-plugin presents application services in the list of domains and the other one presents the application services in a domain profile.
<navigation id="plugins">
<view-plugin id="VpsPluginForDomainListScreen" src="ui/plugins/DomainListPlugin.js">
<plugs-to id="http://www.parallels.com/ccp-domains#domainListInfo"/>
</view-plugin>
<view-plugin id="VpsPluginForDomainInfoScreen" src="ui/plugins/DomainInfoPlugin.js">
<plugs-to id="http://www.parallels.com/ccp-domains#domainInfo"/>
</view-plugin>
</navigation>
Note
Keep the view-plugin sources in the ui/plugins/
folder.
In the VPS wizard section, add a parameter to accept the domain APS ID:
<wizard id="vps-wizard" label="New VPS Step-by-Step" step-label="VPS Creation"
src="/ui/vps-wizard.js">
<placeholder id="vps-wizard" />
<params spec="version=ge=2.1">
<param name="domainApsId" type="string"/>
</params>
</wizard>
The APP-META.xml
file you have updated is similar to the respective file in the
sample package
.
You will develop the views included into the navigation trees in the Presentation Logic section.