<%-- IBM Confidential OCO Source Material --%> <%-- 5724-i63, 5724-H88 (C) COPYRIGHT International Business Machines Corp. 2005-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="java.util.*,com.ibm.ws.security.core.SecurityContext,com.ibm.websphere.product.*"%> <%@ page import="com.ibm.ws.sm.workspace.*"%> <%@ page import="com.ibm.ws.workspace.query.*"%> <%@ page import="com.ibm.ws.console.core.*"%> <%@ page import="com.ibm.ws.console.core.ConfigFileHelper"%> <%-- LIDB2303A --%> <%@ page import="com.ibm.ws.console.core.selector.*"%> <%@ page import="com.ibm.ws.console.workclass.util.Constants"%> <%@ page import="com.ibm.ws.console.workclass.util.MatchRuleUtils"%> <%@ page import="com.ibm.websphere.management.metadata.ManagedObjectMetadataAccessor"%> <%@ page import="com.ibm.websphere.management.metadata.ManagedObjectMetadataAccessorFactory"%> <%@ page import="com.ibm.ws.*"%> <%@ page import="com.ibm.wsspi.*"%> <%@ page import="com.ibm.ws.classify.*"%> <%@ page import="com.ibm.ws.classify.definitions.*"%> <%@ page import="com.ibm.wsspi.classify.*"%> <%@ page import="com.ibm.wsspi.expr.*"%> <%@ page import="com.ibm.wsspi.expr.operand.*"%> <%@ page import="com.ibm.wsspi.expr.core.*"%> <%@ 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" %> <%String contextId = null;%> <%contextId = contextId_new;%> <% org.apache.struts.util.MessageResources messages = (org.apache.struts.util.MessageResources)pageContext.getServletContext().getAttribute(org.apache.struts.action.Action.MESSAGES_KEY); %> <% Operand[] operands = MatchRuleUtils.listClassificationOperands(request); Operand operand = null; for(int i=0; i <% String contextType=(String)request.getAttribute("contextType"); String cellname = null; String nodename = null; String token = null; java.util.Properties props= null; com.ibm.ws.console.workclass.form.RuleBuilderConditionForm form = (com.ibm.ws.console.workclass.form.RuleBuilderConditionForm) request.getSession().getAttribute(formName); String expression = (String) request.getSession().getAttribute(Constants.KEY_GENERATED_EXPRESSION); if (expression == null){ expression = ""; } java.util.ArrayList attributeList_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); // LIDB2303A attributeList_ext = FieldSelector.getFields(extensions,attributeList_ext,props,(String)perspective); } attributeList_ext = FieldSelector.getCategories(extensions,attributeList_ext,(String)perspective); pageContext.setAttribute("attributeList_ext",attributeList_ext); %> <% String renderReadOnlyView = "no"; if (SecurityContext.isSecurityEnabled()) { renderReadOnlyView = "yes"; if (request.isUserInRole("administrator")) { renderReadOnlyView = "no"; } else if (request.isUserInRole("configurator")) { renderReadOnlyView = "no"; } } %> <% //Boolean descriptionsOn = (Boolean) session.getAttribute("descriptionsOn"); //String numberOfColumns = "3"; //if (descriptionsOn.booleanValue() == false) // numberOfColumns = "2"; WASProduct productInfo = new WASProduct(); String fieldLevelHelpTopic = ""; String fieldLevelHelpAttribute = ""; String DETAILFORM = "DetailForm"; String objectType = ""; int index = formType.lastIndexOf ('.'); if (index > 0) { String fType = formType.substring (index+1); if (fType.endsWith (DETAILFORM)) objectType = fType.substring (0, fType.length()-DETAILFORM.length()); else objectType = fType; } fieldLevelHelpTopic = objectType+".detail."; String topicKey = fieldLevelHelpTopic; String selectedOperand = form.getSelectedOperand(); Collection operandNames = form.getOperands(); pageContext.setAttribute("operandNamesBean", MatchRuleUtils.getOperandsCollection(request)); String operandDownChanged = "operandNameChange()"; %>

<% String fieldSize="30"; if ((operand.getName().equals(ClassificationDictionary.CLIENT_IPV6)) || (operand.getName().equals(ClassificationDictionary.SERVER_IPV6))) { fieldSize="50"; } %> <% FieldName[] fieldnames = operand.getFieldNames(); if(fieldnames != null && fieldnames.length > 0){ for (int i_fn=0; i_fn 0) {%> <% } else {%> <% } } } } %> <% if (!(operand instanceof BooleanOperand)) {%> <% com.ibm.wsspi.expr.core.Identifier[] operators = Protocols.findLanguage(operand.getName()).getOperatorNames(operand); Vector operatorValueVector = new Vector(); //DialectOperator[] operators = operand.getOperators(); for (int i=0; i <% } else { //if the operator property is not executed add this hidden property %> <% } %>
<% for (int i_sv=0; i_sv <%=selectablevalues[i_sv].getDisplayName(request.getLocale())%> <% }%>
<% String desc = "rule.builder.appendvalue.desc"; %>
<% if(operand.getSelectableValues() != null && operand.getSelectableValues().length > 0){ SelectableValue[] values = operand.getSelectableValues(); %> <% } else{ %> <% } %>
<% if(operand.getSelectableValues() != null && operand.getSelectableValues().length > 0){ SelectableValue[] values = operand.getSelectableValues(); %> <% } else { %> <% }%> <% if(operand.getSelectableValues() != null && operand.getSelectableValues().length > 0){ SelectableValue[] values = operand.getSelectableValues(); %> <% } else{ %> <% }%>

">