Portlet Decorator

For each psml portlet decorators can be declared globaly or individually.

Global declaration

Use the portlet-decorator attribute to declare a decorator for all portlets in a psml.

<page>
  <defaults
     skin="orange"
     layout-decorator="jetspeed"
     portlet-decorator="jetspeed"
  />
...
</page>

Individual declaration

Use the decorator attribute to declare each portlet individually.

<page>
...
    <fragment id="adp-18" type="portlet" name="demo::PickANumberPortlet" decorator="minty-blue">
      <property layout="TwoColumns" name="row" value="3" />
      <property layout="TwoColumns" name="column" value="0" />
    </fragment>
...
</page>

Jetspeed2/QuickstartForTheImpatient/CustomizeThePortletDecorator (last edited 2009-09-20 23:46:43 by localhost)