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?

要約 — CSP タグの使用

次の章に進む前に、TopPicks と ShowTimes ページのリンクについて復習しましょう。

  • TopPicks ページ上の各映画にアンカー・タグ (<a>) を追加し、ユーザが ShowTimes アイコンをクリックすると、ShowTimes ページが表示されるようにしました。URLは、ページ名に加えて、フィルムのオブジェクト ID の名前と値の組み合わせを含みます。 generated description: smallbacktriangle.gif

  • csp:class タグの暗号化属性を 1 に設定したので、ShowTimes ページへのどの参照にも、暗号化された URL を使用します。 generated description: smallbacktriangle.gif

  • Request オブジェクトから獲得されるオブジェクト ID を渡す ShowTimes ページでは、それを Cinema.ShowOpens in a new tab クラスに対して定義したクエリに渡しました。 generated description: smallbacktriangle.gif

  • そのクエリは選択した映画の上映時間情報を検索し、表示します。 generated description: smallbacktriangle.gif

FeedbackOpens in a new tab