UIX XMLページ構造について

UIX XMLページは、ネームスペース対応のXML文書であり、ADF UIXユーザー・インタフェースのページ・レイアウト、データソース、イベントをUIX XML(XML言語の1つ)で指定します。UIX XMLのユーザー・インタフェース・ページを設計し、書式設定するには、UIX XML要素を操作する必要があります。各ページは、UIXページを表すUIX XML要素の階層ツリーで構成されます。

UIX XMLページすなわちUIX XMLファイルの拡張子は.uixです。UIX XMLページはすべてのXML文書と同様に、妥当な整形式であり、UIX XML要素セマンティックとXML構文の規則を表すスキーマに従う必要があります。

UIX XMLでのページおよびアプリケーション開発を容易にするには、「新規」ギャラリの「ADF UIX」カテゴリにあるウィザードを使用します。たとえば、UIX XMLで記述した空のUIXページは次のようになります。


Example of a UIX page written in UIX XML:

<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
      xmlns:ui="http://xmlns.oracle.com/uix/ui"
      xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
      xmlns:html="http://www.w3.org/TR/REC-html40"
      expressionLanguage="el">
  <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
      <provider>
        <!-- Add data sources here -->
      </provider>

      <contents>
        <!-- Start page content here -->
        <document>
          <metaContainer>
            <!-- Set the page title -->
            <head title=""/>
          </metaContainer>
          <contents>
            <body>
              <contents>
                <form name="form0">
                  <contents>
                    <pageLayout title="">

                      <!-- Main contents -->
                      <contents>
                        <!-- Define the content of the page here -->
                      </contents>

                      <!-- Navigation -->
                      <tabs/>
                      <globalButtons/>
                      <pageButtons/>
                      <pageHeader/>

                      <!-- Side sections -->
                      <start/>
                      <end/>

                      <!-- Footer sections -->
                      <about/>
                      <copyright/>
                      <privacy/>

                      <!-- Branding images -->
                      <corporateBranding/>
                      <productBranding/>
                    </pageLayout>
                  </contents>
                </form>
              </contents>
            </body>
          </contents>
        </document>
      </contents>
    </dataScope>
  </content>

  <handlers>
    <!-- Add event handlers here -->
  </handlers>

</page>    

注意:

UIX XMLテンプレート(UIT)ベースのUIX XMLページでは、次に示すようにファイルの先頭に要素を記述してテンプレートをインポートします。


Example of a UIX page based on a UIT written in UIX XML:

<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
      xmlns:ui="http://xmlns.oracle.com/uix/ui">
      xmlns:data="http://xmlns.oracle.com/uix/ui"
      xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
      xmlns:html="http://www.w3.org/TR/REC-html40"
      expressionLanguage="el"
      xmlns:myTemplate="http://www.demos.org/examples"
  <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="someBasicTemplate.uit"/>
  </templates>
  <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
      <provider/>
      <contents>
        <document>
          <metaContainer>
            <head title="Some title"/>
          </metaContainer>
          <contents>
            <body>
              <contents>
                <form name="form0">
                  <contents>
                    <myTemplate:demopage title="Some title">
                      <contents/>
                    </myTemplate:demopage>
                  </contents>
                </form>
              </contents>
            </body>
          </contents>
        </document>
      </contents>
    </dataScope>
  </content>
  <handlers/>
</page>    

ページの作成とUIX XMLページでのテンプレートの使用方法の詳細は、「ADF UIX開発者ガイド」を参照してください。


UIXページについて
UIXユーザー・インタフェース・コンポーネントについて
UIX名とネームスペースについて
UIX XML要素について
UITページ構造について

ADF UIXページの操作
Webアプリケーション設計ツールの使用

 

Copyright © 1997, 2004, Oracle. All rights reserved.