]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/widgets.jsf.taglib.xml
Please cherry-pick:
[jjobs-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>rendered</name>
35                         <description>Whether this tag is being rendered by JSF engine.</description>
36                         <required>false</required>
37                         <type>java.lang.Boolean</type>
38                 </attribute>
39                 <attribute>
40                         <name>boxStyleClass</name>
41                         <description>The optional CSS style class to be forwarded to the container div of the whole message box. Default is ".message_box" .</description>
42                         <required>false</required>
43                         <type>java.lang.String</type>
44                 </attribute>
45                 <attribute>
46                         <name>messageStyleClass</name>
47                         <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>
48                         <required>false</required>
49                         <type>java.lang.String</type>
50                 </attribute>
51         </tag>
52         <tag>
53                 <tag-name>outputContactDataGridColumns</tag-name>
54                 <description>This tag renders columns for displaying contact data for administrative views.</description>
55                 <source>resources/tags/admin/columns/admin_contact_data_columns.tpl</source>
56         </tag>
57         <tag>
58                 <tag-name>outputPersonalTitleTableRow</tag-name>
59                 <description>This tag renders a selection box for user contact's personal title (Mr./Mrs.).</description>
60                 <source>resources/tags/table_rows/user_personal_title_table_row.tpl</source>
61                 <attribute>
62                         <name>allowEmptyRequiredData</name>
63                         <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>
64                         <required>false</required>
65                         <type>java.lang.Boolean</type>
66                 </attribute>
67                 <attribute>
68                         <name>rendered</name>
69                         <description>Whether this tag is being rendered by JSF engine.</description>
70                         <required>false</required>
71                         <type>java.lang.Boolean</type>
72                 </attribute>
73                 <attribute>
74                         <name>targetController</name>
75                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
76                         <required>true</required>
77                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
78                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
79                 </attribute>
80         </tag>
81         <tag>
82                 <tag-name>outputMobileNumberTableRow</tag-name>
83                 <description>This tag renders a selection box for contact's personal title (Mr./Mrs.).</description>
84                 <source>resources/tags/table_rows/mobile_selection_table_row.tpl</source>
85                 <attribute>
86                         <name>labelMessage</name>
87                         <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
88                         <required>true</required>
89                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
90                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
91                 </attribute>
92                 <attribute>
93                         <name>rendered</name>
94                         <description>Whether this tag is being rendered by JSF engine.</description>
95                         <required>false</required>
96                         <type>java.lang.Boolean</type>
97                 </attribute>
98                 <attribute>
99                         <name>targetController</name>
100                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
101                         <required>true</required>
102                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
103                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
104                 </attribute>
105         </tag>
106         <tag>
107                 <tag-name>outputProfileModeTableRow</tag-name>
108                 <description>This tag renders a selection box for user's profile mode.</description>
109                 <source>resources/tags/table_rows/user_profile_mode_table_row.tpl</source>
110                 <attribute>
111                         <name>labelMessage</name>
112                         <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
113                         <required>true</required>
114                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
115                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
116                 </attribute>
117                 <attribute>
118                         <name>rendered</name>
119                         <description>Whether this tag is being rendered by JSF engine.</description>
120                         <required>false</required>
121                         <type>java.lang.Boolean</type>
122                 </attribute>
123                 <attribute>
124                         <name>targetController</name>
125                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
126                         <required>true</required>
127                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
128                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
129                 </attribute>
130         </tag>
131 </facelet-taglib>