Mercurial > libervia-backend
comparison src/tools/xml_tools.py @ 2541:65695b9343d3
jp (xmlui): added whitelist, read_only and values_only options:
- whitelist is set on XMLUI creation, it's the same as for other frontends
- read_only is set on XMLUI display, it indicates that input are not expected
- values_only is set on XMLUI display, it indicates that only values are to be displayed (it implies read_only)
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 29 Mar 2018 09:09:32 +0200 |
parents | 0046283a285d |
children |
comparison
equal
deleted
inserted
replaced
2540:3e03de7691ce | 2541:65695b9343d3 |
---|---|
1120 """Init SàT XML Panel | 1120 """Init SàT XML Panel |
1121 | 1121 |
1122 @param panel_type: one of | 1122 @param panel_type: one of |
1123 - C.XMLUI_WINDOW (new window) | 1123 - C.XMLUI_WINDOW (new window) |
1124 - C.XMLUI_POPUP | 1124 - C.XMLUI_POPUP |
1125 - C.XMLUI_FORM (formulaire, depend of the frontend, usually a panel with cancel/submit buttons) | 1125 - C.XMLUI_FORM (form, depend of the frontend, usually a panel with cancel/submit buttons) |
1126 - C.XMLUI_PARAM (parameters, presentation depend of the frontend) | 1126 - C.XMLUI_PARAM (parameters, presentation depend of the frontend) |
1127 - C.XMLUI_DIALOG (one common dialog, presentation depend of frontend) | 1127 - C.XMLUI_DIALOG (one common dialog, presentation depend of frontend) |
1128 @param container: disposition of elements, one of: | 1128 @param container: disposition of elements, one of: |
1129 - vertical: elements are disposed up to bottom | 1129 - vertical: elements are disposed up to bottom |
1130 - horizontal: elements are disposed left to right | 1130 - horizontal: elements are disposed left to right |