fourCol.xml
5.2 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?xml version="1.0" encoding="UTF-8"?>
<!-- 所有没有内容的标签请增加一个空格 -->
<start>
<!-- 定义表达式所使用的变量 -->
<variables>
<variable>
<name>itemAreaDisplay</name>
<value>inline-block</value>
//可取值boolean,integer,string,long,float,double
<dataType>string</dataType>
</variable>
<variable>
<name>cw1</name>
<value>15%</value>
//可取值boolean,integer,string,long,float,double
<dataType>string</dataType>
</variable>
<variable>
<name>cw2</name>
<value>35%</value>
//可取值boolean,integer,string,long,float,double
<dataType>string</dataType>
</variable>
<variable>
<name>cw3</name>
<value>15%</value>
//可取值boolean,integer,string,long,float,double
<dataType>string</dataType>
</variable>
<variable>
<name>cw4</name>
<value>35%</value>
//可取值boolean,integer,string,long,float,double
<dataType>string</dataType>
</variable>
</variables>
<table class="LayoutTable" id="#{layoutTableId}" style="display:#{layoutTableDisplay}">
<colgroup>
<col width="expression(cw1!=''?cw1:'15%')"></col>
<col width="expression(cw2!=''?cw2:'35%')"></col>
<col width="expression(cw3!=''?cw3:'15%')"></col>
<col width="expression(cw4!=''?cw4:'35%')"></col>
</colgroup>
<tbody>
<!-- 分组循环 -->
<groups>
<!-- 分组title信息 -->
<group>
<tr class="intervalTR" _samePair="#{samePair}" style="display:#{groupDisplay}">
<td colspan="4">
<table class="LayoutTable" style="width:100%;">
<colgroup>
<col width="50%"></col>
<col width="50%"></col>
</colgroup>
<tr class="groupHeadHide">
<td class="interval">
<span class="groupbg"> </span>
<span class="e8_grouptitle">#{context}</span>
</td>
<td class="interval" colspan="2" style="text-align:right;">
<groupRightContext>
<everyItem>
<span class="toolbar">
#{context}
</span>
</everyItem>
</groupRightContext>
<!-- style="display:expression(isFirstGroup?'none':groupSHBtnDisplay)" -->
<span _status="#{_status}" class="hideBlockDiv" style="display:#{groupSHBtnDisplay}">
<!--#{showOrHide}--><img src="/wui/theme/ecology8/templates/default/images/expression(itemAreaDisplay=='none'?'1':'2')_wev8.png"> </img>
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="Spacing" style="height:1px;display:#{groupDisplay}">
<td class="Line" colspan="4"></td>
</tr>
</group>
<!-- 分组元素区域 -->
<itemArea>
<tr class="items intervalTR" style="display:#{itemAreaDisplay}">
<td colspan="4">
<table class="LayoutTable" id="#{formTableId}" style="table-layout:fixed;display:#{formTableDisplay}">
<colgroup>
<col width="expression(cw1!=''?cw1:'15%')"></col>
<col width="expression(cw2!=''?cw2:'35%')"></col>
<col width="expression(cw3!=''?cw3:'15%')"></col>
<col width="expression(cw4!=''?cw4:'35%')"></col>
</colgroup>
<!-- 分组元素循环区 -->
<items>
<tr class="expression(isTableList?'intervalTR':'')" _trrandom="#{__mathRandom}">
<!-- 行元素定义区 -->
<item>
<everyItem>
<td customAttr="customAttrs" style="display:#{display}" id="#{id}" name="#{id}" _samePair="#{samePair}" class="expression(isTableList?'tableField':'fieldName')" colspan="#{colspan}">
#{context}
</td>
</everyItem>
<everyItem>
<td customAttr="customAttrs" style="display:#{display}" id="#{id}" name="#{id}" _samePair="#{samePair}" class="expression(isTableList?'tableField':'field')" colspan="#{colspan}">#{context}</td>
</everyItem>
<everyItem>
<td customAttr="customAttrs" style="display:#{display}" id="#{id}" name="#{id}" _samePair="#{samePair}" class="expression(isTableList?'tableField':'fieldName')" colspan="#{colspan}">
#{context}
</td>
</everyItem>
<everyItem>
<td customAttr="customAttrs" style="display:#{display}" id="#{id}" name="#{id}" _samePair="#{samePair}" class="expression(isTableList?'tableField':'field')" colspan="#{colspan}">#{context}</td>
</everyItem>
</item>
</tr>
<tr style="height:1px!important;display:expression(isTableList?'none':'');" class="Spacing">
<td class="expression(isLastRow?'paddingLeft0':'paddingLeft18')" colspan="4">
<div class="intervalDivClass"></div>
</td>
</tr>
</items>
</table>
</td>
</tr>
</itemArea>
</groups>
<toolbar>
<tr class="intervalTR e8ToolBar" id="toolbar">
<td class="interval btnTd" colspan="4" style="text-align:center;">
#{context}
</td>
</tr>
</toolbar>
</tbody>
</table>
<importJsCss>
<link rel="stylesheet" href="/wui/theme/ecology8/templates/default/css/default_wev8.css" type="text/css"> </link>
<script type="text/javascript" src="/wui/theme/ecology8/templates/default/js/default_wev8.js"> </script>
</importJsCss>
</start>