Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
...
English |
---|
Utility methods and fields to use in the builder javascript. |
...
The app id of current editing
The app version of current editing
The builder object name return by the custom builder plugin
The builder object label return by the custom builder plugin
The JSON definition of current canvas
The dataobject of current canvas
The list of palette elements and its properties option and data.
To call a method by name
Parameters
To initialize the builder configuration by the platform
Parameters
To call a method by name
Parameters
To initialize the builder configuration by the platform
Parameters
To initialize the builder properties tab by the platform
...
Get the value in CustomBuilder.json.
...
To save the builder JSON definition.
...
To trigger change event to update advance tools
To update the save button status by the undo/redo function
Parameters
To fade in a message on top center of the builder
Parameters
To retrieve the current copied element.
Return a object with "type" and "object" attribute. The "object" is the element object.
To copy an element object to local storage.
Parameters
To enable/disable all paste icons based on the type
Parameters
To edit the properties of an element
Parameters
To generate uuid.
Modify the custom builder project POM file to adding the package of plugin interface, abstract class and APIs to the <Export-Package>.
Code Block | ||
---|---|---|
| ||
<Export-Package>org.joget.pbuilder,org.joget.pbuilder.api.*</Export-Package> |
Register the plugin interface and abstract class in Activator class
Code Block | ||
---|---|---|
| ||
PluginManager.registerCustomPluginInterface(new CustomPluginInterface(PageWidget.class, "pageBuilder.pageWidget", PageBuilder.MESSAGE_PATH)); |
...