Re-assigning decorators on the fly?

This page shows that you can add the query string param "decorators" to a URL, and set it to "none":

Like this:


Does the "decorators" query string param take any other values? I've tried a few things, like names for other decorators, but could not find anything. Thanks!


2 answers

1 accepted

The decorators are defined in the decorators.xml file in the source code of Confluence. Some interesting decorators are for example:

  • none
  • setup
  • main
  • sudo
  • admin
  • fixonly
  • printable
  • helppopup
  • popup
  • ...

Find more information about the Confluece UI architecture here: Confluence UI architecture

Hope this helps

Awesome, thanks Remo.

It seems, that the decorator query string is no longer working for Confluence 5.4.3:

Has the name changed? Has it been removed?

edit: From my testings: It stopped working with the release of Confluence 5.1.5.


<mapper class="com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper">
			<param name="decorator.parameter" value="decorator" />
			<param name="" value="printable" />
			<param name="parameter.value" value="true" />

has been removed from /WEB-INF/sitemesh.xml in Confluence 5.1.5, you have to manually add it, in order to make it work in the current Confluence Release.

Before adding the ParameterDecoratorMapper again, be sure to read the XSS attack described here: this is the reason, why it has been removed.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

366 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you