com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Creating Jaggery Artifacts

You can use Developer Studio to create and modify Jaggery projects and files. To get started, create a Jaggery project by clicking the Jaggery Project link on the Developer Studio dashboard or by choosing File > New > Project and then selecting Jaggery Project from the Jaggery folder inside the WSO2 folder.

You can create a new project with empty stub files, or create the project based on existing source files by specifying the directory where they are located. You can also specify whether you want to separate your public resources from your source folder and can set default folder names for future projects. If you want to include support for plain JavaScript in this project, select the check box.

When you click Finish, the Jaggery project appears in the Project Explorer with the index.jag, jaggery.conf, and JavaScript resources (if you selected this option) under the project folder. You can double-click a file to display it in the editor, and right-click it to perform actions on the file like renaming it or checking it into the WSO2 registry. You can also right-click the Jaggery project itself to add new files, build the project, and more.

Code assistance in Jaggery editor

When you press Ctrl + Space in the Jaggery editor, the code assistance feature is provided for its predefined Modules, Variables, Objects and basic code statements. 

For example, code completion for a Jaggery Object, and accessing the operations of the object are shown below.

It also provides the facility for basic code statements. You can either select from the list of statements or type the short key. For example, if you want to get the Function statement, type "fn" as shown in the list and press Enter.

The function statements will then appear in the Jaggery editor.

Generating a Jaggery Deployable  Archive

You can generate a Jaggery deployable archive (.zip file) by exporting the project.

  1. Right-click the Jaggery project and click Export Project as Deployable Archive.
  2. Select the project and location where you want to save the archive and click Finish .

Deploying the Project

You can export the project as a jaggery application (zip) file or you can add it as a dependency of a Composite Application project.

For more information on working with Jaggery, see the Jaggery documentation.

 

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.