<!--  $Header: appLov1.uix 115.0 2003/10/17 05:30:26 jolsson ship $ -->
<page xmlns="http://xmlns.oracle.com/uix/controller"
  xmlns:baja="http://bali.us.oracle.com/cabo/baja"
  xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
  xmlns:data="http://xmlns.oracle.com/uix/ui">

  <baja:head xmlns="http://www.w3.org/TR/REC-html40">
    <title>Oracle Applications Manager - Requests</title>
  </baja:head>

<!--  This file provides application LOV  -->
  <content>
  <dataScope xmlns="http://xmlns.oracle.com/uix/ui"><contents>
     <flowLayout><contents>
       <listOfValues data:searchText="searchText@filterData"
         data:title="APPLICATION@OAM_RB" id="appLov">
<!--
         <headerInstructions>
           <styledText data:text="selectedChoiceId@filterData"
             styleClass="OraInstructionText" />
         </headerInstructions>
-->         
         <filterChoice>
           <choice name="filterChoice" multiple="false"
             data:selectedValue="selectedChoiceId@filterData">
             <contents data:childData="choiceSet@filterData">
               <option data:text="choiceText" data:value="choiceId" />
           </contents></choice>
         </filterChoice>
         <searchInstructions>
           <styledText data:text="LOV_TIP@OAM_RB"
           styleClass="OraInstructionText" />
         </searchInstructions>
         <contents>
         <switcher data:childName="node@allData">
           <case name="errNode">
             <messageBox data:message="errMsg@allData"
              messageType="error"
              longDescURL="unimpl"
              data:text="MSG_ERROR_OCCURRED@OAM_RB"/>
           </case>

           <case name="okNode">
             <flowLayout><contents>
<!--  Here's the table definition       -->
<!--  This must be a form submitted proxied table -->
               <table name="TBL" width="80%" id="appLov1"
                data:columnHeaderData="column@columnHeaderData"
                data:tableData="rows@lovTableData"
                data:destination = "destination@lovTableData"
                formSubmitted="true"
                proxied="true"
                data:blockSize="size@lovTableData"
                minValue="1"
                data:value="start@lovTableData"
                data:maxValue="max@lovTableData"
                data:alternateText="alternateText@lovTableData">
                 <columnHeaderStamp>
                   <sortableHeader data:text="value" sortable="no"
                    data:sortable="sort"/>
                 </columnHeaderStamp>

                 <tableSelection>
                   <singleSelection data:text="SELECT_AN_ITEM_AND@OAM_RB"
                   selectedIndex="0" data:shortDesc="select" rendered="true"/>
<!-- multipleSelection text="select an item" data:selected="selected" rendered="false"/-->
                 </tableSelection>
                 <contents> <!-- Table Contents -->
                   <styledText styleClass="OraInstructionText"
                    data:text="appShortName"/> <!-- App shortName -->
                   <styledText styleClass="OraInstructionText"
                    data:text="appDisName"/> <!-- APP_LOV.DISPLAY_NAME -->
                   <formValue name="key" data:value="key" />
                 </contents>
               </table>
             </contents></flowLayout>
           </case>
         </switcher>
       </contents></listOfValues>
     </contents></flowLayout>
   </contents>
   <provider>
     <data name="columnHeaderData">
       <inline>
		     <column sort="no" data:value="SHORT_NAME@OAM_RB"/>
		     <column sort="no" data:value="APPLICATION@OAM_RB"/>
       </inline>
     </data>

     <data name="lovTableData">
        <bean><dataObject select="currentTable" source="allData"/></bean>
     </data>

     <data name="allData">
       <method class="oracle.apps.fnd.oam.sdk.util.lov.handlers.AppLov1Handler"
        method="getDataTable"/>
     </data>

     <data name="OAM_RB">
		   <bundle class="oracle.apps.fnd.oam.resources.OAMResourceBundle"/>
	   </data>

<!--
     <data name="LOV_categoryData">
       <method class="oracle.apps.fnd.oam.sdk.util.lov.handlers.ListOfValuesDemoData" method="getDataSet" />
     </data>
-->     

     <data name="filterData">
       <method class="oracle.apps.fnd.oam.sdk.util.lov.handlers.AppLov1Handler" method="getFilterData" />
     </data>
   </provider>
 </dataScope></content>
 <handlers>
  <event name="lovFilter">
    <method class="oracle.apps.fnd.oam.sdk.util.lov.handlers.LovBaseHandler"
     method="doFilter" />
  </event>
  <event name="lovSelect">
    <method class="oracle.apps.fnd.oam.sdk.util.lov.handlers.LovBaseHandler"
     method="doSelect" />
  </event>
  <event name="goto">
    <method class="oracle.apps.fnd.oam.sdk.common.OAMHandler"
     method="doNext"/>
  </event>
 </handlers>
</page>
