]> git.mxchange.org Git - jfinancials-war.git/blobdiff - web/WEB-INF/widgets.jsf.taglib.xml
Updated copyright year
[jfinancials-war.git] / web / WEB-INF / widgets.jsf.taglib.xml
index 07a5078825556fbc9af878f9b27fc44e46cff13a..3efb5f68060cd95cfeaabf70836418bf12879d5a 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-Copyright (C) 2017 Roland Häder
+Copyright (C) 2017 - 2022 Free Software Foundation
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU Affero General Public License as
@@ -15,10 +15,12 @@ GNU Affero General Public License for more details.
 You should have received a copy of the GNU Affero General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<facelet-taglib version="2.2"
-                               xmlns="http://xmlns.jcp.org/xml/ns/javaee"
-                               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                               xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_2.xsd">
+<facelet-taglib
+       version="2.2"
+       xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_2.xsd"
+>
        <namespace>http://mxchange.org/jsf/core/widgets</namespace>
        <tag>
                <tag-name>outputMessageBox</tag-name>
@@ -30,9 +32,15 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                        <required>true</required>
                        <type>java.lang.String</type>
                </attribute>
+               <attribute>
+                       <name>panelGroupId</name>
+                       <description>Id of the panel group component.</description>
+                       <required>true</required>
+                       <type>java.lang.String</type>
+               </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
@@ -55,70 +63,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                <source>resources/tags/admin/columns/admin_contact_data_columns.tpl</source>
        </tag>
        <tag>
-               <tag-name>outputPersonalTitleTableRow</tag-name>
+               <tag-name>outputPersonalTitleSelectionBox</tag-name>
                <description>This tag renders a selection box for user contact's personal title (Mr./Mrs.).</description>
-               <source>resources/tags/table_rows/user_personal_title_table_row.tpl</source>
-               <attribute>
-                       <name>allowEmptyRequiredData</name>
-                       <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>
-                       <required>false</required>
-                       <type>java.lang.Boolean</type>
-               </attribute>
-               <attribute>
-                       <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
-                       <required>false</required>
-                       <type>java.lang.Boolean</type>
-               </attribute>
-               <attribute>
-                       <name>targetController</name>
-                       <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
-                       <required>true</required>
-                       <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
-                       <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
-               </attribute>
-       </tag>
-       <tag>
-               <tag-name>outputMobileNumberTableRow</tag-name>
-               <description>This tag renders a selection box for contact's personal title (Mr./Mrs.).</description>
-               <source>resources/tags/table_rows/mobile_selection_table_row.tpl</source>
-               <attribute>
-                       <name>labelMessage</name>
-                       <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
-                       <required>true</required>
-                       <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
-                       <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
-               </attribute>
-               <attribute>
-                       <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
-                       <required>false</required>
-                       <type>java.lang.Boolean</type>
-               </attribute>
-               <attribute>
-                       <name>targetController</name>
-                       <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
-                       <required>true</required>
-                       <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
-                       <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
-               </attribute>
-       </tag>
-       <tag>
-               <tag-name>outputProfileModeTableRow</tag-name>
-               <description>This tag renders a selection box for user's profile mode.</description>
-               <source>resources/tags/table_rows/user_profile_mode_table_row.tpl</source>
-               <attribute>
-                       <name>labelMessage</name>
-                       <description>A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle.</description>
-                       <required>true</required>
-                       <type>java.lang.String</type>
-               </attribute>
-               <attribute>
-                       <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
-                       <required>false</required>
-                       <type>java.lang.Boolean</type>
-               </attribute>
+               <source>resources/tags/input/selection_box/personal_title_selection_box.tpl</source>
                <attribute>
                        <name>targetController</name>
                        <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
@@ -127,23 +74,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                        <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
                </attribute>
        </tag>
