

<!--

Sample program for use with the Product
Licensed Materials  - Property of IBM
5724-I66
(c) Copyright IBM Corp.  2006, 2009
   
-->


 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
 <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

<f:subview id="NavigationSub">
<f:loadBundle basename="com.ibm.wbit.tel.client.jsf.infrastructure.messages" var="bundle" />
 	
      <h:panelGrid styleClass="BackgroundNAV" columns="1">
        <h:form>
        
        <h:panelGrid styleClass="BackgroundHome" columns="1">
            <h:commandLink styleClass="NavigationLabelHome" action="Workplace">
			     <h:outputText value="#{bundle['NAVIGATION_HOME']}" /> 
            </h:commandLink>
            <h:outputText rendered="#{arrayMetaInfo.init}" />		
		</h:panelGrid>
                
		
			<h:panelGrid styleClass="BackgroundBC" columns="1">
				<h:outputText styleClass="NavigationLabelBC" 
								value="#{bundle['NAVIGATION_BUSINESS_CASES']}" />
				<h:commandLink styleClass="NavigationLink" action="BCCreate">
					<h:outputText value="#{bundle['NAVIGATION_CREATE_NEW']}" /> 
				</h:commandLink>
						
				<h:commandLink styleClass="NavigationLink" action="BCCheck" >
					<h:outputText value="#{bundle['NAVIGATION_CHECK_STATUS']}" /> 
				</h:commandLink>
						
			</h:panelGrid>
   				
			<h:panelGrid styleClass="BackgroundMTD" columns="1">	
				<h:outputText styleClass="NavigationLabelMTD" 
					value="#{bundle['NAVIGATION_MY_TODOS']}" />
				<h:commandLink styleClass="NavigationLink" action="#{toDoMessageHandler.refreshOpenList}">
					<h:outputText value="#{bundle['NAVIGATION_OPEN']}" /> 
				</h:commandLink>
				<h:commandLink styleClass="NavigationLink" action="#{toDoMessageHandler.refreshUnderWorkList}">
					<h:outputText value="#{bundle['NAVIGATION_CLAIMED']}" /> 
				</h:commandLink>
				<h:outputText rendered="#{subToDoMessageHandler.init}" />
			</h:panelGrid> 
			
        </h:form>
        <h:form target="_top">
			<h:panelGrid styleClass="BackgroundLO" columns="1">
			    <h:outputText styleClass="NavigationLabelLO" 
			    	value="#{bundle['NAVIGATION_USER']}: #{userInfo.name}" />
				<h:commandLink rendered="#{userInfo.loggedIn}" styleClass="NavigationLink" action="Logout">
					<h:outputText value="#{bundle['NAVIGATION_LOGOUT']}" /> 
				</h:commandLink>
			</h:panelGrid>
        </h:form>
      </h:panelGrid>

</f:subview>
 