Writing a Macro in Java

Last modified by Eleni Cojocariu on 2026/10/13 16:30

General Principles

Moved to Rendering Macros.

Security considerations

Moved to Macro Execution Rules.

Macro preparation

Moved to Macro Execution Rules.

Isolated Execution

Moved to Macro Execution Rules.

Implementing a Macro

Moved to Write a Macro in Java.

Creating a Macro using Maven

Moved to Write a Macro in Java.

Macro Code

Moved to Write a Macro in Java.

Testing the Macro

Moved to Write a Macro in Java.

Translating the macro

Moved to Translate a Wiki Macro.

Deploying the Macro

Moved to Write a Macro in Java.

Tips

Moved to Rendering Macros.

Parsing Macro Content in Wiki Syntax

Moved to Java Macro Helpers.

Finding the location of the Macro

Moved to Java Macro Helpers.

Inline editing content and parameter

Moved to Make a Macro Editable Inline.

Specify the type of the macro content

Moved to Make a Macro Editable Inline.

Specify the type of the macro parameter

Moved to Make a Macro Editable Inline.

Specify the parts of the macro that can be editable inline

Moved to Make a Macro Editable Inline.

Backlinks and links refactoring in macros

Moved to Java Macro Helpers.

Modifying content outside the macro's content including the macro itself

Moved to Macro Execution Rules.

Macro Categories

Moved to Macro Categories.

  • Powered by XWiki 18.4.6 - node2. Hosted and managed by XWiki SAS

Get Connected