<%-- IBM Confidential OCO Source Material --%> <%-- 5724-J34, 5655-P28 (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="java.util.*"%> <%@ page import="com.ibm.ws.console.xdoperations.prefs.PropertyDetailForm"%> <%@ page import="com.ibm.ws.console.xdoperations.prefs.PropertyGroupDetailForm"%> <%@ 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" %> <% PropertyGroupDetailForm form = (PropertyGroupDetailForm) session.getAttribute(formName); List propertyGroups = form.getPropertyGroups(); List properties = form.getProperties(); %>
<% ArrayList propItems = new ArrayList(); for (Iterator i = properties.iterator(); i.hasNext(); ) { PropertyDetailForm propDetailForm = (PropertyDetailForm) i.next(); //System.out.println("prop=" + propDetailForm.getName()); // Only display the property if not hidden. Ex: discoverymode is usually hidden. if (propDetailForm.isHidden()) { continue; } propItems = propDetailForm.getPropertyItems(); session.setAttribute("com.ibm.ws.console.xdoperations.prefs.PropertyDetailForm", propDetailForm); %> <%}%> <% for (Iterator i = propertyGroups.iterator(); i.hasNext(); ) { PropertyGroupDetailForm propGroupDetailForm = (PropertyGroupDetailForm) i.next(); //System.out.println("propgroup=" + propGroupDetailForm.getName()); // Only display the property if not hidden. Ex: discoverymode is usually hidden. if (propGroupDetailForm.isHidden()) { continue; } session.setAttribute("com.ibm.ws.console.xdoperations.prefs.PropertyGroupDetailForm", propGroupDetailForm); %> <%}%>