<page xmlns="http://bali.us.oracle.com/cabo/baja" 
      xmlns:baja="http://bali.us.oracle.com/cabo/baja"
      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 data:text="title@downloadEmdData" />
        </html:title>

        <form name="downloadEmdForm" 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>


              <contentFooter>
                <tableLayout width="100%">
                  <contents>
                    <rowLayout>
                      <contents>
                        <cellFormat hAlign="left">
                          <contents>
                            <styledText data:text="RETURN_TO_AGENTS_PAGE_MSG@ResourceBundle"
                                        data:destination="returnUrl@downloadEmdData"/>
                          </contents>
                        </cellFormat>
                        <cellFormat hAlign="right">
                          <contents>
                            <button data:text="BACK_BUTTON@ResourceBundle" 
                                    data:destination="backButtonUrl@downloadEmdData"/>
                          </contents>
                        </cellFormat>
                      </contents>
                    </rowLayout>
                  </contents>
                </tableLayout>
              </contentFooter>

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

              <contents>  <!-- pageLayout contents... -->
                <stackLayout>
                  <contents>
                    <header data:text="DOWNLOAD_AGENT_HEADER@ResourceBundle" width="100%"/>
                    <tableLayout width="100%">
                      <boundAttribute name="rendered">
                        <not>
                          <dataObject select="errorOccurred" source="downloadEmdData"/>
                        </not>
                      </boundAttribute>
                      <contents>
                        <rowLayout>
                          <contents>
                            <cellFormat hAlign="left" width="95%">
                              <contents>
                                <styledText data:text="DOWNLOAD_AGENT_DESC@ResourceBundle"
                                            styleClass="OraInstructionText"/>
                              </contents>
                            </cellFormat>
                          </contents>
                        </rowLayout>
                      </contents>
                    </tableLayout>
                  
                    <tableLayout cellSpacing="10" width="100%">
                      <contents>

                        <rowLayout rendered="false"
                                   data:rendered="errorOccurred@downloadEmdData"
                                   vAlign="top">
                          <contents>
                            <cellFormat vAlign="top">
                              <contents>
                                <messageBox data:text="INSUFFICIENT_DATA_MSG@ResourceBundle"
                                            data:message="DOWNLOAD_AGENT_ERR_MSG@ResourceBundle" 
                                            messageType="error">
                                </messageBox>                                        
                              </contents>
                            </cellFormat>
                          </contents>
                        </rowLayout>

                      </contents>
                    </tableLayout>
    
                    <spacer height="5"/>
                    
                    <tableLayout cellSpacing="5" width="100%">
                      <boundAttribute name="rendered">
                        <not>
                          <dataObject select="errorOccurred" source="downloadEmdData"/>
                        </not>
                      </boundAttribute>
                      <contents>
                        <rowLayout vAlign="top">
                          <contents>
                            <cellFormat vAlign="top"
                                        hAlign="left">
                              <contents>                          
                                <styledText data:text="DOWNLOAD_AGENT_INSTR_TEXT@ResourceBundle"
                                            styleClass="OraInstructionText"/>
                              </contents>
                            </cellFormat>
                          </contents>
                        </rowLayout>
                        <rowLayout vAlign="top">
                          <contents>
                            <cellFormat vAlign="top"
                                        hAlign="left">
                              <contents>                          
                                <bulletedList>
                                  <contents>
                                    <flowLayout>
                                      <contents>
                                        <styledText data:text="DOWNLOAD_INSTR_MSG_1_P1@ResourceBundle"
                                                    styleClass="OraInstructionText"/>
                                        <styledText data:text="DOWNLOAD_INSTR_MSG_1_P2@ResourceBundle"
                                                    data:destination="downloadEmdUrl@downloadEmdData"/>
                                      </contents>
                                    </flowLayout>
                                    <styledText data:text="DOWNLOAD_INSTR_MSG_2@ResourceBundle"
                                                styleClass="OraInstructionText"/>
                                    <styledText data:text="DOWNLOAD_INSTR_MSG_3@ResourceBundle"
                                                styleClass="OraInstructionText"/>
                                    <flowLayout>
                                      <contents>
                                        <styledText data:text="DOWNLOAD_INSTR_MSG_4_P1@ResourceBundle"
                                                    styleClass="OraInstructionText"/>
                                        <styledText data:text="DOWNLOAD_INSTR_MSG_4_P2@ResourceBundle"
                                                    data:destination="configureEmdUrl@downloadEmdData"/>
                                        <styledText data:text="DOWNLOAD_INSTR_MSG_4_P3@ResourceBundle"
                                                    styleClass="OraInstructionText"/>
                                      </contents>
                                    </flowLayout>
                                  </contents>
                                </bulletedList>
                              </contents>
                            </cellFormat>
                          </contents>
                        </rowLayout>
                      </contents>
                    </tableLayout>

                  </contents>
                </stackLayout> 
              </contents>
            </pageLayout>

          </contents>
        </form> 

      </contents>
      
      <!-- Data Providers -->
      <provider>
        <data name="downloadEmdData">
          <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData" 
                  method="getDownloadEmdData"/>
        </data>
        <data name="ResourceBundle">
          <bundle class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigResourceBundle"/>
        </data>
      </provider>

    </dataScope>
  </baja:content>
  <baja:handlers>
<!--
    <event name="Apply">
      <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigEvents" 
              method="getDownloadEmdLinksData"/>
    </event>  
-->
  </baja:handlers>
</page>

