<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:content xmlns="http://bali.us.oracle.com/cabo/marlin">

    <dataScope>
      <contents>

        <html:title>
          <text marlin:text="browserTitle@testAvailableTargetTypes" />
        </html:title>

        <form name="notifRuleTargets" method="post" >
          <contents>

            <pageLayout> 
              
              <mediumAdvertisement>
                <include baja:node="../oemBanner" />
              </mediumAdvertisement>

              <globalButtons>
                <include baja:node="../globalButtonBar" />
              </globalButtons>

              <tabs>
                <include baja:node ="../globalTabs" />
              </tabs>

   <location>
      <include baja:node="/breadCrumbs"/>
   </location>


              <pageHeader>
                <include baja:node="header"/>
              </pageHeader>

              <copyright>
               <include baja:node="../copyright" />
              </copyright>

              <contents>
            
                <!--  1st page - notification rule's basic information -->
                <spacer height="30"/>
                <header data:text="createEditHeader@testAvailableTargetTypes" />
                  <stackLayout>
                    <contents>
                
                     <tableLayout cellSpacing="10" width="100%">
                       <contents>                      
                         <rowLayout hAlign="right">
                           <contents>
                             <flowLayout>
                               <contents>
                                 <resetButton text="Revert" />
                                 <button text="Apply"/>
                               </contents>
                             </flowLayout>                                                
                           </contents>
                         </rowLayout>
                       </contents>
                     </tableLayout>

                     <subTabLayout>
                       <subTabs>
                         <subTabBar selectedIndex="1">
                          <contents>
                           <link text="Properties"
                                 destination="testCreateNr" />
                           <link text="Targets"
                                 destination="testTargets" />
                           <link text="Metrics"
                                 destination="testMetrics" />
                           <link text="Actions"
                                 destination="testActions" />
                          </contents>
                         </subTabBar>
                       </subTabs>
                       <contents>
                         <stackLayout>
                           <contents>
                             <spacer height="10"/>
                             <styledText text="Select the Host targets for which you would like to receive notifications."
                                         styleClass="OraInstructionText"/>
                             <spacer height="10"/>

                             <inlineMessage 
                                            marlin:messageType="targetsMsgType@testAvailableTargetTypes"
                                            marlin:anchor="targetsAnchor@testAvailableTargetTypes"
                                            marlin:message="targetsInlineMsg@testAvailableTargetTypes">
                               <contents>                                   
                                 <shuttle name="selectTarget" 
                                          data:leadingHeader="availableTargetsHeader@testAvailableTargetTypes"
                                          trailingHeader="Selected Targets" 
                                          reorderable="false"
                                          size="10">
                                   <leading>
                                     <list multiple="true">
                                       <contents marlin:childData="rowitem@testAvailableTargetTypes">
                                         <option marlin:text="available"/>
                                       </contents>
                                     </list>
                                   </leading>
                                   <trailing>
                                     <list multiple="true">
                                       <contents marlin:childData="selectedrowitem@testAvailableTargetTypes">
                                         <option marlin:text="selected"/>
                                       </contents>
                                     </list>
                                   </trailing>
                                 </shuttle>
                               </contents>
                             </inlineMessage>

                             <spacer height="10"/>

                           </contents>
                         </stackLayout>
                       </contents>
                     </subTabLayout>

                     <tableLayout cellSpacing="10" width="100%">
                       <contents>                      
                         <rowLayout hAlign="right">
                           <contents>
                             <flowLayout>
                               <contents>
                                 <resetButton text="Revert" />
                                 <button text="Apply"/>
                               </contents>
                             </flowLayout>                                                
                           </contents>
                         </rowLayout>
                       </contents>
                     </tableLayout>

                    </contents>
                  </stackLayout>

              </contents>         
            </pageLayout>
          </contents>
        </form> 
      </contents>

      <provider>
        <data name="testAvailableTargetTypes">
          <method class="oracle.sysman.eml.pref.TestFaintTabs"
                  method="testGetTargetsDetailData" />
        </data>         
      </provider>
    </dataScope>

  </baja:content>

  <handlers> 
  </handlers>
    
</page>

