<!--
 * Copyright (c) 2001, 2003, Oracle Corporation.  All rights reserved.  
 *
 *      NAME
 *       searchConfigOnHosts.uix
 *
 *      NOTES
 *       search NIC Configurations on Hosts
 *
 * MODIFIED (MM/DD/YY)  VERSION
 *    awarka 12/03/03 - Bug Fix For Issue#3280397
 *    kchias 10/28/03 - bugfix 3211721 
 *    kchias 10/08/03 - add login to title 
 *    shuber 09/29/03 - Use the mgmt$group_flat_memberships view 
 *    kchias 03/25/03 - bugfix 2665904
 *    shuber 03/05/03 - Adding group membership filter
 *    kchias 10/14/02 - ui review cleanup
 *    kchias 09/24/02 - 
 *    kchias 08/27/02 - kchiasso_ecm_search_aug1902
 *
 *
 *  @author  kChiasson
 *
-->
<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:uix="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://bali.us.oracle.com/cabo/marlin"
              xmlns:uix="http://bali.us.oracle.com/cabo/marlin"
              xmlns:html="http://www.w3.org/TR/REC-html40">
  <dataScope>
   <contents>
         <head>
           <boundAttribute name="title">
             <concat>
                <dataObject select="loginTitle"
                            source="getLoginTitle"/>
                <fixed javaType="string">&nbsp;-&nbsp;</fixed>
                <dataObject select="TITLE_SEARCHCONFIGONHOSTS" source="ResourceBundle"/>
             </concat>
           </boundAttribute>
         </head> 
   </contents>
      <provider>
        <data name="getLoginTitle">
          <method class="oracle.sysman.eml.ecm.util.EcmSessionUtil" method="getLoginTitle"/>
        </data>
        <data name="ResourceBundle">
           <bundle class = "oracle.sysman.eml.ecm.search.util.SearchResourceBundle"/>
        </data>
      </provider>
  </dataScope>

 </baja:head>
    <!-- special handler to load help topic -->
   <handlers>
    <event name="null">
      <method class="oracle.sysman.eml.ecm.OnlineHelp"
              method="loadSearchHelpTopic"/>
    </event>
   </handlers>

 <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin">
  <dataScope>
   <contents>
    <script>
     <contents>
      // clear out the previous selections
      function clearParams()
      {
       with(document.searchConfigOnHosts)
       {
        hostNameText.value = "";
        nameText.value = "";
        inetAddrText.value = "";
        maxTransferText.value = "";
        broadcastAddrText.value = "";
        maskText.value = "";
        flagsText.value = "";
        MACAddrText.value = "";
        groupMembershipText.value = "";
       }
      }
     </contents>
    </script>
    <form name="searchConfigOnHosts" >
     <contents>
      <formValue name="blockStart" uix:value="blockStart@patchList"/>
      <formValue name="anchor" uix:value="anchor@patchList"/>
      <pageLayout xmlns="http://bali.us.oracle.com/cabo/marlin"
             uix:title="TITLE_SEARCHCONFIGONHOSTS@ResourceBundle">
 
       <mediumAdvertisement>
        <include baja:node="../../oemBanner" />
       </mediumAdvertisement>
       <marlin:globalButtons>
        <include baja:node="../../globalButtonBar" />
       </marlin:globalButtons>
       <marlin:tabs>
        <include baja:node="../../globalTabs" />
       </marlin:tabs>
       <marlin:location>
        <include baja:node="../../breadCrumbs" />
       </marlin:location>
       <marlin:pageHeader>
        <include baja:node="../../globalHeader" />
       </marlin:pageHeader>
       <copyright>
        <include baja:node="../../copyright" />
       </copyright>

       <pageButtons>
        <pageButtonBar>
        <contents>
            <submitButton name="event"
                          value="doSQLSearch"
                          uix:text="BTN_SEARCHSQL@ResourceBundle"/>
        </contents>
        </pageButtonBar>
       </pageButtons>

       <contents>
        <messageBox automatic="true" />
         <!-- make sure valid patch data -->
         <switcher uix:childName="status@searchList" childName="success">
          <case name="failure">
           <messageBox automatic="false"
                       uix:text="errHdr@searchList"
                       uix:message="errMsg@searchList"
                       messageType="error" />
          </case>
          <case name="success">
           <stackLayout>
            <contents>
            <include baja:node="../../targetTime" />

              <header uix:text="HDR_SEARCHCRITERIA@ResourceBundle">
               <contents>
                <tableLayout width="65%" align="center">
                 <contents>

                  <rowLayout>
                   <contents>
                    <rowLayout hAlign="right">
                    <contents>
                    <cellFormat wrappingDisabled="true">
                     <contents>
                     <spacer width="10"/>
                     <styledText labeledNodeId="hostNameID" styleClass="OraPromptText" uix:text="LBL_HOSTNAME@ResourceBundle"/>
                     </contents>
                     </cellFormat>
                    </contents>
                   </rowLayout>
                   <rowLayout hAlign="right">
                    <contents>
                     <spacer width="10"/>
                     <choice name="hostNameQuery"
                             id ="hostNameID"                
                             uix:selectedValue="hostNameQuery@searchData">
                      <contents >
                        <option uix:text="OPT_CONTAINS@ResourceBundle"
                                value="OPT_CONTAINS"/>
                        <option uix:text="OPT_EXACT@ResourceBundle"
                                value="OPT_EXACT"/>
                        <option uix:text="OPT_NOTEXACT@ResourceBundle"
                                value="OPT_NOTEXACT"/>
                        <option uix:text="OPT_NOTCONTAINS@ResourceBundle"
                                value="OPT_NOTCONTAINS"/>
                      </contents>
                    </choice>
                   </contents>
                  </rowLayout>
                  <rowLayout hAlign="left">
                   <contents>
                    <spacer width="20"/>
                    <textInput required="no"
                               name="hostNameText"
                               id="hostNameID"                
                               uix:text="hostNameText@searchData"
                               columns="20"/>
                   </contents>
                  </rowLayout>
                 </contents>
                </rowLayout>

                  <rowLayout vAlign="top">
                   <contents>
                    <rowLayout hAlign="right">
                    <contents>
                    <cellFormat wrappingDisabled="true">
                     <contents>
                     <spacer width="10"/>
                     <styledText labeledNodeId="groupMembershipID" styleClass="OraPromptText" uix:text="LBL_GROUPNAME@ResourceBundle"/>
                     </contents>
                     </cellFormat>
                    </contents>
                   </rowLayout>
                   <rowLayout hAlign="right">
                    <contents>
                     <spacer width="10"/>
                     <choice name="groupMembershipQuery"
                             id="groupMembershipID"
                             uix:selectedValue="groupMembershipQuery@searchData">
                      <contents>
                        <option uix:text="OPT_CONTAINS@ResourceBundle"
                                value="OPT_CONTAINS"/>
                        <option uix:text="OPT_EXACT@ResourceBundle"
                                value="OPT_EXACT"/>
                        <option uix:text="OPT_NOTEXACT@ResourceBundle"
                                value="OPT_NOTEXACT"/>
                        <option uix:text="OPT_NOTCONTAINS@ResourceBundle"
                                value="OPT_NOTCONTAINS"/>
                      </contents>
                    </choice>
                   </contents>
                  </rowLayout>
                  <rowLayout hAlign="left">
                   <contents>
                    <spacer width="18"/>
                    <messageTextInput required="no" uix:tip="LBL_HOSTGROUPHINT@ResourceBundle"
                               name="groupMembershipText"
                               id="groupMembershipID"
                               uix:text="groupMembershipText@searchData"
                               columns="20"/>
                   </contents>
                  </rowLayout>
                 </contents>
                </rowLayout>

                  <rowLayout>
                   <contents>
                    <rowLayout hAlign="right">
                    <contents>
                    <cellFormat wrappingDisabled="true">
                     <contents>
                     <spacer width="10"/>
                     <styledText labeledNodeId="nameID" styleClass="OraPromptText" uix:text="LBL_NICNAME@ResourceBundle"/>
                     </contents>
                     </cellFormat>
                    </contents>
                   </rowLayout>
                   <rowLayout hAlign="right">
                    <contents>
                     <spacer width="10"/>
                     <choice name="nameQuery"
                             id="nameID"
                             uix:selectedValue="nameQuery@searchData">
                      <contents >
                        <option uix:text="OPT_CONTAINS@ResourceBundle"
                                value="OPT_CONTAINS"/>
                        <option uix:text="OPT_EXACT@ResourceBundle"
                                value="OPT_EXACT"/>
                        <option uix:text="OPT_NOTEXACT@ResourceBundle"
                                value="OPT_NOTEXACT"/>
                        <option uix:text="OPT_NOTCONTAINS@ResourceBundle"
                                value="OPT_NOTCONTAINS"/>
                      </contents>
                    </choice>
                   </contents>
                  </rowLayout>
                  <rowLayout hAlign="left">
                   <contents>
                    <spacer width="20"/>
                    <textInput required="no"
                               name="nameText"
                               id="nameID"
                               uix:text="nameText@searchData"
                               columns="20"/>
                   </contents>
                  </rowLayout>
                 </contents>
                </rowLayout>

                  <rowLayout>
                   <contents>
                    <rowLayout hAlign="right">
                    <contents>
                    <cellFormat wrappingDisabled="true">
                     <contents>
                     <spacer width="10"/>
                     <styledText labeledNodeId="inetAddrID" styleClass="OraPromptText" uix:text="LBL_INETADDR@ResourceBundle"/>
                     </contents>
                     </cellFormat>
                    </contents>
                   </rowLayout>
                   <rowLayout hAlign="right">
                    <contents>
                     <spacer width="10"/>
                     <choice name="inetAddrQuery"
                             id="inetAddrID"
                             uix:selectedValue="inetAddrQuery@searchData">
                      <contents >
                        <option uix:text="OPT_CONTAINS@ResourceBundle"
                                value="OPT_CONTAINS"/>
                        <option uix:text="OPT_EXACT@ResourceBundle"
                                value="OPT_EXACT"/>
                        <option uix:text="OPT_NOTEXACT@ResourceBundle"
                                value="OPT_NOTEXACT"/>
                        <option uix:text="OPT_NOTCONTAINS@ResourceBundle"
                                value="OPT_NOTCONTAINS"/>
                      </contents>
                    </choice>
                   </contents>
                  </rowLayout>
                  <rowLayout hAlign="left">
                   <contents>
                    <spacer width="20"/>
                    <textInput required="no"
                               name="inetAddrText"
                               id="inetAddrID"
                               uix:text="inetAddrText@searchData"
                               columns="20"/>
                   </contents>
                  </rowLayout>
                 </contents>
                </rowLayout>

                  <rowLayout>
                   <contents>
                    <rowLayout hAlign="right">
                    <contents>
                    <cellFormat>
                     <contents>
                     <spacer width="10"/>
                     <styledText labeledNodeId="maxTransferID" styleClass="OraPromptText" uix:text="LBL_MAXTRANSFERUNIT@ResourceBundle"/>
                     </contents>
                     </cellFormat>
                    </contents>
                   </rowLayout>
                   <rowLayout hAlign="right">
                    <contents>
                     <spacer width="10"/>
                     <choice name="maxTransferQuery"
                             id="maxTransferID"
                             uix:selectedValue="maxTransferQuery@searchData">
                      <contents >
                            <option value="OPT_LT" 
                                    uix:text="OPT_LT@ResourceBundle"/>
                            <option value="OPT_LTE" 
                                    uix:text="OPT_LTE@ResourceBundle"/>
                            <option value="OPT_GT" 
                                    uix:text="OPT_GT@ResourceBundle"/>
                            <option value="OPT_GTE" 
                                    uix:text="OPT_GTE@ResourceBundle"/>
                             <option value="OPT_EQ" 
                                    uix:text="OPT_EQ@ResourceBundle"/>
                            <option value="OPT_NE" 
                                    uix:text="OPT_NE@ResourceBundle"/>
                      </contents>
                     </choice>
                    </contents>
                   </rowLayout>
                  <rowLayout hAlign="left">
                   <contents>
                    <spacer width="20"/>
                    <textInput required="no"
                               name="maxTransferText"
                               id="maxTransferID"
                               uix:text="maxTransferText@searchData"
                               columns="20"/>
                   </contents>
                  </rowLayout>
                 </contents>
                </rowLayout>


                <rowLayout>
                   <contents>
                    <rowLayout hAlign="right">
                    <contents>
                    <cellFormat wrappingDisabled="true">
                     <contents>
                     <spacer width="10"/>
                     <styledText labeledNodeId="broadcastAddrID" styleClass="OraPromptText" uix:text="LBL_BROADCASTADDR@ResourceBundle"/>
                     </contents>
                     </cellFormat>
                    </contents>
                   </rowLayout>
                   <rowLayout hAlign="right">
                    <contents>
                     <spacer width="10"/>
                     <choice name="broadcastAddrQuery"
                             id="broadcastAddrID"
                             uix:selectedValue="broadcastAddrQuery@searchData">
                      <contents >
                        <option uix:text="OPT_CONTAINS@ResourceBundle"
                                value="OPT_CONTAINS"/>
                        <option uix:text="OPT_EXACT@ResourceBundle"
                                value="OPT_EXACT"/>
                        <option uix:text="OPT_NOTEXACT@ResourceBundle"
                                value="OPT_NOTEXACT"/>
                        <option uix:text="OPT_NOTCONTAINS@ResourceBundle"
                                value="OPT_NOTCONTAINS"/>
                      </contents>
                    </choice>
                   </contents>
                  </rowLayout>
                  <rowLayout hAlign="left">
                   <contents>
                    <spacer width="20"/>
                    <textInput required="no"
                               name="broadcastAddrText"
                               id="broadcastAddrID"
                               uix:text="broadcastAddrText@searchData"
                               columns="20"/>
                   </contents>
                  </rowLayout>
                 </contents>
                </rowLayout>


          <rowLayout>
                   <contents>
                    <rowLayout hAlign="right">
                    <contents>
                    <cellFormat wrappingDisabled="true">
                     <contents>
                     <spacer width="10"/>
                     <styledText labeledNodeId="maskID" styleClass="OraPromptText" uix:text="LBL_MASK@ResourceBundle"/>
                     </contents>
                     </cellFormat>
                    </contents>
                   </rowLayout>
                   <rowLayout hAlign="right">
                    <contents>
                     <spacer width="10"/>
                     <choice name="maskQuery"
                             id="maskID"
                             uix:selectedValue="maskQuery@searchData">
                      <contents >
                        <option uix:text="OPT_CONTAINS@ResourceBundle"
                                value="OPT_CONTAINS"/>
                        <option uix:text="OPT_EXACT@ResourceBundle"
                                value="OPT_EXACT"/>
                        <option uix:text="OPT_NOTEXACT@ResourceBundle"
                                value="OPT_NOTEXACT"/>
                        <option uix:text="OPT_NOTCONTAINS@ResourceBundle"
                                value="OPT_NOTCONTAINS"/>
                      </contents>
                    </choice>
                   </contents>
                  </rowLayout>
                  <rowLayout hAlign="left">
                   <contents>
                    <spacer width="20"/>
                    <textInput required="no"
                               name="maskText"
                               id="maskID"
                               uix:text="maskText@searchData"
                               columns="20"/>
                   </contents>
                  </rowLayout>
                 </contents>
                </rowLayout>


          <rowLayout>
                   <contents>
                    <rowLayout hAlign="right">
                    <contents>
                    <cellFormat wrappingDisabled="true">
                     <contents>
                     <spacer width="10"/>
                     <styledText labeledNodeId="flagsID" styleClass="OraPromptText" uix:text="LBL_FLAGS@ResourceBundle"/>
                     </contents>
                     </cellFormat>
                    </contents>
                   </rowLayout>
                   <rowLayout hAlign="right">
                    <contents>
                     <spacer width="10"/>
                     <choice name="flagsQuery"
                             id="flagsID"
                             uix:selectedValue="flagsQuery@searchData">
                      <contents >
                        <option uix:text="OPT_CONTAINS@ResourceBundle"
                                value="OPT_CONTAINS"/>
                        <option uix:text="OPT_EXACT@ResourceBundle"
                                value="OPT_EXACT"/>
                        <option uix:text="OPT_NOTEXACT@ResourceBundle"
                                value="OPT_NOTEXACT"/>
                        <option uix:text="OPT_NOTCONTAINS@ResourceBundle"
                                value="OPT_NOTCONTAINS"/>
                      </contents>
                    </choice>
                   </contents>
                  </rowLayout>
                  <rowLayout hAlign="left">
                   <contents>
                    <spacer width="20"/>
                    <textInput required="no"
                               name="flagsText"
                               id="flagsID"
                               uix:text="flagsText@searchData"
                               columns="20"/>
                   </contents>
                  </rowLayout>
                 </contents>
                </rowLayout>


          <rowLayout>
                   <contents>
                    <rowLayout hAlign="right">
                    <contents>
                    <cellFormat wrappingDisabled="true">
                     <contents>
                     <spacer width="10"/>
                     <styledText labeledNodeId="MACAddrID" styleClass="OraPromptText" uix:text="LBL_MACADDR@ResourceBundle"/>
                     </contents>
                     </cellFormat>
                    </contents>
                   </rowLayout>
                   <rowLayout hAlign="right">
                    <contents>
                     <spacer width="10"/>
                     <choice name="MACAddrQuery"
                             id="MACAddrID"
                             uix:selectedValue="MACAddrQuery@searchData">
                      <contents >
                        <option uix:text="OPT_CONTAINS@ResourceBundle"
                                value="OPT_CONTAINS"/>
                        <option uix:text="OPT_EXACT@ResourceBundle"
                                value="OPT_EXACT"/>
                        <option uix:text="OPT_NOTEXACT@ResourceBundle"
                                value="OPT_NOTEXACT"/>
                        <option uix:text="OPT_NOTCONTAINS@ResourceBundle"
                                value="OPT_NOTCONTAINS"/>
                      </contents>
                    </choice>
                   </contents>
                  </rowLayout>
                  <rowLayout hAlign="left">
                   <contents>
                    <spacer width="20"/>
                    <textInput required="no"
                               name="MACAddrText"
                               id="MACAddrID"
                               uix:text="MACAddrText@searchData"
                               columns="20"/>
                   </contents>
                  </rowLayout>
                 </contents>
                </rowLayout>

                </contents>
               </tableLayout>
              </contents>
             </header>
             <tableLayout width="45%" >
              <contents>
               <spacer height="5"/>
               <rowLayout hAlign="right">
                <contents>
                 <cellFormat wrappingDisabled="true">
                  <contents>
                   <submitButton name="event"
                                 value="doSearch"
                                 uix:text="BTN_SEARCH@ResourceBundle"/>
                   <spacer width="8"/>
                   <button uix:text="BTN_CLEAR@ResourceBundle"
                           onClick="clearParams();" />
                   <spacer width="8"/>
                  </contents>
                 </cellFormat>
                </contents>
               </rowLayout>
              </contents>
             </tableLayout>
             <header uix:text="HDR_RESULTS@ResourceBundle">
              <contents>

                <rowLayout hAlign="right">
                    <contents>
                     <button uix:text="BTN_SAVETOFILE@ResourceBundle"
                        destination="export/exportSearch$searchType=NICConfigurationsOnHosts"/>
                    </contents>
                  </rowLayout>
                  <html:br></html:br>
                  <spacer height="5"/>

               <table name="resultsTable"
                      width="100%"
                      formSubmitted="true"
                      minValue="1"
                      uix:value="value@searchList"
                      uix:maxValue="maxValue@searchList"
                      uix:blockSize="blockSize@searchList"
                      uix:alternateText="MSG_PRESSSEARCH@ResourceBundle"
                      uix:tableData="tabledata@searchList">
                <tableFormat tableBanding="rowBanding"/>

                <columnHeaderStamp>
                 <sortableHeader data:text="text"
                                uix:value="value"
                                uix:sortable="sort">
                   <boundAttribute name="sortable">
                    <defaulting>
                        <dataObject data:source="(value)@sortColumnHeader"/>
                        <dataObject select="sort"/>
                    </defaulting>
                   </boundAttribute>
                 </sortableHeader>
                </columnHeaderStamp>

                <columnHeaderData>
                 <col id="hdrhostname"  uix:text="LBL_HOSTNAME@ResourceBundle"        uix:sort="SORT_HOSTNAME@searchList"         value="LBL_HOSTNAME"/>
                 <col id="hdrnicname"   uix:text="LBL_NICNAME@ResourceBundle"          uix:sort="SORT_NICNAME@searchList"         value="LBL_NICNAME"/>
                 <col id="hdrinetaddr"  uix:text="LBL_INETADDR@ResourceBundle"         uix:sort="SORT_INETADDR@searchList"        value="LBL_INETADDR"/>
                 <col id="hdrmaxtrn"    uix:text="LBL_MAXTRANSFERUNIT@ResourceBundle" uix:sort="SORT_MAXTRANSFERUNIT@searchList"  value="LBL_MAXTRANSFERUNIT"/>
                 <col id="hdrbrdcst"    uix:text="LBL_BROADCASTADDR@ResourceBundle"   uix:sort="SORT_BROADCASTADDR@searchList"    value="LBL_BROADCASTADDR"/>
                 <col id="hdrmask"      uix:text="LBL_MASK@ResourceBundle"            uix:sort="SORT_MASK@searchList"             value="LBL_MASK"/>
                 <col id="hdrflags"     uix:text="LBL_FLAGS@ResourceBundle"           uix:sort="SORT_FLAGS@searchList"            value="LBL_FLAGS"/>
                 <col id="hdrmacadr"    uix:text="LBL_MACADDR@ResourceBundle"         uix:sort="SORT_MACADDR@searchList"          value="LBL_MACADDR"/>
                </columnHeaderData>

                <columnFormats>
                    <columnFormat columnDataFormat="textFormat"/>
                    <columnFormat columnDataFormat="textFormat"/>
                    <columnFormat columnDataFormat="textFormat"/>
                    <columnFormat columnDataFormat="numberFormat"/>
                </columnFormats>
                
                <contents>
                 <link       headers="hdrhostname" uix:text="LBL_HOSTNAME"
                       uix:destination="LBL_HOSTNAME^"/>
                 <styledText headers="hdrnicname"  uix:text="LBL_NICNAME"/>
                 <styledText headers="hdrinetaddr" uix:text="LBL_INETADDR"/>
                 <styledText headers="hdrmaxtrn"   uix:text="LBL_MAXTRANSFERUNIT"/>
                 <styledText headers="hdrbrdcst"   uix:text="LBL_BROADCASTADDR"/>
                 <styledText headers="hdrmask"     uix:text="LBL_MASK"/>
                 <styledText headers="hdrflags"    uix:text="LBL_FLAGS"/>
                 <styledText headers="hdrmacadr"   uix:text="LBL_MACADDR"/>
                </contents>
               </table>
              </contents>
             </header>
          </contents>
         </stackLayout>
        </case>
       </switcher>
      </contents>
     </pageLayout>
    </contents>
   </form>
  </contents>
  <provider>
   <data name="searchCallbackText">
    <inline innerQuery="select n.host_name as LBL_HOSTNAME, n.name as LBL_NICNAME, n.inet_address as LBL_INETADDR, n.max_transfer_unit as LBL_MAXTRANSFERUNIT, n.broadcast_address as LBL_BROADCASTADDR, n.mask as LBL_MASK, n.flags as LBL_FLAGS, n.mac_address as LBL_MACADDR from mgmt$hw_nic n"
            distinct="true" />
   </data>
    <data name="columnListInfo">
     <inline>
      <column displayName="LBL_HOSTNAME"
              destLink="monitoring/hostOverview$target=LBL_HOSTNAME$ctxType=All Targets$type=host?event=doLoad"
              filterOp="hostNameQuery"
              filterVal="hostNameText"/>
       <column displayName="LBL_NICNAME"
              filterOp="nameQuery"
              filterVal="nameText"/>
       <column displayName="LBL_INETADDR"
              filterOp="inetAddrQuery"
              filterVal="inetAddrText"/>
       <column displayName="LBL_MAXTRANSFERUNIT"
              filterOp="maxTransferQuery"
              filterVal="maxTransferText"/>
       <column displayName="LBL_BROADCASTADDR"
              filterOp="broadcastAddrQuery"
              filterVal="broadcastAddrText"/>
       <column displayName="LBL_MASK"
              filterOp="maskQuery"
              filterVal="maskText"/>
       <column displayName="LBL_FLAGS"
              filterOp="flagsQuery"
              filterVal="flagsText"/>
       <column displayName="LBL_MACADDR"
              filterOp="MACAddrQuery"
              filterVal="MACAddrText"/>
      <column displayName="LBL_GROUPNAME"
              selectColumn="false"
              filterOp="groupMembershipQuery"
              filterVal="groupMembershipText"
              OPT_CONTAINS="membershipContainsOperator"
              OPT_NOTCONTAINS="membershipNotContainsOperator"
              OPT_EXACT="membershipExactOperator"
              OPT_NOTEXACT="membershipNotExactOperator"/>
     </inline>
    </data>
    <data name="predicateOperatorOverrides">
      <inline>
        <condition name="membershipContainsOperator"
                   predicate="exists (select * from mgmt$group_flat_memberships where disjunction and member_target_name = LBL_HOSTNAME and member_target_type = 'host')"
                   disjunction="NLS_UPPER( composite_target_name ) like NLS_UPPER( '%filterVal%' )  {escape '#'} " />
        <condition name="membershipNotContainsOperator"
                   predicate="not exists (select * from mgmt$group_flat_memberships where disjunction and member_target_name = LBL_HOSTNAME and member_target_type = 'host' )"
                   disjunction="NLS_UPPER( composite_target_name ) like NLS_UPPER( '%filterVal%' ) {escape '#'} " />
        <condition name="membershipExactOperator"
                   predicate="exists (select * from mgmt$group_flat_memberships where disjunction and member_target_name = LBL_HOSTNAME and member_target_type = 'host')"
                   disjunction="composite_target_name = 'filterVal'" />
        <condition name="membershipNotExactOperator"
                   predicate="not exists (select * from mgmt$group_flat_memberships where disjunction and member_target_name = LBL_HOSTNAME and member_target_type = 'host')"
                   disjunction="composite_target_name = 'filterVal'" />
      </inline>
    </data>
    <data name="ResourceBundle">
     <bundle class = "oracle.sysman.eml.ecm.search.util.SearchResourceBundle"/>
    </data>
    <data name="searchData">
     <method class="oracle.sysman.eml.ecm.search.SearchData"
             method="populateSearchData"/>
    </data>
    <data xmlns="http://bali.us.oracle.com/cabo/marlin" name="searchList">
     <method class="oracle.sysman.eml.ecm.search.SearchData"
             method="populateResultsTable"/>
    </data>
   <data name="sortColumnHeader">
     <method class="oracle.sysman.eml.ecm.search.SearchData"
             method="getSortColumnHeader"/>
    </data>


   </provider>
  </dataScope>
 </baja:content>

 <handlers>

  <event name="sort">
   <method class="oracle.sysman.eml.ecm.search.SearchHandler"
           method="doSort"/>
  </event>
  <event name="doSearch">
   <method class="oracle.sysman.eml.ecm.search.SearchHandler"
           method="doSearch"/>
  </event>
  <event name="doSQLSearch">
   <method class="oracle.sysman.eml.ecm.search.SearchHandler"
           method="doSQLSearch"/>
  </event>

  <!-- This handles the next/prev buttons in the results table -->
  <event name="goto">
   <method class="oracle.sysman.eml.ecm.search.SearchHandler"
           method ="tableGoto"/>
  </event>
 </handlers>
</page>


