-
Notifications
You must be signed in to change notification settings - Fork 251
/
Copy pathxmlport.json
55 lines (55 loc) · 1.49 KB
/
xmlport.json
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
{
"Snippet: XmlPort":{
"prefix": "txmlport",
"body": [
"xmlport ${1:Id} ${2:MyXmlport}",
"{",
"\tschema",
"\t{",
"\t\ttextelement(${3:NodeName1})",
"\t\t{",
"\t\t\ttableelement(${5:NodeName2}; ${4:SourceTableName})",
"\t\t\t{",
"\t\t\t\tfieldattribute(${7:NodeName3}; ${5:NodeName2}.${6:SourceFieldName})",
"\t\t\t\t{",
"\t\t\t\t\t${8}",
"\t\t\t\t}",
"\t\t\t}",
"\t\t}",
"\t}",
"\t",
"\trequestpage",
"\t{",
"\t\tlayout",
"\t\t{",
"\t\t\tarea(content)",
"\t\t\t{",
"\t\t\t\tgroup(${9:GroupName})",
"\t\t\t\t{",
"\t\t\t\t\tfield(${11:Name}; ${10:SourceExpression})",
"\t\t\t\t\t{",
"\t\t\t\t\t\t${12}",
"\t\t\t\t\t}",
"\t\t\t\t}",
"\t\t\t}",
"\t\t}",
"\t",
"\t\tactions",
"\t\t{",
"\t\t\tarea(${13:processing})",
"\t\t\t{",
"\t\t\t\taction(${14:ActionName})",
"\t\t\t\t{",
"\t\t\t\t\t${15}",
"\t\t\t\t}",
"\t\t\t}",
"\t\t}",
"\t}",
"\t",
"\tvar",
"\t\t${16:myInt}: ${0:Integer};",
"}"
],
"description": "Snippet: XmlPort"
}
}