<%--
  /**
   * Copyright (c) 2003 by Sun Microsystems, Inc. All rights reserved.
   * Use is subject to license terms.
   *
   * "@(#)sa_volgrp_createwiz_confirm.jsp    1.5    03/09/18     SMI"
   * 
   */
 --%>
<%@ include file="/layout/toptags.jsp"%>
<html:html>

<head>
<%@include file="/layout/page_head_section.jsp"%>
</head>

<%@ include file="/layout/wizard_body_tag.jsp" %>
<html:form action="/CreateVolumeGroupWizard.do">
<%@ include file="/wizard/wizard_framework_fields.jsp"%>
<%@ include file="/layout/user_messages.jsp"%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr class="wizard-content-title-row">

    <td>
      <div class="wizard-content-title-text">
        <bean:message key="create.volume.group.wizard.toc.3"/>
      </div>
    </td>
  </tr>
  <tr>
    <td class="wizard-content-divider"><img alt width="1" height="1" src="/images/general/dot.gif"
border="0"></td>
  </tr>

</table>
<!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="20" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>

<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><bean:message key="wizard.reviewselections"/></td>

  </tr>
</table>

<!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="20" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>

<table class="back-table" border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td>
      <table class="front-table" border="0" cellspacing="0" cellpadding="0">
        <tr class="header-row">
          <td>
            <div class="table-header-text">
              <bean:message key="detail.property"/>
            </div>
          </td>   
          <td>
            <div class="table-header-text">
              <bean:message key="detail.value"/>
            </div>
          </td>                 
        </tr>
        
        <tr>
         
          <td>           
            <div class="table-normal-text">
               <bean:message key="create.volume.group.wizard.name"/>
            </div>
          </td>
          <td> 
            <div class="table-normal-text">           
              <bean:write name="VolumeGroupCreate" property="volumeGroupName"/>           
            </div>
          </td>
        
        </tr>
      </table>
    </td>
  </tr>
</table>

 <!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="20" width="1" src="images/general/dot.gif"></td>
  </tr>
</table> 

 <!-- table title -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><bean:message key="create.volume.group.wizard.volumesadded"/></td>
  </tr>
</table> 

<table class="back-table" border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td>
      <table class="front-table" border="0" cellspacing="0" cellpadding="0">
       
        <tr class="header-row">
          <td nowrap>
            <div class="table-header-text">
              <bean:message key="storage.access.volume.group.members.table.name"/>
            </div>
          </td>                    
        </tr>                      
        <logic:present name="VolumeGroupCreate" property="selectedVolumes">        
          <logic:iterate id="vol" name="VolumeGroupCreate" property="selectedVolumes" type="StorageVolumeInterface">
            <tr>
              <td>
                <div class="table-normal-text">
                  <bean:write name="vol" property="name"/>
                </div>
              </td>
            </tr>                                     
          </logic:iterate>
        </logic:present>
      </table>

    </td>
  </tr>
</table>


<!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="20" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>

<!-- initiator groups selected -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><bean:message key="create.volume.group.wizard.igsselected"/></td>
  </tr>
</table>

<table class="back-table" border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td>
      <table class="front-table" border="0" cellspacing="0" cellpadding="0">
       
        <tr class="header-row">
          <td>
            <div class="table-header-text">
              <bean:message key="storage.access.volume.group.table.initiator.group"/>
            </div>
          </td> 
          <td>
            <div class="table-header-text">
              <bean:message key="storage.access.volume.group.table.access"/>
            </div>
          </td>                    
        </tr>                      
        <logic:present name="VolumeGroupCreate" property="selectedInitiatorGroups">        
         
           <logic:iterate id="ig" name="VolumeGroupCreate" property="selectedInitiatorGroups" type="InitiatorGroupInterface" indexId="idx">      
            <tr>
              <td>
                <div class="table-normal-text">
                  <bean:write name="ig" property="name"/>
                </div>
              </td>   
              <td>
                <div class="table-normal-text">
                  <%
                     com.sun.netstorage.array.mgmt.cfg.ui.forms.VolumeGroupCreateForm form =
                      (com.sun.netstorage.array.mgmt.cfg.ui.forms.VolumeGroupCreateForm)session.getAttribute("VolumeGroupCreate");
                     if(form != null) {
	                     List access = form.getAccessList();
	                     if(access != null) {
                  %>
                    <%=access.get(idx.intValue())%>
                  <%     }
                     }
                  %>
                </div>
              </td>            
           </logic:iterate>                                                     
        </logic:present>
      </table>

    </td>
  </tr>
</table>

    </td>
  </tr>
  <tr>
    <td><img alt border="0" height="20" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>
       </td>




</html:form>
</body>

</html:html>

