Allgemeine Aktionen:
Anmelden
Erstellen ▼: Kommentar erstellen
Wiki ▼: Dokumentenindex
»
Space: XWiki ▼: Dokumentenverzeichnis
»
Seite: WikiMacroClass
Suche
Aktionen:
Exportieren ▼: Als PDF exportieren Als RTF exportieren Als HTML exportieren
Weitere Aktionen ▼: Druckvorschau Zeige den Quellcode
Willkommen in den metamagix Wikis! » XWiki Space » XWiki Wiki Macro Class

# XWiki Wiki Macro Class

Zuletzt geändert von superadmin am 2010/07/12 07:51
Kommentare (0) · Anmerkungen (0) · Anhänge (0) · Historie · Information

# Class: WikiMacro

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.

# The class sheet

Before using this class you must first create the sheet and 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 will automatically contain a reference to the Sheet and an instance of your Class.

Tags:
Erstellt von superadmin am 2010/07/12 07:51

- Kommentare (0)
- Anmerkungen (0)
- Anhänge (0)
- Historie
- Information

This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 3.5 - Documentation