Mode object type and possible values

Matthew J. Horn
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.
July 23, 2012

In typical decorators, you see something like this:

#set ($mode = $params.get("mode"))

Can anyone tell me what type $mode is and what the possible values are? I've seen "edit" and "view", but is there a list of constants somewhere? Thanks!

1 answer

0 votes
CharlesH
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.
July 23, 2012
Try the documentation for the show-if macro by Customware as it offers a mode parameter as a criteria for showing content. One other mode is "template" for when a template is being previewed.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events