<%-- 
 Copyright : All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd. 
 Title     : ServerConductor WebConsole 
 Version   : 08-00 
 Name      : inventory.jsp 
 Date      : 2006/04/12 
 Author    : Dharini N
--%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<%@ page language = "java" %>
<%-- <%@ page session = "false" %> --%>											<% // 800WA_WEBCONSOLE152 %>
<%@ page errorPage = "errorDialog.jsp" %>
<%@ page import = "JP.co.Hitachi.soft.System_Manager.webconsole.common.Const"%> 
<%@ page contentType = "text/html; charset = UTF-8" pageEncoding = "UTF-8" %> 
<%@ taglib prefix = "bean"  uri = "/WEB-INF/struts-bean.tld" %>
<%@ taglib prefix = "html"  uri = "/WEB-INF/struts-html.tld" %>
<%@ taglib prefix = "util"  uri = "/WEB-INF/common-tags.tld" %>
<%-- <% response.addHeader("Cache-control","NO CACHE"); %> --%>					<% // 800WA_WEBCONSOLE308 %>
<% response.addHeader("Cache-control","no-cache"); %> 							<% // 800WA_WEBCONSOLE308 %>
<util:checkURL/>

<%-- Get the product name from the InternalProperties file and set it into the 
pageContext implicit object as an attribute --%>
<util:set name = "CommonProductName">
<util:sanitize>
	<bean:message bundle = '<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL %>' 
		key = "internal.common.product.name"/>
</util:sanitize>
</util:set>

<%-- Get the node id  --%>
<util:set name = "nodeId">
	<%= request.getParameter("nodeId") %>
</util:set>

<%-- Get the agent name  --%>
<util:set name = "agentName">
	<%= request.getParameter("agentName") %>
</util:set>

<%-- Get the source  --%>
<util:set name = "source">
	<%= request.getParameter("source") %>
</util:set>

<%-- Get the Query string  --%>
<util:set name = "headerQueryString">
	<%= "inventoryHeader?agentName=" %><%= request.getParameter("agentName") %>
</util:set>

<util:set name = "listQueryString">
	<%= "inventoryList?nodeId="%><%= request.getParameter("nodeId") %>
	<%= "&agentName=" %><%= request.getParameter("agentName") %><%= "&source="%>
	<%= request.getParameter("source") %>
	<%= "&nodeType="%><%= request.getParameter("nodeType") %>					<% // 800WA_WEBCONSOLE167 %>
</util:set>


<html:html locale = "true">
	<head>
		<title>
			<util:sanitize>
			<bean:message 
			bundle = '<%= Const.MESSAGE_RESOURCES_KEY_INVENTORY %>'
			key = "inventory.header.window.title" 
			arg0 = '<%= pageContext.getAttribute("agentName").toString() %>'
			arg1 = '<%= request.getServerName() %>' 
			arg2 = 
			'<%= pageContext.getAttribute("CommonProductName").toString() %>' />
			</util:sanitize>
		</title>
	<script src = "js/common.js"></script>
	</head>
	<%-- <frameset rows = "15%,*"> --%>                                         <%-- 800WA_WEBCONSOLE361 --%>
	<frameset rows = "20%,*">                                                   <%-- 800WA_WEBCONSOLE361 --%>
		<%-- 
		<html:frame action = '<%= pageContext.getAttribute("headerQueryString").
		toString()%>' scrolling = "no" frameName = "head"> 	--%>				<% // 800WA_WEBCONSOLE088 %>
		<html:frame frameName = "head" action = 								
		'<%= pageContext.getAttribute("headerQueryString").toString() %>' >		<% // 800WA_WEBCONSOLE088 %>
		</html:frame>
		<frameset cols = "30%,*">
			<html:frame action = '<%= pageContext.getAttribute("listQueryString"
			).toString() %>' frameName = "list">
			</html:frame> 
			<%-- <html:frame href = "" frameName = "detail"> --%>				<% // 800WA_WEBCONSOLE098 %>
			<html:frame href = "jsp/default.html" frameName = "detail">			<% // 800WA_WEBCONSOLE098 %>
			</html:frame>
		</frameset>
	</frameset>
</html:html>
