Macro summary

Current summary reflects only those macros related to modules. Next step will be move the whole set of macros to the self-explained API. Current page is rendered with elephant-macros, used as {@elephant-macros:all}.

Attachments
Macro parser

Shows the attachments from a specific entity.

{@ attachment : entityPath [ : template ] }
Attributes Description Options Default
entityPath Path to a entity.
template Template used to show the items. editableTree tree

Shows the attachments from a specific entity in readonly mode.

{@ attachment-ro : entityPath [ : template ] }
Attributes Description Options Default
entityPath Path to a entity.
template Template used to show the items. tree-ro

Shows the attachments from a specific entity in readonly mode, after accepting site terms.

{@ attachment-rot : entityPath [ : template ] }
Attributes Description Options Default
entityPath Path to a entity.
template Template used to show the items. tree-rot

Shows the attachments from current user.

{@ self-attachments [ : template ] }
Attributes Description Options Default
template Template used to show the items. tree

Shows the attachments from current user in readonly mode.

{@ self-attachments-ro [ : template ] }
Attributes Description Options Default
template Template used to show the items. tree-ro

Shows the attachments from current user in readonly mode, after accepting site terms.

{@ self-attachments-rot [ : template ] }
Attributes Description Options Default
template Template used to show the items. tree-rot

Calendar
Macro parser

Renders calendar URL for current user.

{@ calendar : type }
Attributes Description Options Default
type Only items with type. url

Contacts
Macro parser

Lists groups in a tree format.

{@ groups : context : group-category }
Attributes Description Options Default
context Elephant context for links.
group-category Category identifier of the groups.

Lists contacts with page navigation.

{@ contacts [ : count [ : syndicationId [ : summaryTemplate [ : context [ : fullTemplate ] ] ] ] ] }
Attributes Description Options Default
count Number of items to show. 10
syndicationId Sindication code. See Social Groups in Contacts.
summaryTemplate Template used to show the items in summary mode. summary
context Elephant context for links.
fullTemplate Template used to show one items in full mode. full

{@ contacts-summary [ : count [ : syndicationId [ : summaryTemplate [ : context [ : fullTemplate ] ] ] ] ] }
Attributes Description Options Default
count Number of items to show. 10
syndicationId Sindication code. See Social Groups in Contacts.
summaryTemplate Template used to show the items in summary mode. summary
context Elephant context for links.
fullTemplate Template used to show one items in full mode. full

Lists contacts in grouping with page navigation.

{@ contacts-by-group [ : count [ : groupings [ : summaryTemplate ] ] ] }
Attributes Description Options Default
count Number of items to show. 10
groupings Items groupings.
summaryTemplate Template used to show the items in summary mode. summary

Lists contacts in grouping without navigation.

{@ contacts-by-group-summary [ : count [ : groupings [ : summaryTemplate ] ] ] }
Attributes Description Options Default
count Number of items to show. 10
groupings Items groupings.
summaryTemplate Template used to show the items in summary mode. summary

Shows contact count.

{@ contactcount [ : syndicationId ] }
Attributes Description Options Default
syndicationId Sindication code. See Social Groups in Contacts.

Lists contacts with specific connector value with page navigation.

{@ contacts-connector : count : connector [ : value [,value...] [ : summaryTemplate [ : context [ : fullTemplate ] ] ] ] }
Attributes Description Options Default
count Number of items to show. 10
connector Connector name.
value Value to search for.
summaryTemplate Template used to show the items in summary mode. summary
context Elephant context for links.
fullTemplate Template used to show one items in full mode. full

Lists contacts with specific connector value without navigation.

{@ contacts-connector-summary : count : connector [ : value [,value...] [ : summaryTemplate [ : context [ : fullTemplate ] ] ] ] }
Attributes Description Options Default
count Number of items to show. 10
connector Connector name.
value Value to search for.
summaryTemplate Template used to show the items in summary mode. summary
context Elephant context for links.
fullTemplate Template used to show one items in full mode. full

Shows a text depending on whether user's my-data is valid or not.

