<?xml version="1.0" ?> 

<jump-container type="dialog">

<!-- Dialog for selection of support packages stacks -->
<Composite name="PPMSProductInstancesDialog" title="PPMS Product Instances">
<InfoText name="Heading">
<![CDATA[<html>
<head>
  <style type="text/css">body {padding: 10px}table {width:100%;}h3 {background-color:#dde8ef}td {padding-left: 5px; padding-right: 5px; padding-top: 0px; padding-bottom: 0px}div {margin-bottom: 5px; margin-top: 5px}.label {background-color: #dde8ef; width:40%;}.line {background-color: #dde8ef; font-size:1pt; padding:1px; margin-bottom: 2px}</style>
</head>
</html>]]>
</InfoText>

<InfoText name="ExtraInfo">
<![CDATA[<html>
<b>PPMS Instances</b><br>
The PPMS detection tool is trying to detect PPMS instances by installed components on the system. 
You will see lists with alternative instances, when detection is not possible. You must select correct active PPMS instances from these lists.
Alternative instances are not displayed if the tool was able to detect all active PPMS instances.
</html>]]></InfoText>

<for-each variable="instanceTablesArray" into="instanceTable">
 <choose>
  <when test="'$(instanceTable@INDEX)' == 'detected_instances'">
    <TableInput name="$(instanceTable@INDEX)">
    <HEADING>List with detected instances:</HEADING>
    <DISPLAY>    
      <ColumnName heading="Product" editable="false">Product</ColumnName>
      <ColumnName heading="Caption" editable="false">Instance Caption</ColumnName>
      <ColumnName heading="Description" editable="false">Instance Description</ColumnName> 
      <ColumnName heading="Version" editable="false">Instance Version</ColumnName>    
    </DISPLAY>
    <VARIABLE>$(instanceTable@INDEX)</VARIABLE>
    </TableInput>
  </when>
  <otherwise>
   <TableInput name="$(instanceTable@INDEX)">
    <HEADING>Select alternative instances:</HEADING>
    <DISPLAY>
      <ColumnName heading="Select" editable="true" preferredControl="RadioButtonGroup">Select</ColumnName>  
      <ColumnName heading="Product" editable="false">Product</ColumnName>
      <ColumnName heading="Caption" editable="false">Instance Caption</ColumnName>
      <ColumnName heading="Description" editable="false">Instance Description</ColumnName> 
      <ColumnName heading="Version" editable="false">Instance Version</ColumnName>    
    </DISPLAY>
    <VARIABLE>$(instanceTable@INDEX)</VARIABLE>
    </TableInput>
  </otherwise>
</choose>
</for-each>



<NavigationButtonGroup name="NavigationButtonGroup" default="Continue"> 
  <BUTTON name="Back" enabled="true">#Back</BUTTON>
  <BUTTON name="Continue" enabled="true">#Continue</BUTTON>
  <BUTTON name="Cancel" enabled="true">Cance#l</BUTTON>
  <VARIABLE>ACTION</VARIABLE>
</NavigationButtonGroup>

</Composite>

</jump-container>