This page last changed on Dec 02, 2008 by smaddox.

On this page:

Error formatting macro: toc: java.lang.NullPointerException

Purpose of the Standard Page Decorators

Atlassian applications which support Plugin Framework 2.1 and later will also support standard page decorators. This allows your plugin to generate new web pages with consistent decoration by the host application across the Atlassian products.

Specifying a Decorator

Specify the decorator with an HTML meta tag in your head element:

<html>
<head>
    <meta name="decorator" content="atl.general"/>
</head>

The following decorators are available:

  • atl.admin for application administration pages.
  • atl.general for the header and footer of general pages outside the administration UI.

Limitations on Standard Page Decoration in Confluence

In this version of Confluence, the standard page decorators are only available on the following URL patterns:

  • *.action
  • *.vm
  • /display/*
  • /label/*

Other URLs do not pass through the Sitemesh decoration filter, so the HTML they return will not be decorated.

RELATED TOPICS

Writing Confluence Plugins

Document generated by Confluence on Dec 03, 2008 15:14