<%--
 Copyright : All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd.
 Title     : ServerConductor WebConsole
 Version   : 08-00
 Name      : groupDetail.jsp
 Date      : 2006/04/10
 Author    : Kavitha KJ
 --%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<%@ page contentType = "text/html; charset = UTF-8" pageEncoding = "UTF-8" %>
<%@ page language = "java"%> 
<%@ page errorPage = "errorDialog.jsp"%>
<%@ page import = "java.util.Vector" %>
<%@ page import = "JP.co.Hitachi.soft.System_Manager.webconsole.common.Const" %>
<%@ page import = 
        "JP.co.Hitachi.soft.System_Manager.webconsole.common.MessageConstant" %>
<%@ page import = "JP.co.Hitachi.soft.System_Manager.data.HsmConst" %>
<%@ taglib prefix = "bean"  uri = "/WEB-INF/struts-bean.tld" %>
<%@ taglib prefix = "html"  uri = "/WEB-INF/struts-html.tld" %>
<%@ taglib prefix = "table" uri = "/WEB-INF/table.tld" %>
<%@ taglib prefix = "util"  uri = "/WEB-INF/common-tags.tld" %>
<% response.addHeader("Cache-Control","no-cache"); %>                           <%-- 800WA_WEBCONSOLE308 --%>
<util:checkURL/>
<%                                                                              // 800WA_WEBCONSOLE236
  //When the deletion operation succeeds, the list frame has to be refreshed
  String l_stRefresh = (String)request.getParameter("ref");                     // 800WA_WEBCONSOLE236
  if(l_stRefresh != null){                                                      // 800WA_WEBCONSOLE236
    if(l_stRefresh.equals("true")){                                             // 800WA_WEBCONSOLE236
      out.write("<script>" +                                                    // 800WA_WEBCONSOLE236
        "window.parent.frames['groupListFrame'].location.href='groupList.do';" +// 800WA_WEBCONSOLE236
        "</script>");                                                           // 800WA_WEBCONSOLE236
    }                                                                           // 800WA_WEBCONSOLE236
  }                                                                             // 800WA_WEBCONSOLE236
  else{                                                                         // 800WA_WEBCONSOLE236
%>                                                                              <%-- 800WA_WEBCONSOLE236 --%>

<%-- Session Validation will be done here --%>

<%-- Get the help url from the property file --%>
<util:set name = "GroupDetailHelpURL">
	<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL %>" 
	key = "internal.group.detail.help.url"/>
</util:set>
 
<%--Get the string for displaying the help url --%>
<%--
<util:set name = "FnOpenHelp">
    fnDetailOpen('helpDetailLink');
    openHelp('<util:rewrite action = "help"/>',
    '<%= pageContext.getAttribute("GroupDetailHelpURL").toString() %>',
    '<%= Const.ATTRIBUTE_REQUEST_HELP_CONTENTS %>');
</util:set> --%>                                                                <%-- 800WA_WEBCONSOLE395 --%>

<util:set name = "FnOpenHelp">
    fnDetailOpen('helpDetailLink');
    openHelp('<util:rewrite action = "help"/>',
    '<%= pageContext.getAttribute("GroupDetailHelpURL").toString() %>',
    '<%= Const.ATTRIBUTE_REQUEST_HELP_CONTENTS %>',
    '<%= request.getSession().getId() %>help');
</util:set>                                                                     <%-- 800WA_WEBCONSOLE395 --%>

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

<util:set name="DeletionDialog">
      <bean:message 
	        bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" 
	        key = "dialog.confirm.dialog.title" arg0="{0}"/>
</util:set>

<%--set the powerON function into  the 
     pageContext implicit object as an attribute" --%>
<util:set name="PowerONOperation"> 
     fnDetailOpen('powerONLink');
     javascript:powerON('<%=HsmConst.CTRL_CODE_POWER_ON %>');
</util:set>

<%--set the powerOFF function into  the 
     pageContext implicit object as an attribute" --%>
<util:set name="PowerOFFOperation">
     fnDetailOpen('powerOFFLink');
     javascript:powerOFF('<%=HsmConst.CTRL_CODE_POWER_OFF %>');
</util:set>

<%--set the forcedPowerOFF function into  the 
     pageContext implicit object as an attribute" --%>
<util:set name="ForcedPowerOFFOperation">
     fnDetailOpen('forcedPowerOFFLink');
     javascript:forcedPowerOFF('<%=HsmConst.CTRL_CODE_POWER_OFF_FORCE %>');
</util:set>

<%--set the reboot function into  the 
     pageContext implicit object as an attribute" --%>
<util:set name="RebootOperation">
     fnDetailOpen('rebootOFFLink');
     javascript:reboot('<%=HsmConst.CTRL_CODE_REBOOT %>');
</util:set>

<util:set name = "OperationTypeDelete">  
	var GROUP_DELETE = "<%= Const.GROUP_DELETE %> ";
</util:set>                                                                     <%-- 800WA_WEBCONSOLE389 --%>

<style>
.tableStyle { width : 100%}
</style> 
 
<html:html locale = "true">
<head>
<link rel = stylesheet type = text/css href = "css/common.css">
<script src = "js/common.js"></script>
<script src = "js/group.js"></script>
<script src = "js/hostmgmt.js"></script>
<script src = "js/header.js"></script>
<title>
</title>
</head>
<%-- <body onclick = "focusLost(window.event)"> --%>                            <%-- 800WA_WEBCONSOLE256 --%>	<%-- 800WA_WEBCONSOLE320 --%>
<%-- <body onclick = "clearAll(window.event);focusLost(window.event)"> --%>     <%-- 800WA_WEBCONSOLE320 --%>	<%-- 800WA_WEBCONSOLE327 --%>
 <body onclick = "clearAll(window.event);focusLost(window.event)" 
                                                       onload = "fnSub()">      <%-- 800WA_WEBCONSOLE327 --%>
<%--For the menus--%>
<div class="menuTableBlock" id="menuTableBlock">                                <%-- 800WA_WEBCONSOLE404 --%>
<table border = "0" cellpadding = "0" width = "100%">
<%  int l_iUserType =((Integer)session.getAttribute(
		                    Const.ATTRIBUTE_SESSION_USER_TYPE)).intValue(); 
%>
<tr> 
<td>                                                                            <%-- 800WA_WEBCONSOLE330 --%>
<%-- <table border = "0" cellpadding = "0" width = "465"> --%>                  <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
<table class="menu-agent" id="menu" border = "0">                               <%-- 800WA_WEBCONSOLE404 --%>
<tr>                                                                            <%-- 800WA_WEBCONSOLE330 --%>

   <% if(l_iUserType == HsmConst.USER_TYPE_ADMIN){ %>
<%--<td> --%>                                                                   <%-- 800WA_WEBCONSOLE330 --%>
<%--<td class = "nowrap"> --%>                                                  <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
	<td class="menu-agent-left">                                                <%-- 800WA_WEBCONSOLE404 --%>
		<html:link href = "#" styleId = "powerONLink" styleClass = "small"      
		onclick ='<%=pageContext.getAttribute("PowerONOperation").toString() %>' >
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key = "group.detail.menu.power.on"/> 
		</html:link>                                                            <%-- 800WA_WEBCONSOLE270 --%>
	</td>
<%--<td width = "8%"></td> --%>                                                 <%-- 800WA_WEBCONSOLE330 --%>
<%--<td> --%>                                                                   <%-- 800WA_WEBCONSOLE330 --%>
<%--<td class = "nowrap"> --%>                                                  <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
		<td class="menu-agent">                                                 <%-- 800WA_WEBCONSOLE404 --%>
		<html:link href = "#" styleId = "powerOFFLink" styleClass = "small"     
		onclick = '<%=pageContext.getAttribute("PowerOFFOperation").toString() %>'>	
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key = "group.detail.menu.power.off"/> 
		</html:link>                                                            <%-- 800WA_WEBCONSOLE270 --%>
	</td>
<%--<td width = "8%"></td> --%>                                                 <%-- 800WA_WEBCONSOLE330 --%>
<%--<td> --%>                                                                   <%-- 800WA_WEBCONSOLE330 --%>
<%--<td class = "nowrap"> --%>                                                  <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
	  <td class="menu-agent">                                                   <%-- 800WA_WEBCONSOLE404 --%>
	  <html:link href = "#" styleId = "forcedPowerOFFLink" styleClass = "small" 
		onclick = '<%=pageContext.getAttribute("ForcedPowerOFFOperation").toString() %>'>
<%--		<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key="group.detail.menu.compulsion.power.off"/>    --%>              <%-- 800WA_WEBCONSOLE426 --%>
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key="group.detail.menu.forced.power.off"/>                          <%-- 800WA_WEBCONSOLE426 --%>

		</html:link>                                                            <%-- 800WA_WEBCONSOLE270 --%>
	</td>
<%--<td width = "6%"></td> --%>                                                 <%-- 800WA_WEBCONSOLE330 --%>
<%--<td> --%>                                                                   <%-- 800WA_WEBCONSOLE330 --%>
<%--<td class = "nowrap"> --%>                                                  <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
        <td class="menu-agent">                                                 <%-- 800WA_WEBCONSOLE404 --%>
		<html:link href = "#" styleId = "rebootOFFLink" styleClass = "small"    
		onclick = '<%=pageContext.getAttribute("RebootOperation").toString() %>'>
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key = "group.detail.menu.reboot"/> 
		</html:link>                                                            <%-- 800WA_WEBCONSOLE270 --%>
	</td>
<%--<td width = "8%"></td> --%>                                                 <%-- 800WA_WEBCONSOLE330 --%>
	<%--<td> 
		<html:link href = "#" styleId = "helpDetailLink" styleClass = "small"   
		onclick = "<%= pageContext.getAttribute("FnOpenHelp").toString() %>">
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key = "group.detail.menu.help"/> 
		</html:link> --%>                                                       <%-- 800WA_WEBCONSOLE270 --%>	<%-- 800WA_WEBCONSOLE327 --%>
		
	<%-- </td> --%>                                                             <%-- 800WA_WEBCONSOLE327 --%>
	<%}
	else {
	 %>
<%--<td> --%>                                                                   <%-- 800WA_WEBCONSOLE330 --%>
<%--<td class = "nowrap"> --%>                                                  <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
<%--  <td class="menu-agent"> --%>                                              <%-- 800WA_WEBCONSOLE404 --%>	<%-- 800WA_WEBCONSOLE428 --%>
      <td class="menu-agent-left">                                              <%-- 800WA_WEBCONSOLE428 --%>
<%--	<html:link href = "#" styleClass = "small_sub" >     --%>               <%-- 800WA_WEBCONSOLE270 --%> <%-- 800WA_WEBCONSOLE449 --%>
		<div class = "small_sub" >                                              <%-- 800WA_WEBCONSOLE449 --%>
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key = "group.detail.menu.power.on"/> 
<%--	</html:link>   --%>                                                     <%-- 800WA_WEBCONSOLE449 --%>
		</div>                                                                  <%-- 800WA_WEBCONSOLE449 --%>
	</td>
<%--<td width = "12%"></td> --%>                                                <%-- 800WA_WEBCONSOLE235 --%>	<%-- 800WA_WEBCONSOLE270 --%>	<%-- 800WA_WEBCONSOLE330 --%>
<%--<td> --%>                                                                   <%-- 800WA_WEBCONSOLE330 --%>
<%--<td class = "nowrap"> --%>                                                  <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
	  <td class="menu-agent">                                                   <%-- 800WA_WEBCONSOLE404 --%>
<%--	<html:link href = "#" styleClass = "small_sub" >     --%>               <%-- 800WA_WEBCONSOLE270 --%> <%-- 800WA_WEBCONSOLE449 --%>
		<div class = "small_sub" >                                              <%-- 800WA_WEBCONSOLE449 --%>
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key = "group.detail.menu.power.off"/> 
<%--	</html:link>   --%>                                                     <%-- 800WA_WEBCONSOLE449 --%>
		</div>                                                                  <%-- 800WA_WEBCONSOLE449 --%>
	</td>
<%--<td width = "12%"></td> --%>                                                <%-- 800WA_WEBCONSOLE235 --%>	<%-- 800WA_WEBCONSOLE270 --%>	<%-- 800WA_WEBCONSOLE330 --%>
<%--<td> --%>                                                                   <%-- 800WA_WEBCONSOLE330 --%>
<%--<td class = "nowrap"> --%>                                                  <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
	  <td class="menu-agent">                                                   <%-- 800WA_WEBCONSOLE404 --%>
<%--	<html:link href = "#" styleClass = "small_sub" >     --%>               <%-- 800WA_WEBCONSOLE270 --%> <%-- 800WA_WEBCONSOLE449 --%>
		<div class = "small_sub" >                                              <%-- 800WA_WEBCONSOLE449 --%>
<%--		<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key="group.detail.menu.compulsion.power.off"/>  --%>                <%-- 800WA_WEBCONSOLE426 --%>
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key="group.detail.menu.forced.power.off"/> 			                <%-- 800WA_WEBCONSOLE426 --%>
<%--	</html:link>   --%>                                                     <%-- 800WA_WEBCONSOLE449 --%>
		</div>                                                                  <%-- 800WA_WEBCONSOLE449 --%>
	</td>
<%--<td width = "12%"></td> --%>                                                <%-- 800WA_WEBCONSOLE235 --%>	<%-- 800WA_WEBCONSOLE270 --%>	<%-- 800WA_WEBCONSOLE330 --%>
<%--<td> --%>                                                                   <%-- 800WA_WEBCONSOLE330 --%>
<%--<td class = "nowrap"> --%>                                                  <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
	  <td class="menu-agent">                                                   <%-- 800WA_WEBCONSOLE404 --%>
<%--	<html:link href = "#" styleClass = "small_sub" >     --%>               <%-- 800WA_WEBCONSOLE270 --%> <%-- 800WA_WEBCONSOLE449 --%>
		<div class = "small_sub" >                                              <%-- 800WA_WEBCONSOLE449 --%>
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key = "group.detail.menu.reboot"/> 
<%--	</html:link>   --%>                                                     <%-- 800WA_WEBCONSOLE449 --%>
		</div>                                                                  <%-- 800WA_WEBCONSOLE449 --%>
	</td>
<%--<td width = "12%"></td> --%>                                                <%-- 800WA_WEBCONSOLE235 --%>	<%-- 800WA_WEBCONSOLE270 --%>	<%-- 800WA_WEBCONSOLE330 --%>
<%--	<td> 
		<html:link href = "#" styleClass = "small_sub" > --%>                   <%-- 800WA_WEBCONSOLE270 --%>	<%-- 800WA_WEBCONSOLE327 --%>	                      
	<%-- <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key = "group.detail.menu.help"/> 
		</html:link>
	</td> --%>	                                                                <%-- 800WA_WEBCONSOLE327 --%>
 <% }%>  
 </tr>
</table>
</td> 
<%--<td> --%>                                                                   <%-- 800WA_WEBCONSOLE327 --%>	<%-- 800WA_WEBCONSOLE330 --%>
<%--<td align = "right">     --%>                                               <%-- 800WA_WEBCONSOLE330 --%>	<%-- 800WA_WEBCONSOLE404 --%>
<td>
      <table class="menu-agent" id="menu" width = "100%" border = "0">
      <tr>
        <td class="menu-agent-right">                                           <%-- 800WA_WEBCONSOLE404 --%>
		<html:link href = "#" styleId = "helpDetailLink" styleClass = "small"   
		onclick = "<%= pageContext.getAttribute("FnOpenHelp").toString() %>">   <%-- 800WA_WEBCONSOLE327 --%>
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>" 
			key = "group.detail.menu.help"/>                                    <%-- 800WA_WEBCONSOLE327 --%> 
		</html:link>                                                            <%-- 800WA_WEBCONSOLE327 --%>
	</td>	                                                                    <%-- 800WA_WEBCONSOLE327 --%>
</tr>
</table>
</td>  	                                                                        <%-- 800WA_WEBCONSOLE404 --%>
</tr>  	                                                                        <%-- 800WA_WEBCONSOLE404 --%>
<%-- <hr> --%>                                                                  <%-- 800WA_WEBCONSOLE404 --%>
<tr>                                                                            <%-- 800WA_WEBCONSOLE404 --%>
   <td colspan = "2" >                                                          <%-- 800WA_WEBCONSOLE404 --%>
   <hr class="menu-hrGroupDetail" id="menu-hrDetail" >                          <%-- 800WA_WEBCONSOLE404 --%>
   </td>                                                                        <%-- 800WA_WEBCONSOLE404 --%>
</tr>                                                                           <%-- 800WA_WEBCONSOLE404 --%>
<%-- Get the check box properties from the decorator class file --%>
<util:set name = "checkBoxProperty"> 
className=JP.co.Hitachi.soft.System_Manager.webconsole.common.DataDecoratorClass,
	methodName=getGroupInput,name=climbTrailList,type=checkbox 
</util:set>

<%-- Get the image url for group from the decorator class file --%>
<util:set name = "imageUrl">
className=JP.co.Hitachi.soft.System_Manager.webconsole.common.DataDecoratorClass,
	methodName=getGroupUrl
</util:set>

<util:set name = "GroupDetailName">
 <bean:message 
	 bundle = '<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>' 
	 key = "group.detail.name" />
</util:set>

<util:set name = "GroupDetailDomainName">
 <bean:message 
	 bundle = '<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>' 
	 key = "group.detail.domain.name" />
</util:set>

<util:set name = "GroupDetailSite">
  <bean:message 
	 bundle = '<%= Const.MESSAGE_RESOURCES_KEY_GROUP %>' 
	 key = "group.detail.site" />
</util:set>

<style>                                                                         
.checkWidth{ width : 4%}      
</style>                                                                        <%-- 800WA_WEBCONSOLE350 --%>

<jsp:useBean id = "GroupDetailBean" 
class = "JP.co.Hitachi.soft.System_Manager.webconsole.model.bean.GroupDetailBean" 
scope = "request" />                                                            <%-- 800WA_WEBCONSOLE362  --%>

<html:form action="groupDetail">
<html:hidden property = "climbTrail"/>
<html:hidden property = "groupName"/>
<html:hidden property = "groupId"/>
<html:hidden property = "source"/>
<html:hidden property = "operationType"/> 
<% Vector l_vtBeanDetailValue = GroupDetailBean.getGroupTableData();            // 800WA_WEBCONSOLE362 
   if(l_vtBeanDetailValue != null && !l_vtBeanDetailValue.isEmpty() ){%>        <%-- 800WA_WEBCONSOLE362  --%>

<tr>                                                                            <%-- 800WA_WEBCONSOLE404 --%>
   <td colspan = "2" >&nbsp;                                                    <%-- 800WA_WEBCONSOLE404 --%>
   </td>                                                                        <%-- 800WA_WEBCONSOLE404 --%>
</tr>                                                                           <%-- 800WA_WEBCONSOLE404 --%>
<tr>                                                                            <%-- 800WA_WEBCONSOLE404 --%>
   <td colspan = "2" >&nbsp;                                                    <%-- 800WA_WEBCONSOLE404 --%>
   </td>                                                                        <%-- 800WA_WEBCONSOLE404 --%>
</tr>                                                                           <%-- 800WA_WEBCONSOLE404 --%>
<tr>                                                                            <%-- 800WA_WEBCONSOLE404 --%>
<td colspan = "2" >                                                             <%-- 800WA_WEBCONSOLE404 --%>

<table:table scope = "requestscope"  headerData = "headerData"  
	detailData = "groupTableData" name = "GroupDetailBean"  
	styleClass = "tableStyle" border = "1" cellpadding = "2" cellspacing = "0"  
	requestURI = "groupDetail.do" >
 <%--<table:column property = "Climb trail" title = "&nbsp;" 
    decorator = 
           '<%= pageContext.getAttribute("checkBoxProperty").toString()%>'/>--%><%-- 800WA_WEBCONSOLE350 --%>
           
    <table:column property = "Climb trail" title = "&nbsp;" 
      styleClass = "checkWidth"           
    decorator = 
           '<%= pageContext.getAttribute("checkBoxProperty").toString()%>'/>    <%-- 800WA_WEBCONSOLE350 --%>   
    
	<table:column  styleClass = "small" property = 
	             '<%= pageContext.getAttribute("GroupDetailName").toString()%>' 
	     decorator = '<%= pageContext.getAttribute("imageUrl").toString()%>' /> <%-- 800WA_WEBCONSOLE270 --%>
	     
	<table:column  styleClass = "small" property = 
	    '<%= pageContext.getAttribute("GroupDetailDomainName").toString()%>' /> <%-- 800WA_WEBCONSOLE270 --%>
	    
	<table:column  styleClass = "small" property = 
	    '<%= pageContext.getAttribute("GroupDetailSite").toString()%>'/>        <%-- 800WA_WEBCONSOLE270 --%>
	    
</table:table>
</td>                                                                           <%-- 800WA_WEBCONSOLE404  --%>
</tr>                                                                           <%-- 800WA_WEBCONSOLE404  --%>
<%}%>                                                                           <%-- 800WA_WEBCONSOLE362  --%>
</table>                                                                        <%-- 800WA_WEBCONSOLE404  --%>
</div>                                                                          <%-- 800WA_WEBCONSOLE404  --%>
</html:form>		
</body>

<util:set name = "errorParams">
      
     var MSG_POWERON_CONFIRM ="<%= MessageConstant.MSG_POWERON_CONFIRM%>";
     var MSG_POWEROFF_CONFIRM  ="<%= MessageConstant.MSG_POWEROFF_CONFIRM %>";
     var MSG_FORCED_CONFIRM ="<%= MessageConstant.MSG_FORCED_CONFIRM%>";
     var MSG_REBOOT_CONFIRM  ="<%= MessageConstant.MSG_REBOOT_CONFIRM %>";
     
     var MSG_GROUP_COMP_SELECT_CHECK = 
     	                   "<%= MessageConstant.MSG_GROUP_COMP_SELECT_CHECK %>"; 
     var DIALOGBOX = '<%=pageContext.getAttribute("DeletionDialog")%>';
     var COMMON_PRODUCT_NAME = 
                           '<%=pageContext.getAttribute("CommonProductName")%>';
     var IMAGE_TYPE_CONFIRM  = '<%=Const.IMAGE_TYPE_CONFIRM%>';
     
     var DIALOG_OK = '<bean:message bundle = 
                         "<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" 
                         key="dialog.confirm.ok"/>';
     var DIALOG_TERMINATE =  '<bean:message bundle = 
                             "<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" 
                             key="dialog.confirm.terminate"/>';
     var DIALOG_OKALL = '<bean:message bundle = 
                        "<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" 
                        key="dialog.confirm.all.ok"/>';
     
     var ALT_PROPERTY = '<bean:message bundle = 
                          "<%= Const.MESSAGE_RESOURCES_KEY_ALT%>" 
                          key="alt.alert.lv.confirm"/>' ;                   
     var TARGET_URL = '<util:rewrite action="groupPowerControl" />' ;
     
     var TARGET_FRAME = "groupDetailFrame" ;
     var USER_TYPE_ADMIN = "<%= HsmConst.USER_TYPE_ADMIN %>";                   <%-- 800WA_WEBCONSOLE327 --%>
     var USER_CURRENT = "<%= l_iUserType %>";                                   <%-- 800WA_WEBCONSOLE327 --%>
   
     errorMessage[MSG_GROUP_COMP_SELECT_CHECK] =
			'<bean:message bundle = 
			  "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE %>" 
			  key = "<%= MessageConstant.MSG_GROUP_COMP_SELECT_CHECK %>"/>';  
			  
	 errorMessage[MSG_POWERON_CONFIRM] =
	        '<bean:message bundle = 
                         "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" 
                         key = "<%=MessageConstant.MSG_POWERON_CONFIRM %>" 
                         arg0="{0}" />';
     errorMessage[MSG_POWEROFF_CONFIRM ] =
	        '<bean:message bundle = 
                         "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" 
                         key = "<%=MessageConstant.MSG_POWEROFF_CONFIRM  %>" 
                         arg0="{0}" />';
                         
     errorMessage[MSG_FORCED_CONFIRM] =
	        '<bean:message bundle = 
                         "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" 
                         key = "<%=MessageConstant.MSG_FORCED_CONFIRM %>" 
                         arg0="{0}" />';
      
     errorMessage[MSG_REBOOT_CONFIRM ] =
	        '<bean:message bundle = 
                         "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" 
                         key = "<%=MessageConstant.MSG_REBOOT_CONFIRM  %>" 
                         arg0="{0}" />'                    
			  
</util:set> 

<%--<jsp:useBean id = "GroupDetailBean" 
class = "JP.co.Hitachi.soft.System_Manager.webconsole.model.bean.GroupDetailBean" 
scope = "request" />--%>                                                        <%-- 800WA_WEBCONSOLE362  --%>
<script>
    var errorMessage = new Array();
    var groupDetailBeanCollection = new Array();
    <%= pageContext.getAttribute("errorParams").toString() %>
	
	<%
		Vector l_vtBeanValue = GroupDetailBean.getGroupTableData();
		for(int l_iCnt = 0; l_iCnt< l_vtBeanValue.size() ; l_iCnt++)
		{
		Vector l_vtTemp = (Vector)l_vtBeanValue.get(l_iCnt); 
		String l_stName =  l_vtTemp.get(2).toString().replaceAll("&nbsp;"," "); // 800WA_WEBCONSOLE273
		
	%>
		groupDetailBeanCollection['<%= l_vtTemp.get(0) %>'] = 
		new groupDetailBean('<%= l_vtTemp.get(0) %>','<%= l_vtTemp.get(1) %>',
		'<%= l_stName %>','<%= l_vtTemp.get(3) %>',                             <%-- 800WA_WEBCONSOLE273 --%>
		 '<%= l_vtTemp.get(4) %>','<%= l_vtTemp.get(5) %>'); 
		<% 
		}
	%>	
	document.forms["0"]["groupId"].value = 
	                   parent.frames["0"].document.forms["0"]["groupId"].value;
    <%= pageContext.getAttribute("OperationTypeDelete").toString() %>           <%-- 800WA_WEBCONSOLE389 --%>
</script>
</html:html>
<% }  %>                                                                        <%-- 800WA_WEBCONSOLE236 --%>