create a default value for an array of subconfigs

Description

It would be great, if an array of sub-configs can have an array of default values. In our project, we encounter the case where we already know minimal items that need to be generated and the default values for each item.

Activity

Show:
Stefan Seifert
April 20, 2017, 1:20 PM

you mean with a syntax like this in the configuration annotation class?

i did not even knew this was possible with java annotation syntax - but it compiles.

this would be an extension in Apache Sling Context Aware Configuration itself, not in the configuration editor which is just a GUI talking to the configuration management API. you can open an issue for it in https://issues.apache.org/jira/browse/SLING

Shady Eltobgy
April 20, 2017, 1:49 PM
Edited

Hey Stefan,

First, thanks for the quick reply. Second, that is exactly what I meant. If this is the case then i would open an issue on Sling.

regards,
Shady

Stefan Seifert
November 14, 2017, 9:11 AM

has to be fixed/added in sling itself, not in wcm.io

Won't Fix

Assignee

Unassigned

Reporter

Shady Eltobgy

Labels

None

Components

Priority

Major
Configure