{ "widgettype":"PopupWindow", "options":{ "archor":"cc", "cwidth":16, "chegith":10 "title":"add admin user" }, "subwidgets":[ { "id":"adminuser", "widgettype":"Form", "options":{ "cols":1, "fields":[ { "name":"username", "label":"用户名", "uitype":"str" }, { "name":"password", "label":"密码", "uitype":"password" }, { "name":"chkpassword", "label":"确认密码", "uitype":"password" } ] } } ], "binds":[ { "wid":"adminuser", "event":"submit", "actiontype":"urlwidget", "target":"self", "options":{ "url":"{{entire_url('./add_adminuser.dspy')}}" } } ] }