{@ my-data : valid : not-valid }
Attributes Description Options Default
valid
not-valid

Creates an editable form for web descriptors.

{@ describe-it : entityPath [ : id ] }
Attributes Description Options Default
entityPath Path to a entity.
id Identifier. Default

Convocation check interface for attendance control.

{@ convocation-check [ : template ] }
Attributes Description Options Default
template Template used to show the items. check

Shows convocations with page navigation.

{@ convocations : mode [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows convocations without navigation.

{@ convocation-summary : mode [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows public and user's convocations with page navigation.

{@ myconvocations : mode [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows public and user's convocations without navigation.

{@ myconvocation-summary : mode [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows public convocations with page navigation.

{@ public-convocations : mode [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows public convocations without navigation.

{@ public-convocation-summary : mode [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ old-directory [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

Renders the directory context.

{@ directory [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-summary [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-ranking [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-summary-ranking [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-restricted [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-summary-ranking-restricted [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-ranking-restricted [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-summary [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-ranking [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-summary-ranking [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-restricted [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-summary-ranking-restricted [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-ranking-restricted [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

Shows services with page navigation.

{@ services : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows services without navigation.

{@ service-summary : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows user's company services with page navigation.

{@ myservices : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows user's company services without navigation.

{@ myservice-summary : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows last services with page navigation.

{@ lastservices : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows last services without navigation.

{@ lastservice-summary : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows user's company last services with page navigation.

{@ mylastservices : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows user's company last services without navigation.

{@ mylastservice-summary : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ register [ : template ] }
Attributes Description Options Default
template Template used to show the items. signup

{@ profile : contactIds [ : template ] }
Attributes Description Options Default
contactIds
template Template used to show the items. summary

{@ myprofile [ : template ] }
Attributes Description Options Default
template Template used to show the items. profile

Core
Macro parser

Expands into web application's context.

{@ webroot }

Expends into site name.

{@ site }

Shows current rendering context.

{@ rendering }

Elephant language.

{@ lang }

Calls modules' user summaries and show the results.

{@ user-summary [ : mode ] }
Attributes Description Options Default
mode Mode to use. init

{@ user-contents }

Reads and renders file content.

{@ include : content-file }
Attributes Description Options Default
content-file System file to show.

Writes parameter with name value or default when null.

{@ param : name [ : default ] }
Attributes Description Options Default
name Attribute name.
default Default value.

Renders context content. If stopper is set to true, stops when finding a line starting with .

{@ render : context [ : stopper ] }
Attributes Description Options Default
context Elephant context for links.
stopper Whether rendering should stop.

Writes current date, time or both using diferent localized formats.

{@ date [ : mode [ : format ] ] }
Attributes Description Options Default
mode Mode to use. date, all, time date
format Format used to show the value. short, medium, long, full short

Renders the feed at url.

{@ feed : url }
Attributes Description Options Default
url Uniform Resource Locator.

Creates an Elephant marker within context with name. Elephant markers are initialized with correct locale and constructor as variable.

{@ marker : tmpl-root : template : value-map }
Attributes Description Options Default
tmpl-root Templates root.
template Template used to show the items.
value-map Values using the form variable=value separated by ;

Creates an Elephant marker within context with name. The repository-file is stored in props.

{@ marker-props : tmpl-root : template : repository-file }
Attributes Description Options Default
tmpl-root Templates root.
template Template used to show the items.
repository-file Name of the repository file.

Creates an Elephant marker within context with name. The repository-file is stored in doc.

{@ marker-xml : tmpl-root : template : repository-file }
Attributes Description Options Default
tmpl-root Templates root.
template Template used to show the items.
repository-file Name of the repository file.

Creates an Elephant marker within context with name. The repository-file is stored in json.

{@ marker-json : tmpl-root : template : repository-file }
Attributes Description Options Default
tmpl-root Templates root.
template Template used to show the items.
repository-file Name of the repository file.

Writes a json array of files matching path and pattern. The array can be as is, sorted or shuffled.

{@ files : folder : pattern : mode }
Attributes Description Options Default
folder Folder location.
pattern The pattern items must match.
mode Mode to use. normal, sort, shuffle

Creates a frame with url content. If url starts with '/' application context is automatically inserted.

{@ frame : url : width : height }
Attributes Description Options Default
url Uniform Resource Locator.
width CSS style width.
height CSS style height.

Gets resource value and renders as mode. Mode is an integer optional parameter.

{@ res : resource-key [ : string-mode ] }
Attributes Description Options Default
resource-key Key used to locate de resource.
string-mode Possible values are: 0 No transform, 1 Capitalized, 2 To upper case, 3 To lower case. 0

{@ i18n : resource [ : string-mode ] }
Attributes Description Options Default
resource
string-mode Possible values are: 0 No transform, 1 Capitalized, 2 To upper case, 3 To lower case. 0

Writes a random number starting at zero and up to limit minus one.

{@ random : random-limit }
Attributes Description Options Default
random-limit Random values ceil.

Elephant context for links.

{@ context : level }
Attributes Description Options Default
level Number of the item level.

Writes currently logged user's name, identifier or email.

{@ user [ : mode ] }
Attributes Description Options Default
mode Mode to use. name, id, email name

Writes true or false expressions depending on whether role:attribute pair are satisfied.

{@ if : role : attribute : true-expression : false-expression }
Attributes Description Options Default
role Entity role part.
attribute Permission part.
true-expression When comparison is true.
false-expression When comparison is false.

Writes true or false expressions depending on whether cookie value equals value.

{@ ifcookie : cookie : value : true-expression : false-expression }
Attributes Description Options Default
cookie Cookie name.
value Value to search for.
true-expression When comparison is true.
false-expression When comparison is false.

Writes true or false expressions depending on whether class could be instantiated.

{@ class : class-name : true-expression : false-expression }
Attributes Description Options Default
class-name Java class name.
true-expression When comparison is true.
false-expression When comparison is false.

Writes true or false expressions depending on whether value1 equals value2.

{@ equals : value : value : true-expression : false-expression }
Attributes Description Options Default
value Value to search for.
value Value to search for.
true-expression When comparison is true.
false-expression When comparison is false.

Renders object's attribute as string. object can also be an entityPath.

{@ object : ref-object : attribute }
Attributes Description Options Default
ref-object Attribute name holding the object or an entityPath.
attribute Renders attribute's value as string.

Renders attribute's value as string.

{@ attribute : attribute [ : format ] }
Attributes Description Options Default
attribute Renders attribute's value as string.
format Format used to show the value.

Renders entity using name and description.

{@ entity : entityPath : fmt-name-desc }
Attributes Description Options Default
entityPath Path to a entity.
fmt-name-desc Format, as in String.format(), with entity name and description as parameters.

Renders the entity represented by path calling plugin and using template if specified.

{@ entity-ctrl : plugin : entityPath [ : template ] }
Attributes Description Options Default
plugin Plugin name.
entityPath Path to a entity.
template Template used to show the items.

Writes cookie value. If optional value is defined, then sets cookie value.

{@ cookie : name [ : value ] }
Attributes Description Options Default
name Attribute name.
value Value to be set when defined.

Indicator name.

{@ indicator : storeClass : indicatorClass : entityPath : indicator [ : relatedPath ] }
Attributes Description Options Default
storeClass
indicatorClass
entityPath Path to a entity.
indicator Indicator name.
relatedPath

{@ entry-point : identifier [ : values ] }
Attributes Description Options Default
identifier
values

DAO
Macro parser

Creates an instance of a search form. Iterators use these instances to provide search capabilities.

{@ dao-search : context }
Attributes Description Options Default
context Elephant context for links.

Documentation
Macro parser

Shows content providers. Mainly used in newsletters' external sections (External macros).

{@ provider-macros [ : doc-properties [ : tmpl-root [ : template ] ] ] }
Attributes Description Options Default
doc-properties Properties file for documentation. */documentation
tmpl-root Templates root. documentation
template Template used to show the items. providerMacros

Contacts social groups (Social Groups).

{@ social-groups [ : doc-properties [ : tmpl-root [ : template ] ] ] }
Attributes Description Options Default
doc-properties Properties file for documentation. */documentation
tmpl-root Templates root. documentation
template Template used to show the items. socialGroups

Shows Elephant macros.

{@ elephant-macros : parser [ : headers [ : doc-properties [ : tmpl-root [ : template ] ] ] ] }
Attributes Description Options Default
parser Parser name. all
headers true
doc-properties Properties file for documentation. */documentation
tmpl-root Templates root. documentation
template Template used to show the items. elephantMacros

{@ elephant-emojis [ : tmpl-root [ : template ] ] }
Attributes Description Options Default
tmpl-root Templates root. documentation
template Template used to show the items. providerEmojis

{@ elephant-icons [ : tmpl-root [ : template ] ] }
Attributes Description Options Default
tmpl-root Templates root. documentation
template Template used to show the items. providerIcons

Shows Elephant indicators.

{@ elephant-indicators : indicator [ : headers [ : doc-properties [ : tmpl-root [ : template ] ] ] ] }
Attributes Description Options Default
indicator Indicator name. all
headers true
doc-properties Properties file for documentation. */documentation
tmpl-root Templates root. documentation
template Template used to show the items. elephantIndicators

Dossier
Macro parser

Shows issues with page navigation.

{@ issues : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues without navigation.

{@ issue-summary : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues restricted to current user with page navigation.

{@ myissues : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues restricted to current user without navigation.

{@ myissues-summary : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues where current user participates as assistant, with page navigation.

{@ assisted-issues : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues where current user participates as assistant, without navigation.

{@ assisted-issue-summary : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows dossiers with page navigation.

{@ dossiers : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers without navigation.

{@ dossier-summary : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user pparticipates, with page navigation.

{@ mydossiers : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user pparticipates, without navigation.

{@ mydossier-summary : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user directly participates, with page navigation.

{@ direct-dossiers : status [ : context [ : categoryIds [,categoryIds...] [ : count [ : template ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user directly participates, without navigation.

{@ direct-dossier-summary : status [ : context [ : categoryIds [,categoryIds...] [ : count [ : template ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current's co-workers directly participate, with page navigation.

{@ related-dossiers : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current's co-workers directly participate, without navigation.

{@ related-dossier-summary : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user has pending votes on worths.

{@ pending-vote : context : phase : worths [,worths...] [ : categoryIds [,categoryIds...] [ : count [ : template ] ] ] }
Attributes Description Options Default
context Elephant context for links.
phase Only items in phase type.
worths Identifiers of the worths to show.
categoryIds Category identifiers.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Lists categories in a tree format.

{@ categories : status [ : context [ : categoryIds [,categoryIds...] [ : template ] ] ] }
Attributes Description Options Default
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
template Template used to show the items. full

Writes web path from dossier or issue entities.

{@ web-path : path }
Attributes Description Options Default
path

Creates an editable form with dossier data.

{@ edit-dossier : id [ : template ] }
Attributes Description Options Default
id Identifier.
template Template used to show the items. editDossier

Creates an editable form for a new issue.

{@ create-issue : redirect [ : dossierId [ : template ] ] }
Attributes Description Options Default
redirect Context where to redirect after the operation, usually saving.
dossierId Dossier identifier.
template Template used to show the items. create

Creates an editable form for question specific type of issue.

{@ edit-question : id : redirect [ : type [ : template ] ] }
Attributes Description Options Default
id Identifier.
redirect Context where to redirect after the operation, usually saving.
type Only items with type. TYPE_QUESTION
template Template used to show the items. editQuestion

Creates an editable form with basic actions for adding information to an existing issue.

{@ issue-add-info : id [ : template [ : redirect ] ] }
Attributes Description Options Default
id Identifier.
template Template used to show the items. addinfo
redirect Context where to redirect after the operation, usually saving.

Elephant
Macro parser

Shows polls for current user with page navigation.

{@ polls [ : count [ : public ] ] }
Attributes Description Options Default
count Number of items to show. 10
public Show only public content. true

Shows polls for current user without navigation.

{@ poll-list [ : count [ : public ] ] }
Attributes Description Options Default
count Number of items to show. 10
public Show only public content. true

Renders the timer tracker control. When an entity path is given, returns the link to the control.

{@ time-tracker [ : entityPath ] }
Attributes Description Options Default
entityPath Path to a entity.

{@ anonymous }

{@ last-activity [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ last-activity-summary [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Financials
Macro parser

Shows contracts with page navigation.

{@ contracts [ : context [ : count [ : intervention ] ] ] }
Attributes Description Options Default
context Elephant context for links. /user/contracts
count Number of items to show. 10
intervention Only contracts where current user has intervention. true

Shows contracts without navigation.

{@ contract-list [ : context [ : count [ : intervention ] ] ] }
Attributes Description Options Default
context Elephant context for links. /user/contracts
count Number of items to show. 10
intervention Only contracts where current user has intervention. true

Shows contracts of specific type with page navigation.

{@ contract-type [ : context [ : count [ : intervention [ : type [ : template ] ] ] ] ] }
Attributes Description Options Default
context Elephant context for links. /user/contracts
count Number of items to show. 10
intervention Only contracts where current user has intervention. true
type Only items with type. 0
template Template used to show the items. summary

Shows contracts of specific type without navigation.

{@ contract-type-list [ : context [ : count [ : intervention [ : type [ : template ] ] ] ] ] }
Attributes Description Options Default
context Elephant context for links. /user/contracts
count Number of items to show. 10
intervention Only contracts where current user has intervention. true
type Only items with type. 0
template Template used to show the items. summary

Cart's checkout form.

{@ checkout }

Clean cart content. Allows to create a context with after-clean actions.

{@ clean-cart }

Lists products with page navigation.

{@ products : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

Lists products without navigation.

{@ product-list : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

Lists promoted products with page navigation.

{@ promoted : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

Lists promoted products without navigation.

{@ promoted-list : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

Creates an unordered linkable list of product names.

{@ product-name : context : ids [,ids...] }
Attributes Description Options Default
context Elephant context for links.
ids Identifiers.

Creates a comma separated linkable list of product names.

{@ product-name-list : context : ids [,ids...] }
Attributes Description Options Default
context Elephant context for links.
ids Identifiers.

Shows product or sum of products' price.

{@ product-price : format : ids [,ids...] }
Attributes Description Options Default
format Format used to show the value.
ids Identifiers.

Cart form.

{@ cart : shopping [ : template ] }
Attributes Description Options Default
shopping Shopping mode.
template Template used to show the items. cart

Navigation
Macro parser

Renders a bread crumbs navigator as an HTML unordered list.

{@ navigator : location }
Attributes Description Options Default
location Navigator mode.

Renders a traversal navigator as an HTML table with three columns.

{@ navigator : traversal [ : show-title ] }
Attributes Description Options Default
traversal Navigator mode.
show-title When true, renders context name as well. false

Renders a menu as HTML unordered list. level tells starting at which level options are shown. preloaded indicates how many children are to be shown.

{@ navigator : options : decorators : level : preloaded [ : show-current ] }
Attributes Description Options Default
options Navigator mode.
decorators When true, aditional DIVs are added at top and bottom.
level Number of the item level.
preloaded Number of preloaded children.
show-current When true, children passing preloaded value will show along with ancestors and siblings, as opposed to not showing any child with level over level + preloaded. true

Renders a tabulator as HTML unordered list. level tells at which level tabs are shown.

{@ navigator : tabulator : level }
Attributes Description Options Default
tabulator Navigator mode.
level Number of the item level.

Renders a web map.

{@ webmap [ : level ] }
Attributes Description Options Default
level Tells until which level contexts are shown. 1

Renders a list of selectable contexts.

{@ list : behavioural_keywords [,behavioural_keywords...] : navigational_keywords [,navigational_keywords...] : selection_keywords [,selection_keywords...] }
Attributes Description Options Default
behavioural_keywords Keywords controlling how information displays. popup, external, hidden, verbose
navigational_keywords Keywords to navigate Elephant contexts. parent, locate, level, root, match
selection_keywords Keywords actually returning contexts. all, siblings, search, children, self, leaf, ancestors

Renders a line of selectable contexts.

{@ anchor : behavioural_keywords [,behavioural_keywords...] : navigational_keywords [,navigational_keywords...] : selection_keywords [,selection_keywords...] }
Attributes Description Options Default
behavioural_keywords Keywords controlling how information displays. popup, external, hidden, verbose
navigational_keywords Keywords to navigate Elephant contexts. parent, locate, level, root, match
selection_keywords Keywords actually returning contexts. all, siblings, search, children, self, leaf, ancestors

Publications
Macro parser

Lists publications with page navigation.

{@ publication : context [ : groupId [ : categoryId [ : count [ : template [ : lang ] ] ] ] ] }
Attributes Description Options Default
context Elephant context for links.
groupId Group identifier. 0
categoryId Category identifier. 0
count Number of items to show. 10
template Template used to show the items. entryTitleImage, entry, eventTitle, eventTitleImage, grid, event, entryTitle summary
lang Elephant language.

Lists publications without navigation.

{@ publication-summary : context [ : groupId [ : categoryId [ : count [ : template [ : lang ] ] ] ] ] }
Attributes Description Options Default
context Elephant context for links.
groupId Group identifier. 0
categoryId Category identifier. 0
count Number of items to show. 10
template Template used to show the items. entryTitleImage, entry, eventTitle, eventTitleImage, grid, event, entryTitle summary
lang Elephant language.

Shows a full publication.

{@ single-publication : id [ : template ] }
Attributes Description Options Default
id Identifier.
template Template used to show the items. full

Students
Macro parser

{@ challenges : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

{@ challenges-summary : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

{@ mychallenges : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

{@ mychallenges-summary : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Attributes Description Options Default
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

{@ jobboard : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ jobboard-summary : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ myjobboard : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ myjobboard-summary : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ lastjobboard : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ lastjobboard-summary : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ mylastjobboard : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ mylastjobboard-summary : role : type [ : context [ : count [ : template ] ] ] }
Attributes Description Options Default
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Elephant Web
Macro parser

{@ wtargets : mode [ : selection [ : template ] ] }
Attributes Description Options Default
mode Mode to use. all, current all
selection true, false true
template Template used to show the items. summary, vlist, hlist summary

{@ wsolutions : mode [ : selection [ : template ] ] }
Attributes Description Options Default
mode Mode to use. all, current all
selection true, false true
template Template used to show the items. summary, vlist, hlist summary

{@ wservices : mode [ : selection [ : template ] ] }
Attributes Description Options Default
mode Mode to use. all, current all
selection true, false true
template Template used to show the items. summary, vlist, hlist summary

{@ wnexts [ : template ] }
Attributes Description Options Default
template Template used to show the items. summary, vlist, hlist summary

{@ wsiblings [ : template ] }
Attributes Description Options Default
template Template used to show the items. summary, vlist, hlist summary

{@ wgoals [ : template ] }
Attributes Description Options Default
template Template used to show the items. gsummary

{@ wcurrent [ : template ] }
Attributes Description Options Default
template Template used to show the items. full

{@ witem : wtag [ : template ] }
Attributes Description Options Default
wtag
template Template used to show the items. full

{@ wgoal : waction [ : template ] }
Attributes Description Options Default
waction
template Template used to show the items. gfull

{@ wexternals [ : template ] }
Attributes Description Options Default
template Template used to show the items. webLinks

Printer version
English03/21/20 17:32Lluís Turró Cutiller
English03/22/20 10:47Lluís Turró Cutiller
English03/25/20 09:49Lluís Turró Cutiller