Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Groovy app is installed by the Groovy module that adds Groovy capabilities to Magnolia. For more information about using the app see the Groovy module documentation.

Image Added  Image Added

Table of Contents

Configuration

The Groovy app is installed by the Groovy module. The app is based on the content app framework and is a good example of extending the framework. The configuration of the browser and detail subapps are typical of any content app. The console supapp uses a custom subapp class 

Javadoc resource link
classNameinfo.magnolia.module.groovy.console.GroovyConsoleSubApp
renderTypeasynchronous
. Permission to access the app is limited to users assigned the scripter role. In addition, the Dev app group that this app belongs to is only available to the superuser role. This is configured in the app launcher layout. The app is configured at /modules/groovy/apps/groovy.

Advanced Tables - Table Plus
heading0
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

Node name

Value

Mgnl f
modules


Mgnl f
groovy


Mgnl f
apps


Mgnl n
groovy


Mgnl n
subapps


Mgnl n
browser


Mgnl n
detail


Mgnl n
console


Mgnl p
class

info.magnolia.ui.api.app.registry.ConfiguredSubAppDescriptor

Mgnl p
closable

 false

Mgnl p
subAppClass

 info.magnolia.module.groovy.console.GroovyConsoleSubApp

Mgnl n
permissions


Mgnl n
roles


Mgnl p
scripter

scripter

Mgnl p
appClass

info.magnolia.module.groovy.app.GroovyApp

Mgnl p
class

 info.magnolia.ui.contentapp.ConfiguredContentAppDescriptor

Mgnl p
icon

 icon-development-app

Workspace

The Groovy app operates on the scripts workspace that stores the Groovy scripts.

Node types

The Groovy app operates on mgnl:folder and mgnl:content node types