UI Configuration in the Backoffice Framework
You can configure the UI of your widget or of the entire Backoffice Administration Cockpit depending on the current role, type of item the widget is displaying, and other conditions.
The key aspects of UI configuration are:
- The UI configuration is stored in the XML files.
- There must be a Java representation of each configuration. The transformation is done using JAXB.
-
The WidgetInstanceManager allows you to load the configuration from your widget. You can also store a configuration using this interface.
-
When you load or store a configuration, you must provide a configuration context, which is an attribute-value map; for example: type="Product", principal="productmanagergroup", component="listWidget". It behaves as a key under which the configuration is stored.
- You can use existing configuration context parameters or create new ones.
- It is possible to change the UI configuration of your Backoffice application at runtime. Do this from the Application Orchestrator. For more information, see the Application Orchestrator - End User Guide.