Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

OnPage メソッド

次に、OnPage メソッドのコンテンツを以下のとおり変更します。

ClassMethod OnPage() As %Status
{
    &html<<html>
    <head>
    </head>
    <body bgcolor="#FFEEEE">>

    // invoke Showmenu to display the menu
    Do ..ShowMenu("/xml/menu.xml")

    &html<</body>
    </html>>
    Quit $$$OK
}
Note:

XML メニュー・ドキュメントのパス名は /xml/menu.xml にハード・コードしていました。XML メニュー・ドキュメントを格納した場所と一致するパスを使用するようにしてください。

FeedbackOpens in a new tab