XWiki Wiki Macro Class


Failed to execute the [include] macro. Click on this message for details.

Class properties

  • Macro id (id: String)
  • Macro name (name: String)
  • Macro description (description: TextArea)
  • Default category (defaultCategory: String)
  • Supports inline mode (supportsInlineMode: Boolean)
  • Macro visibility (visibility: Static List)
  • Macro content type (contentType: Static List)
  • Content description (Not applicable for "No content" type) (contentDescription: TextArea)
  • Macro code (code: TextArea)
  • You can use the class editor to add or modify the class properties.

Existing documents

The class sheets

Before using this class you must first create a sheet and a template for it. Follow the instructions below to do this.

The Sheet allows to control the presentation of documents of this data type. You can use the default presentation, which enumerates all the available fields, or you can design your own presentation. You can also choose different presentations for the viewing and for the editing modes.

The class template

The Template is the document used as the model for documents of this data type. It contains an instance of your Class.

 

Class properties

  • Macro id (id: String)
  • Macro name (name: String)
  • Macro description (description: TextArea)
  • Default category (defaultCategory: String)
  • Supports inline mode (supportsInlineMode: Boolean)
  • Macro visibility (visibility: Static List)
  • Macro content type (contentType: Static List)
  • Content description (Not applicable for "No content" type) (contentDescription: TextArea)
  • Macro code (code: TextArea)
  • You can use the class editor to add or modify the class properties.

Existing documents

The class sheets

Before using this class you must first create a sheet and a template for it. Follow the instructions below to do this.

The Sheet allows to control the presentation of documents of this data type. You can use the default presentation, which enumerates all the available fields, or you can design your own presentation. You can also choose different presentations for the viewing and for the editing modes.

The class template

The Template is the document used as the model for documents of this data type. It contains an instance of your Class.

 


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.4.4 - Documentation
Powered by XWiki Hosted by Xsalto Free PageRank Checker Creative Commons 2.0 license Legal Notice