<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: zhangxing5129 $Date: 2014-7-2 下午01:37:41 $Revision: 1.0 $Purpose: 征信中心接口服务器定义 --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:view> <script type="text/javascript"><![CDATA[ function ws_credit_webservice_add(){ $('ws_credit_webservice_grid').showEditorByRecord($('ws_credit_webservice').create()); } function ws_credit_webservice_save(){ $('ws_credit_webservice').submit(); } ]]></script> <a:dataSets> <a:dataSet id="ws_credit_webservice" autoQuery="true" fetchAll="true" model="ws.WS100.ws_credit_webservice" selectable="true"/> </a:dataSets> <a:screenBody> <a:screenTopToolbar> <a:screenTitle/> <a:gridButton click="ws_credit_webservice_add" text="HLS.NEW"/> <a:gridButton click="ws_credit_webservice_save" text="HLS.SAVE"/> </a:screenTopToolbar> <a:grid id="ws_credit_webservice_grid" bindTarget="ws_credit_webservice" marginHeight="170" marginWidth="30" navBar="true"> <a:columns> <a:column name="host" editor="grid_tf" prompt="主机" width="150"/> <a:column name="description" editor="grid_tf" prompt="描述" width="150"/> <a:column name="user_name" editor="grid_tf" prompt="用户名" width="150"/> <a:column name="password" editor="grid_pw" prompt="密码" width="150"/> </a:columns> <a:editors> <a:textField id="grid_tf"/> <a:passWord id="grid_pw"/> </a:editors> </a:grid> </a:screenBody> </a:view> </a:screen>