vince
2025-03-06 88763f2ae21e9d3771ba744577edcc2d344802a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model/>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <ToolBar>
      <ToolBarButton>
        <ClientEvent name="onClick">&#xD;
view.get(&quot;#ajaxDel&quot;).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        }&#xD;
});&#xD;
</ClientEvent>
        <Property name="caption">测试</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">toolbar-button-warn</Property>
        <Property name="width">100</Property>
      </ToolBarButton>
    </ToolBar>
    <AjaxAction id="ajaxDel">
      <Property name="service">apiTestPR#push1311</Property>
    </AjaxAction>
  </View>
</ViewConfig>