-       <tag>
-               <tag-name>outputAdminContactDataFormFields</tag-name>
-               <description>This tag renders a fieldset for administrative purposes of contact data.</description>
-               <source>resources/tags/admin/form_data/contact/admin_form_contact_data.tpl</source>
-               <attribute>
-                       <name>allowEmptyRequiredData</name>
-                       <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>
-                       <required>false</required>
-                       <type>java.lang.Boolean</type>
-               </attribute>
-               <attribute>
-                       <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
-                       <required>false</required>
-                       <type>java.lang.Boolean</type>
-               </attribute>
-       </tag>
        <tag>
                <tag-name>outputAdminFaxDataFormFields</tag-name>
                <description>This tag renders a fieldset for administrative purposes of fax data.</description>
@@ -156,7 +86,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
@@ -173,7 +103,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
@@ -181,7 +111,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
        <tag>
                <tag-name>outputAdminMobileDataFormFields</tag-name>
                <description>This tag renders a fieldset for administrative purposes of mobile data.</description>
-               <source>resources/tags/admin/form_data/mobile/admin_form_mobile_data.tpl</source>
+               <source>resources/tags/admin/form_data/mobile/admin_edit_form_mobile_data.tpl</source>
                <attribute>
                        <name>mobileNumber</name>
                        <description>The mobile instance that provides the data for this tag.</description>
@@ -190,7 +120,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
@@ -206,27 +136,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                        <type>java.lang.String</type>
                </attribute>
        </tag>
-       <tag>
-               <tag-name>outputUserProfileLink</tag-name>
-               <description>This tag renders a h:link JSF tag for a user profile.</description>
-               <source>resources/tags/profile/user/user_profile_link.tpl</source>
-               <attribute>
-                       <name>user</name>
-                       <description>An instance of a User class.</description>
-                       <required>true</required>
-                       <type>org.mxchange.jusercore.model.user.User</type>
-               </attribute>
-       </tag>
        <tag>
                <tag-name>outputAdminFaxPanelGrid</tag-name>
-               <description>This tag renders a full h:panelGrid for administrative purposes for fax data.</description>
+               <description>This tag renders a full p:panelGrid for administrative purposes for fax data.</description>
                <source>resources/tags/admin/panel_grids/fax/admin_fax_data.tpl</source>
-               <attribute>
-                       <name>isShowPage</name>
-                       <description>Whether this tag is used to show mobile data (default true).</description>
-                       <required>false</required>
-                       <type>java.lang.Boolean</type>
-               </attribute>
                <attribute>
                        <name>faxNumber</name>
                        <description>The fax instance that provides the data for this tag.</description>
@@ -241,12 +154,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
+                       <required>false</required>
+                       <type>java.lang.Boolean</type>
+               </attribute>
+               <attribute>
+                       <name>renderShowLink</name>
+                       <description>Whether this tag is used to show fax data (default true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
                <attribute>
-                       <name>showAdminLinks</name>
+                       <name>showAdminDropdownMenu</name>
                        <description>Whether to show administrative links to other pages (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
@@ -254,11 +173,11 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
        </tag>
        <tag>
                <tag-name>outputAdminLandLinePanelGrid</tag-name>
-               <description>This tag renders a full h:panelGrid for administrative purposes for land-line data.</description>
+               <description>This tag renders a full p:panelGrid for administrative purposes for land-line data.</description>
                <source>resources/tags/admin/panel_grids/landline/admin_landline_data.tpl</source>
                <attribute>
-                       <name>isShowPage</name>
-                       <description>Whether this tag is used to show mobile data (default true).</description>
+                       <name>renderShowLink</name>
+                       <description>Whether this tag is used to show land-line data (default true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
@@ -276,12 +195,12 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
                <attribute>
-                       <name>showAdminLinks</name>
+                       <name>showAdminDropdownMenu</name>
                        <description>Whether to show administrative links to other pages (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
@@ -289,10 +208,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
        </tag>
        <tag>
                <tag-name>outputAdminMobilePanelGrid</tag-name>
-               <description>This tag renders a full h:panelGrid for administrative purposes for mobile data.</description>
+               <description>This tag renders a full p:panelGrid for administrative purposes for mobile data.</description>
                <source>resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl</source>
                <attribute>
-                       <name>isShowPage</name>
+                       <name>renderShowLink</name>
                        <description>Whether this tag is used to show mobile data (default true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
@@ -311,12 +230,12 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
                <attribute>
-                       <name>showAdminLinks</name>
+                       <name>showAdminDropdownMenu</name>
                        <description>Whether to show administrative links to other pages (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
@@ -341,7 +260,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
@@ -365,94 +284,179 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
        </tag>
        <tag>
-               <tag-name>outputAdminFaxLinks</tag-name>
-               <description>This tag renders a full h:panelGroup for administrative links for fax data.</description>
-               <source>resources/tags/admin/links/fax/admin_fax_data.tpl</source>
+               <tag-name>outputCountrySelector</tag-name>
+               <description>This tag renders a selection box for all available countries.</description>
+               <source>resources/tags/country/form_data/form_country_selector.tpl</source>
                <attribute>
-                       <name>isShowPage</name>
-                       <description>Whether this tag is used to show mobile data (default true).</description>
+                       <name>rendered</name>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
                <attribute>
-                       <name>faxNumber</name>
-                       <description>The fax instance that provides the data for this tag.</description>
-                       <required>true</required>
-                       <type>org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber</type>
+                       <name>allowNone</name>
+                       <description>Whether this tag allows NONE/null to be selected (default: true).</description>
+                       <required>false</required>
+                       <type>java.lang.Boolean</type>
                </attribute>
                <attribute>
-                       <name>contact</name>
-                       <description>The contact instance that provides contact data for additional JSF links.</description>
+                       <name>required</name>
+                       <description>Whether this tag is required (default: false)</description>
                        <required>false</required>
-                       <type>org.mxchange.jcontacts.model.contact.Contact</type>
+                       <type>java.lang.Boolean</type>
                </attribute>
                <attribute>
-                       <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <name>requiredMessage</name>
+                       <description>Localizable message to be displayed when this field is required but not selected.</description>
                        <required>false</required>
-                       <type>java.lang.Boolean</type>
+                       <type>java.lang.String</type>
+               </attribute>
+               <attribute>
+                       <name>id</name>
+                       <description>Id of the JSF component.</description>
+                       <required>true</required>
+                       <type>java.lang.String</type>
+               </attribute>
+               <attribute>
+                       <name>styleClass</name>
+                       <description>CSS style class for this component, default: select.</description>
+                       <required>false</required>
+                       <type>java.lang.String</type>
+               </attribute>
+               <attribute>
+                       <name>value</name>
+                       <description>A target property to set the selected country in.</description>
+                       <required>true</required>
+                       <type>org.mxchange.jcountry.model.data.Country</type>
                </attribute>
        </tag>
        <tag>
-               <tag-name>outputAdminLandLineLinks</tag-name>
-               <description>This tag renders a full h:panelGroup for administrative links for land-line data.</description>
-               <source>resources/tags/admin/panel_grids/landline/admin_landline_data.tpl</source>
+               <tag-name>inputFaxNumberPanelGrid</tag-name>
+               <description>This tag renders input fields for creating a fax number.</description>
+               <source>resources/tags/input/panel_grid/fax_input_panel_grid.tpl</source>
                <attribute>
-                       <name>isShowPage</name>
-                       <description>Whether this tag is used to show mobile data (default true).</description>
+                       <name>rendered</name>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
                <attribute>
-                       <name>landLineNumber</name>
-                       <description>The fax instance that provides the data for this tag.</description>
+                       <name>targetController</name>
+                       <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
                        <required>true</required>
-                       <type>org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber</type>
+                       <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
+                       <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
                </attribute>
                <attribute>
-                       <name>contact</name>
-                       <description>The contact instance that provides contact data for additional JSF links.</description>
+                       <name>required</name>
+                       <description>Whether the fax number is a required field (default: false).</description>
                        <required>false</required>
-                       <type>org.mxchange.jcontacts.model.contact.Contact</type>
+                       <type>java.lang.Boolean</type>
                </attribute>
+       </tag>
+       <tag>
+               <tag-name>inputLandLineNumberPanelGrid</tag-name>
+               <description>This tag renders input fields for creating a land-line number.</description>
+               <source>resources/tags/input/panel_grid/landline_input_panel_grid.tpl</source>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true)</description>
+                       <required>false</required>
+                       <type>java.lang.Boolean</type>
+               </attribute>
+               <attribute>
+                       <name>targetController</name>
+                       <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
+                       <required>true</required>
+                       <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
+                       <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
+               </attribute>
+               <attribute>
+                       <name>required</name>
+                       <description>Whether the land-line number is a required field (default: false).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
        </tag>
        <tag>
-               <tag-name>outputAdminMobileLinks</tag-name>
-               <description>This tag renders a full h:panelGroup for administrative links for mobile data.</description>
-               <source>resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl</source>
+               <tag-name>inputMobileNumberPanelGrid</tag-name>
+               <description>This tag renders input fields for creating a mobile number.</description>
+               <source>resources/tags/input/panel_grid/mobile_input_panel_grid.tpl</source>
                <attribute>
-                       <name>isShowPage</name>
-                       <description>Whether this tag is used to show mobile data (default true).</description>
+                       <name>rendered</name>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>
                <attribute>
-                       <name>mobileNumber</name>
-                       <description>The mobile instance that provides the data for this tag.</description>
+                       <name>targetController</name>
+                       <description>A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in.</description>
                        <required>true</required>
-                       <type>org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber</type>
+                       <!-- @TODO Find an interface for BaseFacesBean and set it here instead -->
+                       <type>org.mxchange.jcoreee.bean.faces.BaseFacesBean</type>
                </attribute>
                <attribute>
-                       <name>contact</name>
-                       <description>The contact instance that provides contact data for additional JSF links.</description>
+                       <name>required</name>
+                       <description>Whether the mobile number is a required field (default: false).</description>
                        <required>false</required>
-                       <type>org.mxchange.jcontacts.model.contact.Contact</type>
+                       <type>java.lang.Boolean</type>
+               </attribute>
+       </tag>
+       <tag>
+               <tag-name>outputOpeningTimesDataTable</tag-name>
+               <description>This tag renders a full p:dataTable for opening times.</description>
+               <source>resources/tags/opening_times/opening_times_data_table.tpl</source>
+               <attribute>
+                       <name>id</name>
+                       <description>An id string for this tag.</description>
+                       <required>true</required>
+                       <type>java.lang.String</type>
+               </attribute>
+               <attribute>
+                       <name>value</name>
+                       <description>A list of OpeningTime objects.</description>
+                       <required>true</required>
+                       <type>java.util.List</type>
+               </attribute>
+               <attribute>
+                       <name>widgetVar</name>
+                       <description>Identifier for this widget (e.g. JavaScript).</description>
+                       <required>true</required>
+                       <type>java.lang.String</type>
+               </attribute>
+               <attribute>
+                       <name>summary</name>
+                       <description>A string or EL code for table attribute of same name.</description>
+                       <required>true</required>
+                       <type>java.lang.String</type>
+               </attribute>
+               <attribute>
+                       <name>emptyMessage</name>
+                       <description>A string or EL code for a message shown when no row was found.</description>
+                       <required>true</required>
+                       <type>java.lang.String</type>
+               </attribute>
+               <attribute>
+                       <name>headerMessage</name>
+                       <description>A string or EL code for a message shown above table rows.</description>
+                       <required>true</required>
+                       <type>java.lang.String</type>
+               </attribute>
+               <attribute>
+                       <name>rows</name>
+                       <description>Rows to show each page.</description>
+                       <required>true</required>
+                       <type>java.lang.Long</type>
                </attribute>
                <attribute>
                        <name>rendered</name>
-                       <description>Whether this tag is being rendered by JSF engine.</description>
+                       <description>Whether this tag is being rendered by JSF engine (default: true).</description>
                        <required>false</required>
                        <type>java.lang.Boolean</type>
                </attribute>