This page contains screen scribbles for the Editor GUI implemented in wcm.io for the Sling Context-Aware Configuration.
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.
This screen is shown when the configuration editor is opening first time.
==== Configuration Editor ==== [ Add ] Context path: /x/y/z | | Configuration Name | Description | [S] | Config 1 | [ [L] | Config 2 | |
==== Add Configuration ==== Configuration Name: [ Dropdown ] [ OK ] [ Cancel ] |
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).
=== 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 ] |
=== 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 ] |