<%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem" %> <%@ page import='java.util.Map' %> <%@ page import='oracle.sysman.emSDK.page.seg.PageSegmentContext' %> <% int numCharts=0; String sNumCharts = (String) (((PageSegmentContext) request.getAttribute("pageSegmentContext")).getAttribute("numCharts")); if (sNumCharts != null) { numCharts = Integer.parseInt(sNumCharts); } else { numCharts = 0; } if (numCharts ==0) { %> <% } int numRows = 0; if ((numCharts%3) == 0) { numRows = numCharts/3; } else { numRows = numCharts/3+1; } for (int i=0; i <% for (int j=0; j<3; j++) { int chartIndex = i*3+j; String chartKey = "chart"+chartIndex; Object chartObj = (((PageSegmentContext) request.getAttribute("pageSegmentContext")).getAttribute(chartKey)); if (chartObj != null){ %> <% } //end if } //end inner for %> <% } //end outer for %>