Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\webapp\webappCompAvail.jspf
<%@ page import="java.util.ArrayList"%> <%@ page import="java.util.Iterator"%> <%@ page import="oracle.sysman.eml.webapp.data.WebappComponentAvailData"%> <%@ page import="oracle.sysman.eml.mntr.util.GenDataObjectList"%> <uix:form name="componentAvailForm" method="GET" destinationBinding="componentAvailFormDestination@servletRequest" > <uix:dataScope currentDataBinding="servletRequest" > <uix:bundle name="webappMsg" class="oracle.sysman.eml.webapp.WebappMsg" /> <%-- <uix:header textBinding="COMPONENT_AVAILABILITY@webappMsg" > --%> <% // include a component performance section for each target type ArrayList availDataList = (ArrayList) request.getAttribute("componentAvailDataList"); if(availDataList != null && availDataList.size() > 0) { for(Iterator availDataIter = availDataList.iterator(); availDataIter.hasNext(); ) { WebappComponentAvailData componentAvailData = (WebappComponentAvailData) availDataIter.next(); String type = componentAvailData.getComponentType(); // bug: 2761632: JSP: CLASSCAST EXCEPTION IF ID IS SET TO RUNTIME VALUE; fixed in UIX 2.1.14 // String compHeaderId = (String)componentAvailData.getCompHeaderId(); String currentDataKey = "componentAvailData"+type; request.setAttribute(currentDataKey, componentAvailData); String currentDataBinding = currentDataKey+"@servletRequest"; %> <uix:dataScope currentDataBinding="<%=currentDataBinding%>" > <uix:stackLayout> <%-- <uix:hideShowHeader formSubmitted="true" disclosedBinding="compHeaderDisclosed" id="compAvailHeaderId" partialRenderMode="true" textBinding="compAvailHeaderText" > --%> <uix:header textBinding="compAvailHeaderText" > <uix:stackLayout> <uix:contents> <% int n=0; for(Iterator targIter=componentAvailData.getTargetList().iterator(); targIter.hasNext(); n++) { GenDataObjectList rowData = (GenDataObjectList) targIter.next(); String rowKey = currentDataKey+n; request.setAttribute(rowKey, rowData); String rowDataBinding = rowKey+"@servletRequest"; %> <%-- TIME LINE --%> <uix:labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%"> <uix:contents childDataBinding="<%=rowDataBinding%>"> <uix:stackLayout> <uix:contents> <uix:spacer height="1"/> <uix:styledText textBinding="displayName@" destinationBinding="destination@"/> </uix:contents> </uix:stackLayout> <uix:stackLayout> <uix:contents> <uix:spacer height="1"/> <uix:rowLayout> <uix:contents> <uix:rowLayout> <uix:contents childDataBinding="imageRow@"> <uix:image sourceBinding="imageSource@" widthBinding="imageWidth@" heightBinding="imageHeight@"/> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:spacer width="10"/> <uix:styledText textBinding="availPct@" styleClass="OraDataText"/> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:spacer width="5"/> <uix:styledText textBinding="targetName@" destinationBinding="targetDest@"/> </uix:contents> </uix:rowLayout> </uix:contents> </uix:rowLayout> </uix:contents> </uix:stackLayout> </uix:contents> </uix:labeledFieldLayout> <uix:spacer height="1"/> <% } %> <%-- MARKER ROW --%> <uix:labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%"> <uix:contents childDataBinding="markRow"> <uix:spacer height="1"/> <uix:rowLayout> <uix:contents> <uix:rowLayout> <uix:contents childDataBinding="imageRow@"> <uix:image sourceBinding="imageSource@" widthBinding="imageWidth@" heightBinding="imageHeight@"/> </uix:contents> </uix:rowLayout> <uix:spacer width="10"/> </uix:contents> </uix:rowLayout> </uix:contents> </uix:labeledFieldLayout> <%-- START TIME AND END TIME ROW --%> <uix:labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%"> <uix:contents> <uix:stackLayout> <uix:contents> </uix:contents> </uix:stackLayout> <uix:stackLayout> <uix:contents> <uix:tableLayout width="480"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraInlineInfoText" textBinding="startTimeStamp"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInlineInfoText" textBinding="endTimeStamp"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:stackLayout> </uix:contents> </uix:labeledFieldLayout> <uix:spacer height="10"/> <%-- TARGET NOT MONITORED MSG --%> <uix:labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%" renderedBinding="showTgtNotMonMsg"> <uix:contents> <uix:stackLayout> <uix:contents> </uix:contents> </uix:stackLayout> <uix:stackLayout> <uix:contents> <uix:tableLayout width="480"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraInlineInfoText" textBinding="tgtNotMonMsg"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:stackLayout> </uix:contents> </uix:labeledFieldLayout> <%-- TARGET AVAIL UNDERTERMINED MSG --%> <uix:labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%" renderedBinding="showTgtAvailUndetMsg"> <uix:contents> <uix:stackLayout> <uix:contents> </uix:contents> </uix:stackLayout> <uix:stackLayout> <uix:contents> <uix:tableLayout width="480"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraInlineInfoText" textBinding="tgtAvailUndetMsg"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:stackLayout> </uix:contents> </uix:labeledFieldLayout> <%-- TARGET STATES NOT APPEAR MSG --%> <uix:labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%" renderedBinding="showTgtStatesNotAppearMsg"> <uix:contents> <uix:stackLayout> <uix:contents> </uix:contents> </uix:stackLayout> <uix:stackLayout> <uix:contents> <uix:tableLayout width="480"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraInlineInfoText" textBinding="tgtStatesNotAppearMsg"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:stackLayout> </uix:contents> </uix:labeledFieldLayout> </uix:contents> </uix:stackLayout> <%-- </uix:hideShowHeader> --%> </uix:header> </uix:stackLayout> </uix:dataScope> <% } } %> <%-- </uix:header> --%> </uix:dataScope> </uix:form>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de