gluon/package/gluon-web-model
CodeFetch 2c9504408b gluon-web-model: Add support for "Supramaps"
It was not possible to modularize single sections of forms in the config mode.
This commit adds support for ´Supramaps´. Using supramaps it is possible to create an additional directory where inframaps reside.
E.g. a Lua model file with a same-named directory (excluding the file extension) defines a Form element and returns it. This is a supramap.
If Lua files exist in that directoryn the Form element is available in their environment as "Supramap".
Thus these files can add additional sections which are "inframaps" and must return the modified supramap.
This allows e.g. modularizing the password field in the gluon-web-admin package as an own package without hampering usability.
2019-03-07 16:38:39 +01:00
..
files/lib/gluon/web gluon-web-model: add custom events for form elements 2018-09-01 11:28:12 +02:00
i18n gluon-web: split out model support into a separate package 2018-02-26 00:07:08 +01:00
javascript gluon-web-model: add custom events for form elements 2018-09-01 11:28:12 +02:00
luasrc/usr/lib/lua/gluon/web gluon-web-model: Add support for "Supramaps" 2019-03-07 16:38:39 +01:00
Makefile treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00