Layout templates are packaged in special Jetspeed-specific and deployable portlet applications. Layout templates control the overall aggregation of a portal page. Layout templates are combined with portlets, providing a component model for aggregation. Jetspeed-2 comes out of the box with several layout components including one, two and three column layouts. See the Jetspeed-2 Layouts below for all available Layouts in the default Jetspeed-2 system. Of course you can define and derive your own layouts.
レイアウトのテンプレートは Jetspeed 特有で配備可能なポートレットアプリケーション内にパッケージされています。レイアウトテンプレートはポータルページの全体的な集約をコントロールします。レイアウトテンプレートは集約のためのコンポーネントモデルとして規定されているポートレットを組み合わせます。Jetspeed 2 は、標準で 1 列、2 列、3 列のレイアウトを含むいくつかのレイアウトコンポーネントを持っています。デフォルトの Jetspeed 2 システムで指定可能なレイアウトは後の Jetspeed-2 Layouts を参照してください。もちろん、自身のレイアウトを定義したり、派生させたりすることも可能です。
With regards to aggregation, layouts define how a single portal page is aggregated. A l ayout defines the fashion in which grouping of fragments will organized relative to the final, aggregated content of a request to the portal. Layouts are defined by a portlet which applies an algorithm to a template to generate the aggregated content of a page. Typical algorithms are two column, three column, nested.
集約に関して言うと、レイアウトはどのように一枚のポータルページが集約されるのかを定義します。レイアウトはフラグメントの配置が最終的にまとめられ、ポータルへのリクエストのコンテンツが集約される方法を定義します。レイアウトは、集約されたページのコンテンツを生成するためのテンプレートに関するアルゴリズムを適用したポートレットにより定義されます。典型的なアルゴリズムには 2 列のもの、3 列のもの、階層化されたものがあります。
A layout is made up of:
レイアウトは以下により構成されます。
Layouts are packaged as standard portlet applications. Layouts usual have a
レイアウトは標準的なポートレットアプリケーションとしてパッケージされます。レイアウトは通常
Operations Supported:
以下のようなオペレーションをサポートします。
Jetspeed-2 comes out of the box with several layout components including one, two and three column layouts. Of course you can define and derive your own layouts. The table below lists the available layout components in Jetspeed version 2.0. When customizing (editing) a page, the layout component is selected. One layout may be assigned per PSML page.
Jetspeed 2 は 1 列、2 列、3 列のレイアウトを含むいくつかのレイアウトコンポーネントを標準で含んでいます。もちろん、自身のレイアウトを定義したり、派生させたりすることも可能です。以下の表は Jetspeed 2.0 で利用可能なレイアウトコンポーネントのリストです。ページを編集したりカスタマイズする際には、レイアウトコンポーネントを選択します。PSML ページごとに 1 つのレイアウトを指定することが可能です。
Layout | Type | Columns | Sizes | Modes | Description |
---|---|---|---|---|---|
VelocityOneColumn | OneColumn | 1 | 100% | view,edit,help | A single column display of one or more fragments taking up 100% of the portlet display area. |
VelocityTwoColumns | TwoColumns | 2 | 50%,50% | view,edit,help | A two column display of one or more fragments where each column is allocated to 50% respectively of the portlet display area. Fragments may be placed in either column using PSML fragment definitions. |
VelocityTwoColumns | TwoColumns | 2 | 50%,50% | view,edit,help | A two column display of one or more fragments where each column is allocated to 50% of the portlet display area respectively. Fragments may be placed in either column using PSML fragment definitions. |
VelocityTwoColumnsSmallLeft | TwoColumns | 2 | 15%,85% | view,edit,help | A two column display of one or more fragments where the left column is allocated to 15% of the portlet display area, and the right column is allocated to 85% of the portlet display area. Fragments may be placed in either column using PSML fragment definitions. |
VelocityThreeColumns | ThreeColumns | 3 | 33%,33%,33% | view,edit,help | A three column display of one or more fragments where each column is allocated to 33% of the portlet display area respectively. Fragments may be placed in either column using PSML fragment definitions. |
VelocityOneColumnNoActions, VelocityTwoColumnsNoActions, VelocityThreeColumnsNoActions | view | Same parameters as their counterparts with actions, but no decorator actions are displayed. |
レイアウト | 種類 | カラム数 | サイズ | モード | 説明 |
---|---|---|---|---|---|
VelocityOneColumn | 1 列 | 1 | 100% | view,edit,help | ポートレットの表示エリアの 100% を占める 1 つ以上のフラグメントの 1 列表示。 |
VelocityTwoColumns | 2 列 | 2 | 50%,50% | view,edit,help | 各列にポートレット表示エリアのそれぞれ 50% ずつを割り当てる 1 つ以上のフラグメントの 2 列表示。 フラグメントはどちらの列も PSML のフラグメントの定義を使って配置されます。 |
VelocityTwoColumns | 2 列 | 2 | 50%,50% | view,edit,help | 各列にポートレット表示エリアのそれぞれ 50% ずつを割り当てる 1 つ以上のフラグメントの 2 列表示。 フラグメントはどちらの列も PSML のフラグメントの定義を使って配置されます。 |
VelocityTwoColumnsSmallLeft | 2 列 | 2 | 15%,85% | view,edit,help | 左側の列にポートレット表示エリアの 15% を割り当て、右側の列にポートレット表示エリアの 85% を割り当てる 1 つ以上のフラグメントの 2 列表示。 フラグメントはどちらの列も PSML のフラグメントの定義を使って配置されます。 |
VelocityThreeColumns | 3 列 | 3 | 33%,33%,33% | view,edit,help | 各列にポートレット表示エリアのそれぞれ 33% を割り当てる 1 つ以上のフラグメントの 3 列表示。 フラグメントはどちらの列も PSML のフラグメントの定義を使って配置されます。 |
VelocityOneColumnNoActions, VelocityTwoColumnsNoActions, VelocityThreeColumnsNoActions | view | デコレータアクションを伴うそれぞれ対応するレイアウトと同じパラメータを持つ。しかし、デコレータアクションは表示されない。 |