]> git.mxchange.org Git - jfinancials-war.git/blob - web/WEB-INF/widgets.jsf.taglib.xml
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>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>styleClass</name>
41                         <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>
42                         <required>false</required>
43                         <type>java.lang.String</type>
44                 </attribute>
45         </tag>
46         <tag>
47                 <tag-name>outputMessageBoxMini</tag-name>
48                 <description>This tag renders a style-able and customizable mini message for any kind of messages that the user should see. It is similar to outputMessageBox tag but it renders a smaller box instead.</description>
49                 <source>resources/tags/messages/message_box_mini.tpl</source>
50                 <attribute>
51                         <name>message</name>
52                         <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>
53                         <required>true</required>
54                         <type>java.lang.String</type>
55                 </attribute>
56                 <attribute>
57                         <name>rendered</name>
58                         <description>Whether this tag is being rendered by JSF engine.</description>
59                         <required>false</required>
60                         <type>java.lang.Boolean</type>
61                 </attribute>
62                 <attribute>
63                         <name>styleClass</name>
64                         <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>
65                         <required>false</required>
66                         <type>java.lang.String</type>
67                 </attribute>
68         </tag>
69         <tag>
70                 <tag-name>outputContactDataGridColumns</tag-name>
71                 <description>This tag renders columns for displaying contact data for administrative views.</description>
72                 <source>resources/tags/admin/columns/admin_contact_data_columns.tpl</source>
73         </tag>
74         <tag>
75                 <tag-name>outputPersonalTitleTableRow</tag-name>
76                 <description>This tag renders a selection box for user contact's personal title (Mr./Mrs.).</description>
77                 <source>resources/tags/table_rows/user_personal_title_table_row.tpl</source>
78                 <attribute>
79                         <name>allowEmptyRequiredData</name>
80                         <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>
81                         <required>false</required>
82                         <type>java.lang.Boolean</type>
83                 </attribute>
84                 <attribute>
85                         <name>rendered</name>
86                         <description>Whether this tag is being rendered by JSF engine.</description>
87                         <required>false</required>
88                         <type>java.lang.Boolean</type>
89                 </attribute>
90                 <attribute>
91                         <name>targetController</name>
92                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
93                         <required>true</required>
94                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
95                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
96                 </attribute>
97         </tag>
98         <tag>
99                 <tag-name>outputMobileNumberTableRow</tag-name>
100                 <description>This tag renders a selection box for contact's personal title (Mr./Mrs.).</description>
101                 <source>resources/tags/table_rows/mobile_selection_table_row.tpl</source>
102                 <attribute>
103                         <name>labelMessage</name>
104                         <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
105                         <required>true</required>
106                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
107                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
108                 </attribute>
109                 <attribute>
110                         <name>rendered</name>
111                         <description>Whether this tag is being rendered by JSF engine.</description>
112                         <required>false</required>
113                         <type>java.lang.Boolean</type>
114                 </attribute>
115                 <attribute>
116                         <name>targetController</name>
117                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
118                         <required>true</required>
119                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
120                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
121                 </attribute>
122         </tag>
123         <tag>
124                 <tag-name>outputProfileModeTableRow</tag-name>
125                 <description>This tag renders a selection box for user's profile mode.</description>
126                 <source>resources/tags/table_rows/user_profile_mode_table_row.tpl</source>
127                 <attribute>
128                         <name>labelMessage</name>
129                         <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
130                         <required>true</required>
131                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
132                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
133                 </attribute>
134                 <attribute>
135                         <name>rendered</name>
136                         <description>Whether this tag is being rendered by JSF engine.</description>
137                         <required>false</required>
138                         <type>java.lang.Boolean</type>
139                 </attribute>
140                 <attribute>
141                         <name>targetController</name>
142                         <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
143                         <required>true</required>
144                         <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
145                         <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
146                 </attribute>
147         </tag>
148 </facelet-taglib>