PSML is an acronym for Portal Structure Markup Language. It was created to allow content structure and abstraction within Jetspeed. PSML defines how portlets are aggregated, layed out, and decorated on a portal page. Note that page layout is not a part of the Java Portlet Standard API. Thus PSML is a Jetspeed-specific implementation. Also note that PSML in Jetspeed-2 is different from PSML in Jetspeed-1. This document can be used as a reference guide to the elements of a PSML resource.
Here is an example PSML file:
The Page element is a simple container to hold all other PSML elements. There are two valid attributes for the Page element:
id | hidden |
---|---|
Example:
The Defaults element defines the default layout decorator and default portlet decorator. The default layout decorator is applied to all layout fragments which do NOT have a decorator attribute. The default portlet decorator is applied to all portlet fragments which do NOT have a decorator attribute. There are three valid attributes on the defaults element:
skin | layout-decorator | portlet-decorator |
---|---|---|
Example: