...
Localtab Group |
---|
Localtab |
---|
| Code Block |
---|
| subApps:
main:
class: info.magnolia.ui.framework.tools.ToolsSubAppDescriptor
subAppClass: info.magnolia.ui.framework.tools.ToolsSubApp
tools:
|
|
Localtab |
---|
| Advanced Tables - Table Plus |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
| Node name | Value |
---|
subApps | |
| |
| | info.magnolia.ui.framework.tools.ToolsSubAppDescriptor | | info.magnolia.ui.framework.tools.ToolsSubApp | |
|
|
...
Expand |
---|
title | Click here to see DashboardToolPresenter |
---|
|
Code Pro |
---|
language | java |
---|
firstline | 1 |
---|
title | info.magnolia.documentation.apps.toolssubapp.presenters.DashboardToolPresenter |
---|
linenumbers | true |
---|
sections | %%(package)%% - |
---|
url | https://git.magnolia-cms.com/projects/DOCUMENTATION/repos/toolssubapp-example/browse/src/main/java/info/magnolia/documentation/apps/toolssubapp/presenters/DashboardToolPresenter.java?at=master&raw |
---|
| |
Note:
- The presenter implements #start which returns the View.
- The method uses Lambda expression. This is why the example requires Java 8 or higher.
|
i18n tool
The i18n tool has the value info.magnolia.ui.framework.tools.FormToolDefinition
set for the class
property.
Javadoc resource link |
---|
rangeHigherVersion | 5.7 |
---|
className | info.magnolia.ui.framework.tools.FormToolDefinition |
---|
renderType | asynchronous |
---|
|
(or actually its implementation
Javadoc resource link |
---|
rangeHigherVersion | 5.7 |
---|
className | info.magnolia.ui.framework.tools.ConfiguredFormToolDefinition |
---|
renderType | asynchronous |
---|
|
) provides a default
presenterClass
.
...
You typically have to implement your own presenterClass to fulfill your requirements. However, extending FormToolPresenter
may be a good starting point.