Magnolia 6.0 reached end of life on June 26, 2019. This branch is no longer supported, see End-of-life policy.
DEVELOPER PREVIEW
The Magnolia UI module is responsible for the user interface of the Magnolia AdminCentral back end. It provides various UI frameworks for other parts of Magnolia such as content apps.
The Magnolia UI project version 6.0 is currently available as a developer preview. The full version is still under development.
To provide backward compatibility, it contains all previously existing classes. It also delivers refactored frameworks and new functions. Please try it out and feel free to send us your feedback and suggestions based on your experience.
We are working to finalize the module as soon as possible.
There is usually no need to install the Magnolia UI project. Every preconfigured Magnolia bundle already contains the required UI submodules. The Magnolia BOM file manages the versions for dependent UI modules.
If you have a custom webapp that is completely independent from any preconfigured Magnolia webapp, here is how you should add the UI project submodules to it:
In your parent pom, import dependency management from the UI project.
<!-- ... --> <properties> <magnoliaUiVersion>6.0</magnoliaUiVersion> <javaVersion>1.8</javaVersion> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>info.magnolia.ui</groupId> <artifactId>magnolia-ui-project</artifactId> <version>${magnoliaUiVersion}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <!-- ... -->
In the pom of your webapp, add the UI submodules you rely on. The following is a typical configuration (from the magnolia-empty-webapp
):
Maven
| Function | Magnolia module name(s)1 |
---|---|---|
| Parent reactor | — |
| The primary module/SDK for Magnolia app development This provides (among others) the content app framework, IoC support for UI components and scopes, Vaadin 8 data-binding facilities and UI view/state management. It also offers convenience builders for selected Magnolia UI components (for example, alerts and dialogs).
| ui-framework-core |
| This defines some core components for the UI such as Action, App, SubApp, Message and others. | — |
| JCR implementation of the Magnolia 6 UI framework (developer preview) | ui-framework-jcr |
| Magnolia 6 AdminCentral, an OS-like web application running Magnolia apps. This is where authors enter, preview, and publish content and where administrators configure Magnolia.
| admincentral |
| Magnolia 6 Vaadin theme based on Valo | — |
| Magnolia's custom Vaadin/GWT components and extensions This module contains mainly former Magnolia 5 widget implementations. For Magnolia 6, most of the components have been re-implemented with plain Vaadin. Consequently, this module may be split and partially deprecated in any future version. | — |
Magnolia stock apps | ||
| About Magnolia app | about-app |
| JCR browser app | jcr-browser-app |
| Messages app | messages-app |
| Sample app | sample-app |
| Security app | security-app |
| Task management app | tasks-app |
Magnolia 5 compatibility | ||
| Magnolia 5 AdminCentral Accessible via
|
|
| This module brings support for running Magnolia 5 content apps in Magnolia 6. In particular, it contains former Magnolia 5 content-app components such as the workbench, forms and dialogs or image provider. It also provides JCR implementations of the deprecated Vaadin 7 Data API (for example,
The Media Editor may be re-instated as part of the |
|
| Magnolia 5 Vaadin theme | — |
1) Magnolia modules that belong to the given Maven submodule
How to use the legacy Magnolia 5 UI in 6.0
If you want to access Magnolia 6.0 with the legacy 5.x look and feel, add a -m5
suffix to your instance URL after "admincentral". For example:
http://localhost:8080/magnoliaAuthor/.magnolia/admincentral-m5
This is a useful workaround if you have display issues with custom apps for example.
Note that this legacy UI mode is not fully functional and will not be supported indefinitely. Please make sure you let us know how we can improve the 6.0 UI so that we can fix any issues properly.