<%--
/* $Header: gensvcTestNavBar.jspf 06-jun-2007.09:50:10 andyao Exp $ */

/* Copyright (c) 2004, 2007, Oracle. All rights reserved.  */

/*
   DESCRIPTION
    Common navigation buttons for Service Test Administration.

   PRIVATE CLASSES
    None

   NOTES
    None

   MODIFIED    (MM/DD/YY)
    andyao      06/06/07 - add label
    andyao      03/20/07 - add comments
    andyao      12/11/06 - Creation
 */

/**
 *  @version $Header: gensvcTestNavBar.jspf 06-jun-2007.09:50:10 andyao Exp $
 *  @author  andyao  
 *  @since   release specific (what release of product did this appear in)
 */
 --%>

<%@ page import="oracle.cabo.ui.UIConstants" %>
<%@ page import="oracle.sysman.eml.gensvc.GenSvcUIConstants" %>
<uix:pageButtonBar>
  <uix:dataScope currentDataBinding="@servletRequest">
    <uix:bundle name="gensvc" class="oracle.sysman.resources.eml.gensvc.GensvcResourceBundle" />
    <uix:bundle name="common" class="oracle.sysman.resources.CommonResourceBundle" />

    <%-- for add/create cases --%>
    <uix:submitButton
      renderedBinding="<%=GenSvcUIConstants.SHOW_CANCEL_BUTTON%>"
      name="<%=UIConstants.EVENT_PARAM%>"
      value="<%=UIConstants.CANCEL_EVENT%>"
      unvalidated="true"
      formName="mainForm"
      shortDescBinding="CANCEL@common"
      textBinding="CANCEL@common"/>
    <uix:spacer height="10" 
      renderedBinding="<%=GenSvcUIConstants.SHOW_CANCEL_BUTTON%>"
      />

    <%-- for view only page --%>
    <uix:submitButton 
      renderedBinding="<%=GenSvcUIConstants.SHOW_EDIT_BUTTON%>"
      shortDescBinding="EDIT@common"
      textBinding="EDIT@common"
      name="<%=UIConstants.EVENT_PARAM%>"
      unvalidated="true" 
      formName="mainForm"
      value="Edit"
      />
    <uix:spacer height="10" 
      renderedBinding="<%=GenSvcUIConstants.SHOW_EDIT_BUTTON%>"
      />

    <uix:submitButton
      renderedBinding="<%=GenSvcUIConstants.SHOW_VERIFY_TEST_BUTTON%>"
      name="<%=UIConstants.EVENT_PARAM%>"
      value="<%=GenSvcUIConstants.PERFORM_TEST_EVENT%>"
      formName="mainForm"
      shortDescBinding="VERIFY_SERVICE_TEST@gensvc"
      textBinding="VERIFY_SERVICE_TEST@gensvc"/>

    <uix:spacer height="10" 
      renderedBinding="<%=GenSvcUIConstants.SHOW_VERIFY_TEST_BUTTON%>"
      />

    <%-- for direct saving to repository --%>
    <uix:submitButton 
      renderedBinding="<%=GenSvcUIConstants.SHOW_OK_BUTTON%>"
      name="<%=UIConstants.EVENT_PARAM%>" 
      value="<%=GenSvcUIConstants.OK_EVENT%>"
      formName="mainForm"
      shortDescBinding="OK@common"
      textBinding="OK@common"/>
    <%-- for going back to the calling page without saving --%>
    <uix:submitButton
      renderedBinding="<%=GenSvcUIConstants.SHOW_CONTINUE_BUTTON%>"
      name="<%=UIConstants.EVENT_PARAM%>"
      value="<%=GenSvcUIConstants.CONTINUE_EVENT%>"
      formName="mainForm"
      shortDescBinding="CONTINUE@common"
      textBinding="CONTINUE@common"/>

  </uix:dataScope>
</uix:pageButtonBar>
