<%-- $Id: NavigationComponent.jsp,v 1.1.2.8 2004/12/07 07:03:50 sudharshan Exp $ --%>
<%@page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="tree" uri="http://www.adventnet.com/webclient/tree-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@include file="/webclient/common/jspf/commonIncludes.jspf" %>

 <table width=220 cellpadding=10 cellspacing=0 border=0 align="left">
    <tr>
    <td>
           <c:forEach var="prop1" items="${Hash}" varStatus="status">
            
            <table width="100%" border="0" cellspacing="0" cellpadding="0" align="left">
            <tr> 
            <td valign="bottom" class="leftHeader">

                     <c:set var="MOType" value="${prop1.key}"/><fmt:message key='${MOType}'/> </td> </tr>

                <c:forEach var="prop2" items="${prop1.value}" varStatus="status" >

                     <c:set var="PolledDataName" value="${prop2.key}"/>    
                     
                   <c:forEach var="prop3" items="${prop2.value}" varStatus="status" >

                      <c:set var="ReportDetailsKey" value="${prop3.key}"/>
                      <c:set var="ReportDetailsValue" value="${prop3.value}"/>

                      <c:choose> 
                      <c:when test="${ReportDetailsKey=='PolledData'}">
                         <c:set var="pdName" value="${ReportDetailsValue}"/>
                      </c:when>
                      <c:when test="${ReportDetailsKey=='Name'}">
                         <c:set var="displayName" value="${ReportDetailsValue}"/>
                      </c:when>
                      <c:when test="${ReportDetailsKey=='Units'}">
                         <c:set var="Units" value="${ReportDetailsValue}"/>
                      </c:when>
                      </c:choose>

                   </c:forEach>

            <tr> 
            <td height=22 nowrap class="leftLink" ><a  class="txtGlobal" href="/report/ReportViewAction.do?selectedTab=report&amp;moType=<c:out value='${MOType}'/>&amp;type=<c:out value='${displayName}'/>&amp;pdName=<c:out value='${pdName}'/>&amp;units=<c:out value='${Units}'/>"><fmt:message key='${MOType}'/> <fmt:message key='webclient.reports.tree.by'/> <fmt:message key='${displayName}'/></a>
            </td>
            </tr>
              
            </c:forEach>

            </table>
            </td>
<tr>
<td> 
            </c:forEach>       

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