-
Notifications
You must be signed in to change notification settings - Fork 0
/
gregorbyte-panelgrid.xsp-config
145 lines (133 loc) · 4.47 KB
/
gregorbyte-panelgrid.xsp-config
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
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<faces-config>
<faces-config-extension>
<namespace-uri>http://www.gregorbyte.com/xsp/</namespace-uri>
<default-prefix>gb</default-prefix>
</faces-config-extension>
<component>
<description>Arranges Child Controls as a Grid
</description>
<display-name>Panel Grid</display-name>
<component-type>com.gregorbyte.xsp.PanelGrid
</component-type>
<component-class>com.gregorbyte.xsp.component.UIPanelGrid
</component-class>
<property>
<description>Number of Columns in the Grid</description>
<display-name>Columns</display-name>
<property-name>columns</property-name>
<property-class>java.lang.Integer</property-class>
<property-extension>
<allow-run-time-binding>true</allow-run-time-binding>
<designer-extension>
<category>basics</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Header Style Class</description>
<display-name>Header Style Class</display-name>
<property-name>headerClass</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<allow-run-time-binding>true</allow-run-time-binding>
<designer-extension>
<category>styling</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Footer Style Class</description>
<display-name>Footer Style Class</display-name>
<property-name>footerClass</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<allow-run-time-binding>true</allow-run-time-binding>
<designer-extension>
<category>styling</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Column Classes (comma separated)</description>
<display-name>Column Classes</display-name>
<property-name>columnClasses</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<allow-run-time-binding>true</allow-run-time-binding>
<designer-extension>
<category>styling</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Row Classes (comma separated)</description>
<display-name>Row Classes</display-name>
<property-name>rowClasses</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<allow-run-time-binding>true</allow-run-time-binding>
<designer-extension>
<category>styling</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Background Color</description>
<display-name>Background Color</display-name>
<property-name>bgcolor</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<allow-run-time-binding>true</allow-run-time-binding>
<designer-extension>
<category>format</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Frame</description>
<display-name>Frame</display-name>
<property-name>frame</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<allow-run-time-binding>true</allow-run-time-binding>
<designer-extension>
<category>format</category>
</designer-extension>
</property-extension>
</property>
<component-extension>
<base-component-type>com.ibm.xsp.Table
</base-component-type>
<component-family>com.ibm.xsp.Tag
</component-family>
<renderer-type>com.gregorbyte.PanelGrid
</renderer-type>
<tag-name>panelGrid</tag-name>
<designer-extension>
<in-palette>true</in-palette>
<category>Gregorbyte</category>
<render-markup><?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:table>
<xp:tr>
<xp:td colspan="2">
<xp:callback facetName="header" id="callbackHeader"></xp:callback>
</xp:td>
</xp:tr>
<xp:tr>
<xp:td colspan="2">
<xp:callback id="childrenArea"></xp:callback>
</xp:td>
</xp:tr>
<xp:tr>
<xp:td colspan="2">
<xp:callback facetName="footer" id="callbackFooter"></xp:callback>
</xp:td>
</xp:tr>
</xp:table>
</xp:view></render-markup>
</designer-extension>
</component-extension>
</component>
</faces-config>