<%-- IBM Confidential OCO Source Material --%> <%-- 5724-J34 (C) COPYRIGHT International Business Machines Corp. 2004, 2005 --%> <%-- The source code for this program is not published or otherwise divested --%> <%-- of its trade secrets, irrespective of what has been deposited with the --%> <%-- U.S. Copyright Office. --%> <%@ page language="java" import="java.util.Collection,java.lang.reflect.*,com.ibm.ws.util.XDConstants,com.ibm.ws.console.healthconfig.form.HealthClassDetailForm"%> <%@ page import="java.beans.*"%> <%@ page import="org.apache.struts.util.MessageResources"%> <%@ page import="org.apache.struts.action.*"%> <%@ page errorPage="/error.jsp"%> <%@ page import="com.ibm.ws.sm.workspace.*"%> <%@ page import="com.ibm.ws.workspace.query.*"%> <%@ page import="com.ibm.ws.console.core.*"%> <%@ page import="java.util.*,com.ibm.ws.security.core.SecurityContext,com.ibm.websphere.product.*"%> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %> <%@ taglib uri="/WEB-INF/ibmcommon.tld" prefix="ibmcommon" %> <% try { %>

<% int fields = 0; String fieldLevelHelpAttribute = item.getAttribute(); if (fieldLevelHelpAttribute.equals(" ") || fieldLevelHelpAttribute.equals("")) fieldLevelHelpTopic = item.getLabel(); else fieldLevelHelpTopic = topicKey + fieldLevelHelpAttribute; boolean productEnabled = true; if (productEnabled) { %> <% String isRequired = item.getRequired(); String strType = item.getType(); String isReadOnly = item.getReadOnly(); %> <% if (strType.equalsIgnoreCase("Text")) { if ((item.getAttribute().equalsIgnoreCase("totalMemory")) || (item.getAttribute().equalsIgnoreCase("percentile")) || (item.getAttribute().equalsIgnoreCase("garbageCollectionPercent"))) { %> <% fields++; } else { %> <% } } %> <% if (strType.equalsIgnoreCase("checkbox")) { %> <% } %> <% if (strType.equalsIgnoreCase("TextArea")) { %> <% } %> <% if (strType.equalsIgnoreCase("Select")) { Vector descVector = new Vector(); Vector valueVector = new Vector(); session.setAttribute("descVector", descVector); session.setAttribute("valueVector", valueVector); %> <% if (item.getAttribute().equalsIgnoreCase("type")) { %> <% } else if (item.getAttribute().equalsIgnoreCase("reactionMode")) { %> <%} else { %> <% } } %> <% } %> <% //The last thing was the health condition, so here we wil put in the Health Condition attributes if (testForm.getType().equalsIgnoreCase("AGE")) { %> <% } else if (testForm.getType().equalsIgnoreCase("WORKLOAD")) {%> <% } else if (testForm.getType().equalsIgnoreCase("MEMORY")) {%> <% } else if (testForm.getType().equalsIgnoreCase("RESPONSE")) {%> <% } else if (testForm.getType().equalsIgnoreCase("STUCKREQUEST")) {%> <% } else if (testForm.getType().equalsIgnoreCase("STORMDRAIN")) {%> <% } else if (testForm.getType().equalsIgnoreCase("MEMORYLEAK")) {%> <% } else if (testForm.getType().equalsIgnoreCase("GCPERCENTAGE")) {%> <% } else if (testForm.getType().equalsIgnoreCase("CUSTOM")) {%> <% } MessageResources messages = (MessageResources)application.getAttribute(Action.MESSAGES_KEY); java.util.Locale locale = request.getLocale(); ArrayList selectedNodesBean = (ArrayList)testForm.getCurrentMembership(messages,locale); //To make the boxes stay at a specific minimum size, we are going to add one at the bottom to provide a minimum size if (!selectedNodesBean.contains("-------------------------------------------")) selectedNodesBean.add(selectedNodesBean.size(),"-------------------------------------------"); String hcName = testForm.getRefId(); pageContext.setAttribute("selectedNodesBean", selectedNodesBean); %> <% int numMembershipColumns = Integer.parseInt(numberOfColumns); if (numMembershipColumns > 0) numMembershipColumns--; fieldLevelHelpTopic = topicKey + "membership"; %>

  

  

  

  

 

">



">



">



">





<bean:message key="/>
">




">



">



">



">



">



">





">





<bean:message key="/>
">





">



">






">



">



">
" class="buttons" id="navigation">
<%} catch (Exception e) { System.out.println("exception is " + e.toString()); e.printStackTrace(); } %>