]> git.mxchange.org Git - jfinancials-war.git/blob - web/WEB-INF/widgets.jsf.taglib.xml
WIP - Please cherry-pick:
[jfinancials-war.git] / web / WEB-INF / widgets.jsf.taglib.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2017 Roland Häder
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Affero General Public License as
7 published by the Free Software Foundation, either version 3 of the
8 License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU Affero General Public License for more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 -->
18 <facelet-taglib version="2.2"
19                                 xmlns="http://xmlns.jcp.org/xml/ns/javaee"
20                                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21                                 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_2.xsd">
22         <namespace>http://mxchange.org/jsf/core/widgets</namespace>
23         <tag>
24                 <tag-name>outputMessageBox</tag-name>
25                 <description>This tag renders a style-able and customizable message for any kind of messages that the user should see.</description>
26                 <source>resources/tags/messages/message_box.tpl</source>
27                 <attribute>
28                         <name>message</name>
29                         <description>The message that should be place into the message box. You may also use EL code here that resolves to a message string.</description>
30                         <required>true</required>
31                         <type>java.lang.String</type>
32                 </attribute>
33                 <attribute>
34                         <name>id</name>
35                         <description>Id of the JSF component.</description>
36                         <required>false</required>
37                         <type>java.lang.String</type>
38                 </attribute>
39                 <attribute>
40                         <name>rendered</name>
41                         <description>Whether this tag is being rendered by JSF engine.</description>
42                         <required>false</required>
43                         <type>java.lang.Boolean</type>
44                 </attribute>
45                 <attribute>
46                         <name>boxStyleClass</name>
47                         <description>The optional CSS style class to be forwarded to the container div of the whole message box. Default is ".message_box" .</description>
48                         <required>false</required>
49                         <type>java.lang.String</type>
50                 </attribute>
51                 <attribute>
52                         <name>messageStyleClass</name>
53                         <description>The optional CSS style class to be forwarded on the h:outputText's styleClass attribute of the message. The default is "okay" which normally renders as a green colored message.</description>
54                         <required>false</required>
55                         <type>java.lang.String</type>
56                 </attribute>
57         </tag>
58         <tag>
59                 <tag-name>outputContactDataGridColumns</tag-name>
60                 <description>This tag renders columns for displaying contact data for administrative views.</description>
61                 <source>resources/tags/admin/columns/admin_contact_data_columns.tpl</source>
62         </tag>
63         <tag>
64                 <tag-name>outputPersonalTitleTableRow</tag-name>
65                 <description>This tag renders a selection box for user contact's personal title (Mr./Mrs.).</description>
66                 <source>resources/tags/table_rows/user_personal_title_table_row.tpl</source>
67                 <attribute>
68                         <name>allowEmptyRequiredData</name>
69                         <description>Whether allow the personal title to be left empty. This might be the case when you create a user and want to select a contact from a selection box. EL code resolving to a boolean may be allowed here.</description>
70                         <required>false</required>
71                         <type>java.lang.Boolean</type>
72                 </attribute>
73                 <attribute>
74                         <name>rendered</name>
75                         <description>Whether this tag is being rendered by JSF engine.</description>
76                         <required>false</required>
77                         <type>java.lang.Boolean</type>
78                 </attribute>
79                 <attribute>
80                         <name>targetController</name>
81                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
82                         <required>true</required>
83                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
84                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
85                 </attribute>
86         </tag>
87         <tag>
88                 <tag-name>outputMobileNumberTableRow</tag-name>
89                 <description>This tag renders a selection box for contact's personal title (Mr./Mrs.).</description>
90                 <source>resources/tags/table_rows/mobile_selection_table_row.tpl</source>
91                 <attribute>
92                         <name>labelMessage</name>
93                         <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
94                         <required>true</required>
95                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
96                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
97                 </attribute>
98                 <attribute>
99                         <name>rendered</name>
100                         <description>Whether this tag is being rendered by JSF engine.</description>
101                         <required>false</required>
102                         <type>java.lang.Boolean</type>
103                 </attribute>
104                 <attribute>
105                         <name>targetController</name>
106                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
107                         <required>true</required>
108                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
109                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
110                 </attribute>
111         </tag>
112         <tag>
113                 <tag-name>outputProfileModeTableRow</tag-name>
114                 <description>This tag renders a selection box for user's profile mode.</description>
115                 <source>resources/tags/table_rows/user_profile_mode_table_row.tpl</source>
116                 <attribute>
117                         <name>labelMessage</name>
118                         <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
119                         <required>true</required>
120                         <type>java.lang.String</type>
121                 </attribute>
122                 <attribute>
123                         <name>rendered</name>
124                         <description>Whether this tag is being rendered by JSF engine.</description>
125                         <required>false</required>
126                         <type>java.lang.Boolean</type>
127                 </attribute>
128                 <attribute>
129                         <name>targetController</name>
130                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
131                         <required>true</required>
132                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
133                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
134                 </attribute>
135         </tag>
136         <tag>
137                 <tag-name>outputAdminContactDataFormFields</tag-name>
138                 <description>This tag renders a fieldset for administrative purposes of contact data.</description>
139                 <source>resources/tags/admin/form_data/contact/admin_form_contact_data.tpl</source>
140                 <attribute>
141                         <name>allowEmptyRequiredData</name>
142                         <description>Whether allow the personal title to be left empty. This might be the case when you create a user and want to select a contact from a selection box. EL code resolving to a boolean may be allowed here.</description>
143                         <required>false</required>
144                         <type>java.lang.Boolean</type>
145                 </attribute>
146                 <attribute>
147                         <name>rendered</name>
148                         <description>Whether this tag is being rendered by JSF engine.</description>
149                         <required>false</required>
150                         <type>java.lang.Boolean</type>
151                 </attribute>
152         </tag>
153         <tag>
154                 <tag-name>outputAdminFaxDataFormFields</tag-name>
155                 <description>This tag renders a fieldset for administrative purposes of fax data.</description>
156                 <source>resources/tags/admin/form_data/fax/admin_form_fax_data.tpl</source>
157                 <attribute>
158                         <name>faxNumber</name>
159                         <description>The fax instance that provides the data for this tag.</description>
160                         <required>true</required>
161                         <type>org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber</type>
162                 </attribute>
163                 <attribute>
164                         <name>rendered</name>
165                         <description>Whether this tag is being rendered by JSF engine.</description>
166                         <required>false</required>
167                         <type>java.lang.Boolean</type>
168                 </attribute>
169         </tag>
170         <tag>
171                 <tag-name>outputAdminLandLineDataFormFields</tag-name>
172                 <description>This tag renders a fieldset for administrative purposes of land-line data.</description>
173                 <source>resources/tags/admin/form_data/landline/admin_form_landline_data.tpl</source>
174                 <attribute>
175                         <name>landLineNumber</name>
176                         <description>The fax instance that provides the data for this tag.</description>
177                         <required>true</required>
178                         <type>org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber</type>
179                 </attribute>
180                 <attribute>
181                         <name>rendered</name>
182                         <description>Whether this tag is being rendered by JSF engine.</description>
183                         <required>false</required>
184                         <type>java.lang.Boolean</type>
185                 </attribute>
186         </tag>
187         <tag>
188                 <tag-name>outputAdminMobileDataFormFields</tag-name>
189                 <description>This tag renders a fieldset for administrative purposes of mobile data.</description>
190                 <source>resources/tags/admin/form_data/mobile/admin_form_mobile_data.tpl</source>
191                 <attribute>
192                         <name>mobileNumber</name>
193                         <description>The mobile instance that provides the data for this tag.</description>
194                         <required>true</required>
195                         <type>org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber</type>
196                 </attribute>
197                 <attribute>
198                         <name>rendered</name>
199                         <description>Whether this tag is being rendered by JSF engine.</description>
200                         <required>false</required>
201                         <type>java.lang.Boolean</type>
202                 </attribute>
203         </tag>
204         <tag>
205                 <tag-name>outputAdminUserDataFormFields</tag-name>
206                 <description>This tag renders a fieldset for administrative purposes of user data.</description>
207                 <source>resources/tags/admin/form_data/user/admin_form_user_data.tpl</source>
208                 <attribute>
209                         <name>mode</name>
210                         <description>Mode of the form, must be one of "add" or "edit".</description>
211                         <required>true</required>
212                         <type>java.lang.String</type>
213                 </attribute>
214         </tag>
215         <tag>
216                 <tag-name>outputAdminFaxPanelGrid</tag-name>
217                 <description>This tag renders a full h:panelGrid for administrative purposes for fax data.</description>
218                 <source>resources/tags/admin/panel_grids/fax/admin_fax_data.tpl</source>
219                 <attribute>
220                         <name>renderShowLink</name>
221                         <description>Whether this tag is used to show mobile data (default true).</description>
222                         <required>false</required>
223                         <type>java.lang.Boolean</type>
224                 </attribute>
225                 <attribute>
226                         <name>faxNumber</name>
227                         <description>The fax instance that provides the data for this tag.</description>
228                         <required>true</required>
229                         <type>org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber</type>
230                 </attribute>
231                 <attribute>
232                         <name>contact</name>
233                         <description>The contact instance that provides contact data for additional JSF links.</description>
234                         <required>false</required>
235                         <type>org.mxchange.jcontacts.model.contact.Contact</type>
236                 </attribute>
237                 <attribute>
238                         <name>rendered</name>
239                         <description>Whether this tag is being rendered by JSF engine.</description>
240                         <required>false</required>
241                         <type>java.lang.Boolean</type>
242                 </attribute>
243                 <attribute>
244                         <name>showAdminMiniLinks</name>
245                         <description>Whether to show administrative links to other pages (default: true).</description>
246                         <required>false</required>
247                         <type>java.lang.Boolean</type>
248                 </attribute>
249         </tag>
250         <tag>
251                 <tag-name>outputAdminLandLinePanelGrid</tag-name>
252                 <description>This tag renders a full h:panelGrid for administrative purposes for land-line data.</description>
253                 <source>resources/tags/admin/panel_grids/landline/admin_landline_data.tpl</source>
254                 <attribute>
255                         <name>renderShowLink</name>
256                         <description>Whether this tag is used to show mobile data (default true).</description>
257                         <required>false</required>
258                         <type>java.lang.Boolean</type>
259                 </attribute>
260                 <attribute>
261                         <name>landLineNumber</name>
262                         <description>The fax instance that provides the data for this tag.</description>
263                         <required>true</required>
264                         <type>org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber</type>
265                 </attribute>
266                 <attribute>
267                         <name>contact</name>
268                         <description>The contact instance that provides contact data for additional JSF links.</description>
269                         <required>false</required>
270                         <type>org.mxchange.jcontacts.model.contact.Contact</type>
271                 </attribute>
272                 <attribute>
273                         <name>rendered</name>
274                         <description>Whether this tag is being rendered by JSF engine.</description>
275                         <required>false</required>
276                         <type>java.lang.Boolean</type>
277                 </attribute>
278                 <attribute>
279                         <name>showAdminMiniLinks</name>
280                         <description>Whether to show administrative links to other pages (default: true).</description>
281                         <required>false</required>
282                         <type>java.lang.Boolean</type>
283                 </attribute>
284         </tag>
285         <tag>
286                 <tag-name>outputAdminMobilePanelGrid</tag-name>
287                 <description>This tag renders a full h:panelGrid for administrative purposes for mobile data.</description>
288                 <source>resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl</source>
289                 <attribute>
290                         <name>renderShowLink</name>
291                         <description>Whether this tag is used to show mobile data (default true).</description>
292                         <required>false</required>
293                         <type>java.lang.Boolean</type>
294                 </attribute>
295                 <attribute>
296                         <name>mobileNumber</name>
297                         <description>The mobile instance that provides the data for this tag.</description>
298                         <required>true</required>
299                         <type>org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber</type>
300                 </attribute>
301                 <attribute>
302                         <name>contact</name>
303                         <description>The contact instance that provides contact data for additional JSF links.</description>
304                         <required>false</required>
305                         <type>org.mxchange.jcontacts.model.contact.Contact</type>
306                 </attribute>
307                 <attribute>
308                         <name>rendered</name>
309                         <description>Whether this tag is being rendered by JSF engine.</description>
310                         <required>false</required>
311                         <type>java.lang.Boolean</type>
312                 </attribute>
313                 <attribute>
314                         <name>showAdminMiniLinks</name>
315                         <description>Whether to show administrative links to other pages (default: true).</description>
316                         <required>false</required>
317                         <type>java.lang.Boolean</type>
318                 </attribute>
319         </tag>
320         <tag>
321                 <tag-name>outputFaxInputTableRow</tag-name>
322                 <description>This tag renders a h:panelGroup with input fields for fax numbers.</description>
323                 <source>resources/tags/table_rows/fax_input_table_row.tpl</source>
324                 <attribute>
325                         <name>targetController</name>
326                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
327                         <required>true</required>
328                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
329                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
330                 </attribute>
331                 <attribute>
332                         <name>labelMessage</name>
333                         <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
334                         <required>true</required>
335                         <type>java.lang.String</type>
336                 </attribute>
337                 <attribute>
338                         <name>rendered</name>
339                         <description>Whether this tag is being rendered by JSF engine.</description>
340                         <required>false</required>
341                         <type>java.lang.Boolean</type>
342                 </attribute>
343         </tag>
344         <tag>
345                 <tag-name>outputLandLineInputTableRow</tag-name>
346                 <description>This tag renders a h:panelGroup with input fields for land-line numbers.</description>
347                 <source>resources/tags/table_rows/landline_input_table_row.tpl</source>
348                 <attribute>
349                         <name>targetController</name>
350                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
351                         <required>true</required>
352                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
353                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
354                 </attribute>
355                 <attribute>
356                         <name>labelMessage</name>
357                         <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
358                         <required>true</required>
359                         <type>java.lang.String</type>
360                 </attribute>
361                 <attribute>
362                         <name>rendered</name>
363                         <description>Whether this tag is being rendered by JSF engine.</description>
364                         <required>false</required>
365                         <type>java.lang.Boolean</type>
366                 </attribute>
367         </tag>
368 </facelet-taglib>