<?xml version = '1.0' encoding = 'UTF-8'?>
<page xmlns="http://bali.us.oracle.com/cabo/baja" 
      xmlns:baja="http://bali.us.oracle.com/cabo/baja" 
      xmlns:data="http://bali.us.oracle.com/cabo/marlin"
      xmlns:html="http://www.w3.org/TR/REC-html40">
  <baja:head xmlns="http://www.w3.org/TR/REC-html40" />
  <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin">
        <dataScope>
          <contents>
            <html:title>
              <text data:text="title@privileges"/>
            </html:title>
        <html:noScript>
          "This page uses JavaScript to perform the list of values lookup. Your browser either does not support JavaScript, or it is disabled.  Please enable JavaScript, or upgrade your browser."
        </html:noScript>

          </contents>
          <provider>
            <data name="privileges">
              <method class="oracle.sysman.eml.admin.rep.UserData" method="getUserTargetPrivs"/>
            </data>           
            <data name="selectedPrivilege">
              <method class="oracle.sysman.eml.admin.rep.UserData" method="getSelectedPrivilege"/>
            </data>
            <data name="ResourceBundle">
              <bundle class="oracle.sysman.eml.admin.rep.AdminResourceBundle"/>
            </data>
            <data name="commonBundle">
              <bundle class="oracle.sysman.resources.CommonResourceBundle"/>
            </data>		    
          </provider>
          <contents>
            <form name="editUser" method="POST">
              <contents>
                <pageLayout>
                  <mediumAdvertisement>
                    <include baja:node="../../oemBanner"/>
                  </mediumAdvertisement>
                  <globalButtons>
                    <include baja:node="../../globalButtonBar"/>
                  </globalButtons>
                  <data:tabs>
                    <include baja:node="../../globalTabs"/>
                  </data:tabs>
                  <pageHeader>
                    <include baja:node="header"/>
                  </pageHeader>
                  <location>
                    <include baja:node="adminSteps"/>
                  </location>
                  <contentFooter>
                    <include baja:node="buttonBar_0"/>
                  </contentFooter>
                  <copyright>
                    <include baja:node="../../copyright"/>
                  </copyright>
                  <contents>
                    <stackLayout>
                      <contents>
                        <header data:text="editHeader@privileges"/>
                        <tableLayout width="98%">
                          <contents>
                            <rowLayout hAlign="right">
                              <contents>
                                <cellFormat>
                                  <contents>
                                    <include baja:node="buttonBar_0"/>
                                  </contents>
                                </cellFormat>
                              </contents>
                            </rowLayout>
                          </contents>
                        </tableLayout>
                        <tableLayout width="98%">
                          <contents>
                            <rowLayout>
                              <contents>
                                <switcher data:childName="updateResult@privileges">
                                  <case name="updateFailed">
                                    <stackLayout>
                                      <contents>
                                        <inlineMessage
                                          messageType="error"
                                          data:message="errMsg@privileges">
                                        </inlineMessage>
                                        <spacer height="20"/>
                                      </contents>
                                    </stackLayout>
                                  </case>
                                </switcher>
                              </contents>
                            </rowLayout>
                          </contents>
                        </tableLayout>
                        <stackLayout>
                          <contents>
                            <stackLayout>
                              <contents>
                                <spacer height="5"/>
                                <styledText styleClass="OraInstructionText" data:text="TARGET_PRIVILEGES_DESCRIPTION@ResourceBundle"/>
                                <spacer height="10"/>
                                <include baja:node="targetPrivileges"/>
                              </contents>
                            </stackLayout>
                          </contents>
                        </stackLayout>
                      </contents>
                    </stackLayout>
                  </contents>
                </pageLayout>
              </contents>
            </form>
          </contents>
        </dataScope>
      </baja:content>
      <baja:handlers>
        <event name="null">
          <method class="oracle.sysman.eml.admin.rep.UserData" method="doNull"/>
        </event>
        <event name="finish">
          <method class="oracle.sysman.eml.admin.rep.UserData" method="finish"/>
        </event>
        <event name="goto">
          <method class="oracle.sysman.eml.admin.rep.UserData" method="doGoTo"/>
        </event>
        <event name="sort">
          <method class="oracle.sysman.eml.admin.rep.UserData" method="doSort"/>
        </event>
        <event name="batch">
          <method class="oracle.sysman.eml.admin.rep.UserData" method="doBatch"/>
        </event>
        <event name="batchAssign">
          <method class="oracle.sysman.eml.admin.rep.UserData" method="doBatch"/>
        </event>
        <event name="batchClear">
          <method class="oracle.sysman.eml.admin.rep.UserData" method="doBatch"/>
        </event>
      </baja:handlers>
    </page>

