{ "widgettype": "VScrollPanel", "options": { "width": "100%", "height": "100%" }, "subwidgets":[ { "widgettype": "Form", "id": "input_form", "options": { "fields": [ { "name": "ppid", "uitype": "hide", "value": "{{params_kw.id}}" }, { "name": "data", "label": "计费数据(json)", "uitype": "text", "rows": 6, "cols": 60, "required": true } ], "width": "100%", "height": "50%" } }, { "widgettype": "VBox", "id": "result", "options": { "height": "50%", "width": "100%" } } ], "binds": [ { "wid": "input_form", "event": "submit", "actiontype": "urldata", "target": "result", "options": { "url": "{{entire_url('./test_pricing_program.dspy')}}", "params":{} }, "status_of": { "ok": { "widgettype": "Text", "options":{ "width": "100%", "text": "${result}" } }, "error": { "widgettype": "Text", "options":{ "width": "100%", "color": "red", "text": "${message}" } } } } ] }