%-- 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.*,java.lang.reflect.*,com.ibm.ws.console.policyconfiguration.form.TransactionClassDetailForm,com.ibm.ws.console.policyconfiguration.util.*"%>
<%@ page import="java.beans.*"%>
<%@ page errorPage="/error.jsp"%>
<%@ 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" %>
<% // defect 126608
String image = "";
String pluginId = "";
String pluginRoot = "";
if (descImage != "")
{
int index = descImage.indexOf ("pluginId=");
if (index >= 0)
{
pluginId = descImage.substring (index + 9);
if (index != 0)
descImage = descImage.substring (0, index);
else
descImage = "";
}
else
{
index = descImage.indexOf ("pluginContextRoot=");
if (index >= 0)
{
pluginRoot = descImage.substring (index + 18);
if (index != 0)
descImage = descImage.substring (0, index);
else
descImage = "";
}
}
}
%>
<%
String fieldLevelHelpTopic = "";
String fieldLevelHelpAttribute = "";
fieldLevelHelpTopic = "CreateTransactionClassStep1Form.detail.";
String topicKey = fieldLevelHelpTopic;
fieldLevelHelpTopic = topicKey + "membership";
%>
<%
TransactionClassDetailForm testForm = (TransactionClassDetailForm)session.getAttribute("CreateTransactionClassStep2Form");
ArrayList selectedNodesBean = (ArrayList)testForm.getSelectedURIs();
Collection appNames = testForm.getAppNamesToShow();
Collection webModNames = testForm.getWebModNamesToShow();
ArrayList uriNames = (ArrayList) testForm.getUrisToShow();
//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(),"-------------------------------------------");
if (!uriNames.contains("-------------------------------------------"))
uriNames.add(uriNames.size(),"-------------------------------------------");
String selectedApp = testForm.getSelectedApp();
String selectedMod = testForm.getSelectedMod();
String contextRoot = testForm.getContextRoot();
String refId = testForm.getRefId();
pageContext.setAttribute("availableNodesBean", uriNames);
pageContext.setAttribute("selectedNodesBean", selectedNodesBean);
pageContext.setAttribute("appNamesBean", appNames);
pageContext.setAttribute("webModNamesBean", webModNames);
pageContext.setAttribute("contextRoot", contextRoot);
try {
%>
<% }
catch (Exception e) { System.out.println("Caught Exception" + e.toString()); e.printStackTrace();} %>