<%--    

/* $Header: targetBeacons.jspf 26-jun-2002.17:58:54 asawant Exp $ */
/* Copyright (c) 2001, 2002, Oracle Corporation.  All rights reserved.  */

/*
   DESCRIPTION  

   NOTES
    <other useful comments, qualifications, etc.>

   MODIFIED    (MM/DD/YY)
    asawant       06/26/02 - asawant_mv_jsp_to_jspf
    asawant       06/24/02 - Move from jsp
    njuillar      06/10/02 - Cutting over to POST.
    asawant       06/06/02 - code revamp
    asawant       06/06/02 - history section added
 */        
                    
/**
 *  @version $Header: targetBeacons.jspf 26-jun-2002.17:58:54 asawant Exp $                     
 *  @author  asawant         
 *  @since   release specific (what release of product did this appear in)
 */                       
                            
--%> 

<uix:header text="<%=defaultBean.getBeaconsHeader()%>" size="1">
  <uix:contents>
    <uix:form name="tgtBeaconForm" method="POST"
        destinationBinding="syncBtnDest@defaultBean@servletRequest">

      <uix:formValue name="<%=BeaconConstants.TARGET_PAGE_PROPERTY%>"
          valueBinding="targetName@defaultBean@servletRequest"/>
      <uix:formValue name="<%=BeaconConstants.TARGET_TYPE_PAGE_PROPERTY%>"
          valueBinding="targetType@defaultBean@servletRequest"/>

      <uix:stackLayout>

        <uix:spacer height="1"/>

        <uix:borderLayout>

          <uix:contents>
            <uix:spacer width="1"/>
          </uix:contents>

          <uix:innerRight>
            <uix:button text="<%=defaultBean.getMngBcnLnkStr()%>" 
                destination="<%=defaultBean.getMngBcnLnkTgt()%>"/>
          </uix:innerRight>

          <uix:bottom>
            <uix:switcher childName="<%=defaultBean.getVisible()%>">
              <uix:case name="yes">
                <oem:table width="100%" name="<%=defaultBean.getBeaconTable()%>"
                    dataSourceProp="tgtBcnTbl" 
                    alternateText="<%=defaultBean.getAlternateText()%>">
                  <uix:tableSelection>
                    <uix:singleSelection selectedIndex="0">
                      <uix:submitButton 
                          textBinding="syncBtnStr@defaultBean@servletRequest" 
                          name="<%=BeaconConstants.EVENT%>"
                          value="<%=BeaconConstants.BCN_SYNC%>"/>
                      <uix:spacer width="2"/>
                      <uix:submitButton
                          textBinding="perfBtnStr@defaultBean@servletRequest" 
                          name="<%=BeaconConstants.EVENT%>"
                          value="<%=BeaconConstants.PERF_DETAILS%>"/>
                    </uix:singleSelection>
                  </uix:tableSelection>
                </oem:table>
              </uix:case>
            </uix:switcher>
          </uix:bottom>

        </uix:borderLayout>

      </uix:stackLayout>
    </uix:form>
  </uix:contents>
</uix:header>
