Overview

This page contains screen scribbles for the Editor GUI implemented in wcm.io for the Sling Context-Aware Configuration.

Basic concepts

The configuration editor does not allow to edit all configuration levels or fallback modes. It shows only the configuration for the current inner-most context path (this may be the current site, current language, current region etc.) and allows to edit it. Although the configuration itself is normally stored not inside the context content, the editor page is created there to automatically detect the matching context path. When writing back configuration still the ACLs of the configuration path apply.

Configuration overview

This screen is shown when the configuration editor is opening first time.

Overview View

==== Configuration Editor ====

[ Add ]

Context path: /x/y/z

|     | Configuration Name  |  Description
| [S] | Config 1            |
[ [L] | Config 2            |

Add Dialog

==== Add Configuration ====

Configuration Name:   [ Dropdown ]

[ OK ] [ Cancel ]


Configuration Detail View

This screen is shown when an existing or new configuration is displayed (technicall it's exactly the same, even from the calls to the API).

Detail View (Singleton)

=== Configuration Editor: <Config Name> ====

[ Save ] [ Cancel ]

Context Path: /x/y/z

--- Configuration ---
| Property    | Value   | Description   | Inherited   | Overwritten
| Param 1     | 123     | (i)           | [x]         | [ ]
| Param 2     | abc     | (i)           | [ ]         | [ ]

[ Delete ]

Detail View (Configuration Collection)

=== Configuration Editor: <Config Name> ====

[ Save ]  [ Cancel ]

Context Path: /x/y/z


--- Configuration: item1 ---
| Property    | Value   | Description   | Inherited   | Overwritten
| Param 1     | 123     | (i)           | [x]         | [ ]
| Param 2     | abc     | (i)           | [ ]         | [ ]

[ Delete ]

--- Configuration: item2 ---
| Property    | Value   | Description   | Inherited   | Overwritten
| Param 1     | 123     | (i)           | [x]         | [ ]

[ Delete ]


[ Add ]