<?xml version="1.0" encoding="UTF-8"?> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:view> <a:link id="reload_priviledge_without_jms_link" url="${/request/@context_path}/modules/sys/reload_priviledge_without_jms.lsc"/> <a:link id="reload_service_without_jms_link" url="${/request/@context_path}/modules/sys/reload_service_without_jms.lsc"/> <a:link id="reload_priviledge_link" url="${/request/@context_path}/modules/sys/SYS1040/reload_priviledge.lsc"/> <a:link id="reload_service_link" url="${/request/@context_path}/modules/sys/SYS1040/reload_service.lsc"/> <script type="text/javascript"><![CDATA[ function onSuccess(res){ } function reloadService(svc_url){ var url = /*${/request/@context_path}/modules/sys/reload_service.svc*/$('reload_service_link').getUrl(); Leaf.request({url:url, success:onSuccess, scope:this}); } function reloadPriviledge(svc_url){ var url = /*${/request/@context_path}/modules/sys/reload_priviledge.svc*/$('reload_priviledge_link').getUrl(); Leaf.request({url:url, success:onSuccess, scope:this}); } function reloadServiceWithOutJMS(){ var url = /*${/request/@context_path}/modules/sys/reload_service_without_jms.svc*/$('reload_service_without_jms_link').getUrl(); Leaf.request({url:url, success:onSuccess, scope:this}); } function reloadPriviledgeWithOutJMS(){ var url = /*${/request/@context_path}/modules/sys/reload_priviledge_without_jms.svc*/$('reload_priviledge_without_jms_link').getUrl(); Leaf.request({url:url, success:onSuccess, scope:this}); } ]]></script> <a:fieldSet style="margin:10px;" title="多Tomcat"> <a:hBox> <a:button click="reloadService" style="margin-left:15px;margin-right:10px;" text="重载service"/> <a:button click="reloadPriviledge" style="margin-left:15px;margin-right:10px;" text="重载权限配置"/> </a:hBox> </a:fieldSet> <a:fieldSet style="margin:10px;" title="单Tomcat"> <a:hBox> <a:button click="reloadServiceWithOutJMS" style="margin-left:15px;margin-right:10px;" text="重载service"/> <a:button click="reloadPriviledgeWithOutJMS" style="margin-left:15px;margin-right:10px;" text="重载权限配置"/> </a:hBox> </a:fieldSet> </a:view> </a:screen>