<?xml version='1.0' encoding='windows-1252'?>
<!--$Id: SRSkills.jspx,v 1.6 2006/05/11 00:32:04 steve Exp $-->
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces"
          xmlns:afc="http://xmlns.oracle.com/adf/faces/webcache">
  <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
              doctype-system="http://www.w3.org/TR/html4/loose.dtd"
              doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
  <jsp:directive.page contentType="text/html;charset=UTF-8"/>
  <f:view>
    <f:loadBundle basename="oracle.srdemo.view.resources.UIResources"
                  var="res"/>
    <af:document title="#{res['srdemo.browserTitle']}">
      <af:form>
        <af:panelPage title="#{res['srskills.pageTitle']}">
          <!--Page Content Start-->
          <af:panelGroup>
            <af:selectOneChoice id="technicianList" autoSubmit="true"
                                value="#{bindings.StaffNavigationList.inputValue}"
                                label="#{res['srskills.subtitle']}"
                                valueChangeListener="#{backing_SRSkills.refreshSelectedList}"                                
                                >
              <f:selectItems value="#{bindings.StaffNavigationList.items}"/>
            </af:selectOneChoice>
            <af:objectSpacer height="10"/>
            <af:objectSeparator/>
            <af:panelHorizontal valign="bottom" 
                                partialTriggers="technicianList">
              <af:objectSpacer width="40"/>                                
              <af:selectManyShuttle value="#{backing_SRSkills.selectedValues}"
                                    leadingHeader="#{res['srskills.shuttle.possible']}"
                                    trailingHeader="#{res['srskills.shuttle.assigned']}"
                                    trailingDescShown="true"
                                    leadingDescShown="true" size="12">
                <f:selectItems value="#{backing_SRSkills.allItems}"/>
              </af:selectManyShuttle>
              <af:commandButton text="#{res['srskills.assignbutton']}"
                                actionListener="#{bindings.updateSkillsForCurrentStaff.execute}"
                                disabled="#{!bindings.updateSkillsForCurrentStaff.enabled}"
                                action="#{backing_SRSkills.onUpdateSkills}"/>
            <f:facet name="separator">
                <af:objectSpacer width="10"/>
            </f:facet>
            </af:panelHorizontal>
          </af:panelGroup>         
          <!-- Page Content End -->
          <f:facet name="branding">
            <af:objectImage height="69" width="340"
                            source="/images/SRBranding.gif"/>
          </f:facet>
          <f:facet name="menu1">
            <afc:cache duration="864000" varyBy="userInfo.userName">
              <af:menuTabs var="menuTab" value="#{menuModel.model}">
                <f:facet name="nodeStamp">
                  <af:commandMenuItem text="#{menuTab.label}"
                                      action="#{menuTab.getOutcome}"
                                      rendered="#{menuTab.shown and menuTab.type=='default'}"
                                      disabled="#{menuTab.readOnly}"/>
                </f:facet>
              </af:menuTabs>
            </afc:cache>
          </f:facet>
          <f:facet name="menuGlobal">
            <f:subview id="globalMenufragment">
              <jsp:include page="/app/globalMenu.jspx"/>
            </f:subview>
          </f:facet>
          <f:facet name="menu2">
            <!-- Sub Tabs shown in the header bar -->
            <af:menuBar var="menuSubTab" startDepth="1"
                        value="#{menuModel.model}">
              <f:facet name="nodeStamp">
                <af:commandMenuItem text="#{menuSubTab.label}"
                                    action="#{menuSubTab.getOutcome}"
                                    rendered="#{menuSubTab.shown and menuSubTab.type=='default'}"
                                    disabled="#{menuSubTab.readOnly}"/>
              </f:facet>
            </af:menuBar>
          </f:facet>
          <f:facet name="messages">
            <af:messages/>
          </f:facet>
          <f:facet name="appCopyright">
            <!--Copyright msg-->
            <af:outputText value="#{res['srdemo.copyright']}"/>
          </f:facet>
          <f:facet name="appAbout">
              <!-- The About this Application Link-->
              <af:commandLink text="#{res['srdemo.about']}" action="GlobalAbout"
                              immediate="true"/>
          </f:facet>
          <f:facet name="infoUser">
            <!-- Show the Logged in user -->
            <h:outputFormat value="#{res['srdemo.connectedUser']}"
                            rendered="#{userInfo.authenticated}" escape="false">
              <f:param value="#{userInfo.userName}"/>
            </h:outputFormat>
          </f:facet>
        </af:panelPage>
      </af:form>
    </af:document>
  </f:view>
</jsp:root>
