Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: MOTION-157

...

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.

...

heading0
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

...

Node name

...

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

...

Mgnl p
closable

...

Mgnl p
subAppClass

...

Mgnl n
permissions

...

Mgnl n
roles

...

Mgnl p
scripter

...

Mgnl p
appClass

...

Mgnl p
class

...

Mgnl p
icon

...

Image Added

Workspace

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

...