<%-- IBM Confidential OCO Source Material --%> <%-- 5724-J34 (C) COPYRIGHT International Business Machines Corp. 2006 --%> <%-- 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 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.*"%> <%@ page language="java" import="org.apache.struts.util.MessageResources,org.apache.struts.action.Action"%> <%@ page import="com.ibm.ws.*"%> <%@ page import="com.ibm.wsspi.*"%> <%@ page import="com.ibm.ws.console.core.item.CollectionItem"%> <%@ page import="com.ibm.ws.console.core.selector.*"%> <%@ page import="com.ibm.ws.console.core.ConfigFileHelper"%> <%@ page import="com.ibm.websphere.management.metadata.ManagedObjectMetadataAccessor"%> <%@ page import="com.ibm.websphere.management.metadata.ManagedObjectMetadataAccessorFactory"%> <%@ 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" %> <%@ page import="java.util.*" %> <%@ page import="java.net.*" %> <%@ page import="com.ibm.ws.console.core.ConfigFileHelper" %> <% int chkcounter = 0; int rowindex = 0; boolean debug = false; try { %> <% String contextType=(String)request.getAttribute("contextType"); String cellname = null; String nodename = null; String token = null; java.util.Properties props= null; java.util.ArrayList collectionList_ext = new java.util.ArrayList(); for(int i=0;i0) ){ //if(contextId!=null && contextId!="nocontext"){ //props = ConfigFileHelper.getNodeMetadataProperties((String)contextId); //213515 // } props = ConfigFileHelper.getAdditionalAdaptiveProperties(request, props, formName); } if(extensions!=null && extensions.length>0) { collectionList_ext = CollectionItemSelector.getCollectionItems(extensions,collectionList_ext,props); } pageContext.setAttribute("collectionList_ext",collectionList_ext); String actionHandler = actionForm.substring(0, actionForm.indexOf("Form")); if (ruleCaption == null) { ruleCaption = "rule.rules"; } String ruleCaptionDescription = ruleCaption+".desc"; %>
<%@ include file="/secure/layouts/filterSetup.jspf" %>
<% if (showCheckBoxes.equals ("true")) { %> <% } %> <% columnField = (String)cellItem.getColumnField(); String tmpName = cellItem.getTooltip(); String columnName = translatedText.getMessage(request.getLocale(),tmpName); %> <% chkcounter = chkcounter + 1; %> <% int prioritycounter = 1; rowindex = 0; String editClickString = ""; %> <% if (showCheckBoxes.equals("true")) { %> <% } else { %> <% } %> <% columnField = (String)cellItem.getColumnField(); String colwidth = "1%"; if (columnField.equalsIgnoreCase("rule")) { colwidth = "50%"; } %> <% prioritycounter = prioritycounter + 1; rowindex = rowindex + 1; %> <% if (rowindex == 0) { servletContext = (ServletContext)pageContext.getServletContext(); MessageResources messages = (MessageResources)servletContext.getAttribute(Action.MESSAGES_KEY); String nonefound = messages.getMessage(request.getLocale(),"Persistence.none"); out.println(""); } %>
<%=columnName%>
  <% if (cellItem.getIcon()!=null && cellItem.getIcon().length() > 0) { %>   <% } else if (columnField.equalsIgnoreCase("priority")) { %> <%=prioritycounter%> <% } else if (columnField.equalsIgnoreCase("rule")) { %> <% String handShow = "none"; String quickEdit = "block"; if (matchExpression.equals("")) { handShow = "block"; quickEdit = "none"; } String ri = rowindex+""; request.getSession().setAttribute("Rule_"+refId,listcheckbox); //System.out.println("ruleLayout:line 273: actionForm: "+actionForm); %> <% } %>
"+nonefound+"
<% String defaultaction = "default"+actionItem0; %> <% String ri = rowindex+"";%> <% } catch (Exception e) {e.printStackTrace(); } %>