-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
Currently we have to define mappings (e.g. in the old resources app) for identifying AceEditor mode.
This ticket aims to detect it automatically in BasicTextCodeFieldFactory, based on the file extension.
For this feature to be usable in various apps, we assume the Vaadin Item has to provide the file name as one of its properties—which name may vary, e.g.:
- JcrNodeAdapter provides it as "jcrName"
- new resources app is currently using BeanItem<ResourcePath>, hence providing file name as its "name" property.
Acceptance criteria