ADF Facesのhtml、headおよびbodyタグについて

ADF Facesのhtmlheadおよびbodyタグは、標準HTMLのpage要素である<html><head>および<body>をそれぞれ生成します。ADF FacesタグとHTML要素の違いは、次のとおりです。

ADF Facesのdocumentタグは、標準HTMLのpage要素である<html><head>および<body>も作成します。たとえば、次の各コード・スニペットの出力は同じになります。

サンプル1: ADF Facesのhtmlheadおよびbodyタグの使用

<f:view>
  <afh:html>
    <afh:head title="untitled1">
      <meta http-equiv="Content-Type"
            content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
      <af:form>
        <h:commandButton value="commandButton1"/>
        <af:commandButton text="commandButton2"/>
      </af:form>
    </afh:body>
  </afh:html>
</f:view>    

サンプル2: ADF Facesのdocumentタグの使用(HTMLおよび非HTMLページで使用可能)

<f:view>
  <af:document title="Title 1">
    <af:form>
      <h:commandButton value="commandButton1"/>
      <af:commandButton text="commandButton2"/>
    </af:form>
    <f:facet name="metaContainer">
      <f:verbatim>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
        <title>any title</title>
      </f:verbatim>
    </f:facet>
  </af:document>
</f:view>    

ADF Facesドキュメント・タグについて
ページ内の部分ページ・レンダリング・ブロックについて
ADF Facesスタイルシート・コンポーネントについて
ADF Faces HTMLコンポーネントの概要