]> git.mxchange.org Git - jfinancials-war.git/blob - web/WEB-INF/links.jsf.taglib.xml
Don't cherry-pick:
[jfinancials-war.git] / web / WEB-INF / links.jsf.taglib.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2017 - 2020 Free Software Foundation
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
19         version="2.2"
20         xmlns="http://xmlns.jcp.org/xml/ns/javaee"
21         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_2.xsd"
23 >
24         <namespace>http://mxchange.org/jsf/core/links</namespace>
25         <tag>
26                 <tag-name>outputUserProfileLink</tag-name>
27                 <description>This tag renders a p:link JSF tag for a user profile.</description>
28                 <source>resources/tags/profile/user/user_profile_link.tpl</source>
29                 <attribute>
30                         <name>user</name>
31                         <description>An instance of a User class.</description>
32                         <required>true</required>
33                         <type>org.mxchange.jusercore.model.user.User</type>
34                 </attribute>
35                 <attribute>
36                         <name>rendered</name>
37                         <description>Whether this tag is being rendered by JSF engine (default: true).</description>
38                         <required>false</required>
39                         <type>java.lang.Boolean</type>
40                 </attribute>
41         </tag>
42         <tag>
43                 <tag-name>outputUserAdminDropdownMenu</tag-name>
44                 <description>This tag renders an administrative drop-down menu for given user instance.</description>
45                 <source>resources/tags/admin/dropdown/user/admin_user_links.tpl</source>
46                 <attribute>
47                         <name>user</name>
48                         <description>The user instance that provides the data for this tag.</description>
49                         <required>true</required>
50                         <type>org.mxchange.jusercore.model.user.User</type>
51                 </attribute>
52                 <attribute>
53                         <name>renderShowLink</name>
54                         <description>Whether to render (default: true) "show user" link.</description>
55                         <required>false</required>
56                         <type>java.langBoolean</type>
57                 </attribute>
58                 <attribute>
59                         <name>rendered</name>
60                         <description>Whether this tag is being rendered by JSF engine (default: true).</description>
61                         <required>false</required>
62                         <type>java.lang.Boolean</type>
63                 </attribute>
64         </tag>
65         <tag>
66                 <tag-name>outputUserAdminLinks</tag-name>
67                 <description>This tag renders administrative links for given user instance.</description>
68                 <source>resources/tags/admin/links/user/admin_user_links.tpl</source>
69                 <attribute>
70                         <name>user</name>
71                         <description>The user instance that provides the data for this tag.</description>
72                         <required>true</required>
73                         <type>org.mxchange.jusercore.model.user.User</type>
74                 </attribute>
75                 <attribute>
76                         <name>renderShowLink</name>
77                         <description>Whether to render (default: true) "show user" link.</description>
78                         <required>false</required>
79                         <type>java.langBoolean</type>
80                 </attribute>
81                 <attribute>
82                         <name>renderContactLinks</name>
83                         <description>Whether to render (default: false) contact links.</description>
84                         <required>false</required>
85                         <type>java.langBoolean</type>
86                 </attribute>
87                 <attribute>
88                         <name>renderHeader</name>
89                         <description>Whether to render (default: false) table header.</description>
90                         <required>false</required>
91                         <type>java.langBoolean</type>
92                 </attribute>
93                 <attribute>
94                         <name>rendered</name>
95                         <description>Whether this tag is being rendered by JSF engine (default: true).</description>
96                         <required>false</required>
97                         <type>java.lang.Boolean</type>
98                 </attribute>
99         </tag>
100 </facelet-taglib>