<%-- 
  /* $Header: gensvcShowAlerts.jsp 11-jul-2005.13:48:56 andyao Exp $ */ /*
  Copyright (c) 2004, Oracle. All rights reserved. */ /* DESCRIPTION PRIVATE
  CLASSES NOTES MODIFIED (MM/DD/YY) mfidanbo 12/29/04 - creation */ /** *
  CLASSES NOTES    andyao 07/08/05 - allow dynamic segments 
  CLASSES NOTES    andyao 03/04/05 - use 
  CLASSES NOTES                      EmlConstants.RETURN_URL_PAGE_PROPERTY 
  CLASSES NOTES    mfidan 02/25/05 - p3 ui review
  CLASSES NOTES    andyao 01/07/05 - remove html comment 
  CLASSES NOTES    mfidan 01/04/0 - mfidanbo_clickable_images
  CLASSES NOTES    mfidan 01/03/05 - /
  CLASSES NOTES    mfidan 12/30/04 - 
  @version $Header: gensvcShowAlerts.jsp 11-jul-2005.13:48:56 andyao Exp $ *
  @author mfidanbo * @since release specific (what release of product did this
  appear in) */
--%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix"%>
<%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem"%>
<%@ page import="oracle.cabo.ui.UIConstants"%>
<%@ page import="oracle.sysman.eml.gensvc.GenSvcUIConstants"%>
<%@ page import="oracle.sysman.eml.gensvc.GenSvcPageSegmentTypes"%>
<%@ page import="oracle.sysman.emSDK.eml.EmlConstants" %>
<%@ page import="oracle.sysman.eml.gensvc.test.ctrl.ShowAlertsHandler" %>

<uix:renderingContext id="renderingContext">
  <uix:bundle name="gensvc"
              class="oracle.sysman.resources.eml.gensvc.GensvcResourceBundle"/>
  <uix:bundle name="common"
              class="oracle.sysman.resources.CommonResourceBundle"/>
  <uix:bundle name="sdkMsg" class="oracle.sysman.emSDK.eml.SDKUIMsg"/>
  <oem:setURLEncoder id="renderingContext"/>
  <uix:document>
    <%@ include file="/oemTitle.jspf"%>
    <%@ include file="/enablePPR.jspf"%>
    <uix:body>
      <uix:pageLayout>
        <%@ include file="/oemGlobal.jspf"%>
        <uix:dataScope currentDataBinding="@servletRequest">
          <uix:form method="POST" name="mainForm">
            <%@ include file="/gensvc/message.jspf"%>
            <uix:formValue name="<%=GenSvcUIConstants.CURRENT_PAGE_KEY%>"
              valueBinding="<%=GenSvcUIConstants.CURRENT_PAGE_KEY%>"/>
            <uix:formValue name="<%=EmlConstants.RETURN_URL_PAGE_PROPERTY%>"
              valueBinding="<%=EmlConstants.RETURN_URL_PAGE_PROPERTY%>"/>
          </uix:form>
          <uix:header textBinding="<%=GenSvcUIConstants.PAGE_HEADER_KEY%>">
            <uix:tableLayout width="100%">
              <uix:rowLayout hAlign="right">
                <uix:cellFormat>
                  <uix:flowLayout>
                    <uix:dataScope currentDataBinding="@servletRequest">
                      <uix:rowLayout>
                        <uix:styledText styleClass="OraTipText" textBinding="PAGE_REFRESHED_TIME@sdkMsg"/>
                        <uix:spacer width="4"/>
                        <uix:styledText styleClass="OraTipLabel" textBinding="lastUpdateTime"/>
                        <uix:spacer width="4"/>
                        <uix:image sourceBinding="refreshImage" destinationBinding="refreshLink" shortDescBinding="REFRESH@sdkMsg"/>
                      </uix:rowLayout>
                    </uix:dataScope>
                  </uix:flowLayout>
                </uix:cellFormat>
              </uix:rowLayout>
            </uix:tableLayout>
            <uix:tableLayout width="100%">
              <%
              String[] refIds = (String[]) request.getAttribute(ShowAlertsHandler.class.getName() + "_refIds");
              if (refIds != null)
              {
              for ( int i = 0; i != refIds.length; i++)
              {
              String pgSegAttr = refIds[i];
              %>
              <uix:rowLayout>
                <uix:ref refID="<%=pgSegAttr%>"/> 
              </uix:rowLayout>
              <uix:rowLayout>
                <uix:spacer height="10"/>
              </uix:rowLayout>
              <%
              }
              }
              %>
            </uix:tableLayout>
          </uix:header>
        </uix:dataScope>
      </uix:pageLayout>
    </uix:body>
  </uix:document>
</uix:renderingContext>
