Layouts

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.

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.

A layout is made up of:

  • One or more templates
  • A template descriptor
  • Images
  • A Stylesheet (CSS)
  • Macros

Layouts Packaging

Layouts are packaged as standard portlet applications. Layouts usual have a

Operations Supported:

  • Deploy
  • Un-deploy
  • Re-deploy

Jetspeed-2 Layouts

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. When customizing (editing) a page, the layout component is selected. One layout may be assigned per PSML page.

LayoutTypeColumnsSizesModesDescription
VelocityOneColumnOneColumn1100%view,edit,helpA single column display of one or more fragments taking up 100% of the portlet display area.
VelocityTwoColumnsTwoColumns250%,50%view,edit,helpA 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.
VelocityTwoColumnsTwoColumns250%,50%view,edit,helpA 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.
VelocityTwoColumnsSmallLeftTwoColumns215%,85%view,edit,helpA 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.
VelocityThreeColumnsThreeColumns333%,33%,33%view,edit,helpA 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
viewSame parameters as their counterparts with actions, but no decorator actions are displayed.