<?xml version='1.0' encoding='windows-1252'?>
<!--$Id: SRCreate.jspx,v 1.9 2006/05/11 01:37:51 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:afh="http://xmlns.oracle.com/adf/faces/html"
          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['srcreate.pageTitle']}">
          <!--Page Content Start-->
          <afc:cache duration="864000">
            <af:objectSpacer width="10" height="10"/>
            <af:panelHorizontal>
              <f:facet name="separator">
                <af:objectSpacer width="4" height="10"/>
              </f:facet>
              <af:outputText value="#{res['srcreate.faqText']}"/>
              <af:commandLink text=" #{res['srcreate.faqLink']}"
                              action="dialog:FAQ" useWindow="true"
                              immediate="true" partialSubmit="true"/>
            </af:panelHorizontal>
            <af:objectSpacer width="10" height="10"/>
            <af:outputFormatted value="#{res['srcreate.explainText']}"/>
            <af:objectSeparator/>
          </afc:cache>
          <af:panelForm>
            <af:panelLabelAndMessage valign="top"
                                     for="productList"
                                     label="#{res['srcreate.info.1']}">
              <af:selectOneListbox id="productList" autoSubmit="false"
                                   simple="true"
                                   label="#{bindings.ProductList.label}"
                                   value="#{bindings.ProductList.inputValue}"
                                   size="6" required="true">
                <f:selectItems value="#{bindings.ProductList.items}"/>
              </af:selectOneListbox>
            </af:panelLabelAndMessage>
            <af:panelLabelAndMessage label="#{res['srcreate.info.2']}"
                                     valign="top"
                                     for="problemText">
              <af:inputText columns="60" rows="4" required="true"
                            simple="true"
                            label="#{bindings.ProblemDescription.label}"
                            id="problemText"
                            requiredMessageDetail="#{res['srcreate.problemRequired']}"
                            value="#{bindings.ProblemDescription.inputValue}"/>
            </af:panelLabelAndMessage>
            <f:facet name="footer"/>
          </af:panelForm>
          <!-- 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="request.session">
              <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="menu2">
            <af:menuBar>
              <af:objectSpacer height="14"/>
            </af:menuBar>
          </f:facet>          
          <f:facet name="menuGlobal">
            <f:subview id="globalMenufragment">
              <jsp:include page="/app/globalMenu.jspx"/>
            </f:subview>
         </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>
          <f:facet name="location">
            <af:processTrain value="#{createTrainMenuModel.model}" var="train">
              <f:facet name="nodeStamp">
                <af:commandMenuItem text="#{train.label}"
                                    action="#{train.getOutcome}"
                                    readOnly="#{createTrainMenuModel.model.readOnly}"
                                    immediate="false"/>
              </f:facet>
            </af:processTrain>
          </f:facet>
          <f:facet name="actions">
            <af:panelButtonBar>
              <af:commandButton text="#{res['srdemo.cancel']}"
                                action="GlobalHome"
                                immediate="true"
                                actionListener="#{bindings.cancelNewServiceRequest.execute}"/>
              <af:processChoiceBar var="choice"
                                   value="#{createTrainMenuModel.model}">
                <f:facet name="nodeStamp">
                  <af:commandMenuItem text="#{choice.label}"
                                      action="#{choice.getOutcome}"
                                      readOnly="#{createTrainMenuModel.model.readOnly}"
                                      immediate="false"/>
                </f:facet>
              </af:processChoiceBar>
            </af:panelButtonBar>
          </f:facet>
        </af:panelPage>
      </af:form>
    </af:document>
  </f:view>
</jsp:root>

