Mercurial > libervia-backend
comparison src/plugins/plugin_misc_merge_requests.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 | a64887289931 |
comparison
equal
deleted
inserted
replaced
2540:3e03de7691ce | 2541:65695b9343d3 |
---|---|
143 @param extra(XEP-0060.parse, None): can have following keys: | 143 @param extra(XEP-0060.parse, None): can have following keys: |
144 - update(bool): if True, will return list of parsed request data | 144 - update(bool): if True, will return list of parsed request data |
145 other params are the same as for [TICKETS._get] | 145 other params are the same as for [TICKETS._get] |
146 @return (tuple[list[unicode], list[dict[unicode, unicode]])): tuple with | 146 @return (tuple[list[unicode], list[dict[unicode, unicode]])): tuple with |
147 - XMLUI of the tickets, like [TICKETS._get] | 147 - XMLUI of the tickets, like [TICKETS._get] |
148 - node metadata | |
148 - list of parsed request data (if extra['parse'] is set, else empty list) | 149 - list of parsed request data (if extra['parse'] is set, else empty list) |
149 """ | 150 """ |
150 if not node: | 151 if not node: |
151 node = NS_MERGE_REQUESTS | 152 node = NS_MERGE_REQUESTS |
152 tickets_xmlui, metadata = yield self._s.getDataFormItems( | 153 tickets_xmlui, metadata = yield self._s.getDataFormItems( |