<!-- $Header: wfRoleLov.uix 115.34 2003/10/17 05:59:16 jolsson ship $ -->


<page xmlns="http://bali.us.oracle.com/cabo/baja" 
      xmlns:baja="http://bali.us.oracle.com/cabo/baja"
      xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" 
      xmlns:html="http://www.w3.org/TR/REC-html40"
      xmlns:data="http://bali.us.oracle.com/cabo/marlin"
	>

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

  <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin" 
	xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" 
	xmlns:html="http://www.w3.org/TR/REC-html40">

  <dataScope>
    <contents>
	    <form name = "lovForm" ><contents>
        <stackLayout><contents>
<!-- *********** You need to databind text in head************** -->
<!-- It should looks like: Search and Select: TOPIC NAME  --> 
          <header id="searchead"  data:text = "header@lovTableData"><contents>
            <include baja:node="/oam/common/oamLovField"/>
            <include baja:node="/oam/common/oamLov"/>
            <header id="searchead2" data:text = "BF_SEARCH_RESULTS@RBData">
              <contents>
                <switcher data:childName="node@lovTableData">
                  <case name="errNode">
                    <messageBox data:message="errMsg@lovTableData"
                      messageType="error"
                      longDescURL="unimpl"
                      data:text="MSG_ERROR_OCCURRED@OAM_SRB">
                    </messageBox>
                  </case>

                  <case name="okNode">
                  <stackLayout><contents>
                    <table name="TBL" width="100%"
                      data:columnHeaderData="column@columnHeaderData"
                      data:tableData="row@lovTableData"
                      data:destination = "destination@lovTableData"
                      formSubmitted="false"
                      proxied="true"
                      data:blockSize="block@lovTableData"
                      data:minValue="min@lovTableData"
                      data:value="value@lovTableData"
                      data:maxValue="max@lovTableData">

                      <tableFormat tableBanding="rowBanding"/>
                      <rowHeaderStamp>-</rowHeaderStamp>

                      <columnHeaderStamp>
                        <sortableHeader data:text="value" sortable="no"
                          data:sortable="sort"/>
                      </columnHeaderStamp>

                      <tableSelection>
                        <singleSelection data:text="BF_SELECT_AN_ITEM_AND@RBData"
                          selectedIndex = "0" data:shortDesc="select">
                          <contents>
                            <button data:text="BF_ACCEPT@RBData"
                              destination="javascript:selectLov('TBL')"/>
                          </contents>
                        </singleSelection>
                      </tableSelection>

                      <contents> <!-- Table Contents -->
                        <styledText styleClass="OraInstructionText"
                          data:text="name"/>
                        <styledText styleClass="OraInstructionText"
                          data:text="desc"/>
                        <formValue name = "hiddenName" data:value="name" />
                        <formValue name = "hiddenName1" data:value="desc" />
                      </contents>
                    </table>
                  </contents></stackLayout>
                </case>
              </switcher>
            </contents>
          </header>
        </contents>
       </header>
	   </contents></stackLayout>
	  </contents></form>

	  <contentFooter><contents>
	    <pageButtonBar><contents>
		    <button data:text="BF_CANCEL@RBData"  destination="javascript:doCancel()"/>
	    </contents></pageButtonBar>
	  </contents></contentFooter>
    </contents>


    <provider>
      <data name="columnHeaderData">
        <inline>
		      <column sort="no" data:value="BF_NAME@RBData"/>
		      <column sort="no" data:value="BF_USER@RBData"/>
        </inline>
      </data>

      <data name="RBData">
        <bundle class="oracle.apps.fnd.oam.bizexcep.resources.BflowResourceBundle"/>
      </data>

      <data name="lovTableData">
        <method class="oracle.apps.fnd.oam.sdk.util.lov.handlers.WFRoleLovHandler"
                  method="getLovTableData"/>
      </data>

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

-->
    	<data name="OAM_SRB">
		    <bundle class="oracle.apps.fnd.oam.resources.OAMResourceBundle"/>
	    </data>
    </provider>
  </dataScope>

 </baja:content>
 <handlers>
   <event name="goto">
     <method class="oracle.apps.fnd.oam.sdk.util.lov.handlers.WFRoleLovHandler"
             method="tableNavigation"/>
   </event>
    <event name="getLovList">
      <method class="oracle.apps.fnd.oam.sdk.common.OAMHandler"
        method="getLovList"/>
   </event>
 </handlers>

</page>



