Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

#httpStatsElapse

Vitor LC February 7, 2018

Hi,

checking on the default decorators in the Look and Feel > Layouts section of the Administration Console I've found the instruction #httpStatsElapse('mainDecoratorStart') (and others) that are new to me. Does someone knows what it is? Is there any comprehensive list of Velocity objects being used in Confluence that we can use as a reference?

Thank you

1 answer

1 accepted

0 votes
Answer accepted
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 7, 2018

I think you're probably looking for two different things:

Objects available in Velocity: 

https://davidsimpson.me/2014/06/19/velocity-objects-atlassian-confluence-user-macro/

This user macro can help you find which objects are available by default.

There is also a trick that allows you to get access to other objects:

https://www.communardo.de/techblog/using-confluence-api-managers-in-user-macros/

Macros available in Velocity:

Anything that starts with # is a velocity macro. As far as I know, there's no way to generate a list of all of them, but you can find most of the definitions for the built in ones in your confluence directory. You should be able to find a file listed under confluence\webapp\template\includes\macros.vm. This contains many macros (including httpStatsElapse).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events