From b7147f3db39912c6cb1266b4b8322a8f73ede2cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 24 Nov 2022 02:04:31 +0100 Subject: [PATCH] Don't cherry-pick: - added missing project-specific links.jsf.taglib.xml - added missing validators.jsf.taglib.xml - registered them - updated widgets to latest changes from JFinancials --- web/WEB-INF/links.jsf.taglib.xml | 220 +------------------- web/WEB-INF/project-links.jsf.taglib.xml | 25 +++ web/WEB-INF/validators.jsf.taglib.xml | 73 +++++++ web/WEB-INF/widgets.jsf.taglib.xml | 251 ++++++++++++++--------- 4 files changed, 258 insertions(+), 311 deletions(-) create mode 100644 web/WEB-INF/project-links.jsf.taglib.xml create mode 100644 web/WEB-INF/validators.jsf.taglib.xml diff --git a/web/WEB-INF/links.jsf.taglib.xml b/web/WEB-INF/links.jsf.taglib.xml index 432407b2..bc614035 100644 --- a/web/WEB-INF/links.jsf.taglib.xml +++ b/web/WEB-INF/links.jsf.taglib.xml @@ -1,6 +1,6 @@ - + http://mxchange.org/jsf/core/links outputUserProfileLink @@ -38,211 +40,9 @@ along with this program. If not, see . - outputFaxNumberAdminMiniLinks - This tag renders a full h:panelGroup for administrative "mini-links" for fax data. - resources/tags/admin/links/mini/fax/admin_fax_links.tpl - - faxNumber - The fax instance that provides the data for this tag. - true - org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber - - - contact - The contact instance that provides contact data for additional JSF links. - false - org.mxchange.jcontacts.model.contact.Contact - - - renderShowLink - Whether this tag is used to show mobile data (default true). - false - java.lang.Boolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - - outputLandLineNumberAdminMiniLinks - This tag renders a full h:panelGroup for administrative "mini-links" for land-line data. - resources/tags/admin/links/mini/landline/admin_landline_links.tpl - - landLineNumber - The fax instance that provides the data for this tag. - true - org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber - - - contact - The contact instance that provides contact data for additional JSF links. - false - org.mxchange.jcontacts.model.contact.Contact - - - renderShowLink - Whether this tag is used to show mobile data (default true). - false - java.lang.Boolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - - outputMobileNumberAdminMiniLinks - This tag renders a full h:panelGroup for administrative "mini-links" for mobile data. - resources/tags/admin/links/mini/mobile/admin_mobile_links.tpl - - mobileNumber - The mobile number instance that provides the data for this tag. - true - org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber - - - contact - The contact instance that provides contact data for additional JSF links. - false - org.mxchange.jcontacts.model.contact.Contact - - - renderShowLink - Whether this tag is used to show mobile data (default true). - false - java.lang.Boolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - - outputMobileProviderAdminMiniLinks - This tag renders a full h:panelGroup for administrative "mini-links" for mobile provider data. - resources/tags/admin/links/mini/mobile_provider/admin_mobile_provider_links.tpl - - mobileProvider - The mobile provider instance that provides the data for this tag. - true - org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProvider - - - renderShowLink - Whether this tag is used to show mobile data (default true). - false - java.lang.Boolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - - outputBasicDataAdminMiniLinks - This tag renders administrative "mini-links" for given basicData instance. - resources/tags/admin/links/mini/basic_data/admin_basic_data_links.tpl - - basicData - The basic company data for this tag. - true - org.mxchange.jcontactsbusiness.model.basicdata.BusinessBasicData - - - renderShowLink - Whether to render (default: true) "show basic data" link. - false - java.langBoolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - - outputBranchOfficeAdminMiniLinks - This tag renders administrative "mini-links" for given branchOffice instance. - resources/tags/admin/links/mini/branch_office/admin_branch_office_links.tpl - - branchOffice - The branch office instance that provides the data for this tag. - true - org.mxchange.jcontactsbusiness.model.branchoffice.BranchOffice - - - renderShowLink - Whether to render (default: true) "show branch office" link. - false - java.langBoolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - - outputContactAdminMiniLinks - This tag renders administrative "mini-links" for given contact instance. - resources/tags/admin/links/mini/contact/admin_contact_links.tpl - - contact - The contact instance that provides the data for this tag. - true - org.mxchange.jcontacts.model.contact.Contact - - - renderShowLink - Whether to render (default: true) "show contact" link. - false - java.langBoolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - - outputCountryAdminMiniLinks - This tag renders administrative "mini-links" for given country instance. - resources/tags/admin/links/mini/country/admin_country_links.tpl - - country - The country instance that provides the data for this tag. - true - org.mxchange.jcountry.model.data.Country - - - renderShowLink - Whether to render (default: true) "show branch office" link. - false - java.langBoolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - - outputUserAdminMiniLinks - This tag renders administrative "mini-links" for given user instance. - resources/tags/admin/links/mini/user/admin_user_links.tpl + outputUserAdminDropdownMenu + This tag renders an administrative drop-down menu for given user instance. + resources/tags/admin/dropdown/user/admin_user_links.tpl user The user instance that provides the data for this tag. diff --git a/web/WEB-INF/project-links.jsf.taglib.xml b/web/WEB-INF/project-links.jsf.taglib.xml new file mode 100644 index 00000000..554431f0 --- /dev/null +++ b/web/WEB-INF/project-links.jsf.taglib.xml @@ -0,0 +1,25 @@ + + + + http://mxchange.org/jsf/jfinancials/links + diff --git a/web/WEB-INF/validators.jsf.taglib.xml b/web/WEB-INF/validators.jsf.taglib.xml new file mode 100644 index 00000000..ef5b1ded --- /dev/null +++ b/web/WEB-INF/validators.jsf.taglib.xml @@ -0,0 +1,73 @@ + + + + http://mxchange.org/jsf/core/validators + + emailAddressValidator + + EmailAddressValidator + + + Whether email address is allowed to be empty. + allowEmptyRequiredData + java.lang.Boolean + false + + + + basicDataEmailAddressValidator + + BasicDataEmailAddressValidator + + + + branchOfficeEmailAddressValidator + + BranchOfficeEmailAddressValidator + + + + employeeEmailAddressValidator + + EmployeeEmailAddressValidator + + + + headquarterEmailAddressValidator + + HeadquarterEmailAddressValidator + + + + urlValidator + + UrlValidator + + + Whether URL is allowed to be empty. + allowEmptyRequiredData + java.lang.Boolean + false + + + diff --git a/web/WEB-INF/widgets.jsf.taglib.xml b/web/WEB-INF/widgets.jsf.taglib.xml index 6048e1ff..3efb5f68 100644 --- a/web/WEB-INF/widgets.jsf.taglib.xml +++ b/web/WEB-INF/widgets.jsf.taglib.xml @@ -1,6 +1,6 @@ - + http://mxchange.org/jsf/core/widgets outputMessageBox @@ -31,8 +33,8 @@ along with this program. If not, see . java.lang.String - id - Id of the JSF component. + panelGroupId + Id of the panel group component. true java.lang.String @@ -61,46 +63,9 @@ along with this program. If not, see . resources/tags/admin/columns/admin_contact_data_columns.tpl - outputPersonalTitleTableRow + outputPersonalTitleSelectionBox This tag renders a selection box for user contact's personal title (Mr./Mrs.). - resources/tags/table_rows/user_personal_title_table_row.tpl - - allowEmptyRequiredData - 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. - false - java.lang.Boolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - targetController - A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in. - true - - org.mxchange.jcoreee.bean.faces.BaseFacesBean - - - - outputMobileNumberTableRow - This tag renders a selection box for contact's personal title (Mr./Mrs.). - resources/tags/table_rows/mobile_selection_table_row.tpl - - labelMessage - A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle. - true - - org.mxchange.jcoreee.bean.faces.BaseFacesBean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - + resources/tags/input/selection_box/personal_title_selection_box.tpl targetController A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in. @@ -109,47 +74,6 @@ along with this program. If not, see . org.mxchange.jcoreee.bean.faces.BaseFacesBean - - outputProfileModeTableRow - This tag renders a selection box for user's profile mode. - resources/tags/table_rows/user_profile_mode_table_row.tpl - - labelMessage - A localized message for the rendered label tag. You should use EL code here to add a label message from your bundle. - true - java.lang.String - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - - targetController - A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in. - true - - org.mxchange.jcoreee.bean.faces.BaseFacesBean - - - - outputAdminContactDataFormFields - This tag renders a fieldset for administrative purposes of contact data. - resources/tags/admin/form_data/contact/admin_form_contact_data.tpl - - allowEmptyRequiredData - 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. - false - java.lang.Boolean - - - rendered - Whether this tag is being rendered by JSF engine (default: true). - false - java.lang.Boolean - - outputAdminFaxDataFormFields This tag renders a fieldset for administrative purposes of fax data. @@ -187,7 +111,7 @@ along with this program. If not, see . outputAdminMobileDataFormFields This tag renders a fieldset for administrative purposes of mobile data. - resources/tags/admin/form_data/mobile/admin_form_mobile_data.tpl + resources/tags/admin/form_data/mobile/admin_edit_form_mobile_data.tpl mobileNumber The mobile instance that provides the data for this tag. @@ -214,14 +138,8 @@ along with this program. If not, see . outputAdminFaxPanelGrid - This tag renders a full h:panelGrid for administrative purposes for fax data. + This tag renders a full p:panelGrid for administrative purposes for fax data. resources/tags/admin/panel_grids/fax/admin_fax_data.tpl - - renderShowLink - Whether this tag is used to show mobile data (default true). - false - java.lang.Boolean - faxNumber The fax instance that provides the data for this tag. @@ -241,7 +159,13 @@ along with this program. If not, see . java.lang.Boolean - showAdminMiniLinks + renderShowLink + Whether this tag is used to show fax data (default true). + false + java.lang.Boolean + + + showAdminDropdownMenu Whether to show administrative links to other pages (default: true). false java.lang.Boolean @@ -249,11 +173,11 @@ along with this program. If not, see . outputAdminLandLinePanelGrid - This tag renders a full h:panelGrid for administrative purposes for land-line data. + This tag renders a full p:panelGrid for administrative purposes for land-line data. resources/tags/admin/panel_grids/landline/admin_landline_data.tpl renderShowLink - Whether this tag is used to show mobile data (default true). + Whether this tag is used to show land-line data (default true). false java.lang.Boolean @@ -276,7 +200,7 @@ along with this program. If not, see . java.lang.Boolean - showAdminMiniLinks + showAdminDropdownMenu Whether to show administrative links to other pages (default: true). false java.lang.Boolean @@ -284,7 +208,7 @@ along with this program. If not, see . outputAdminMobilePanelGrid - This tag renders a full h:panelGrid for administrative purposes for mobile data. + This tag renders a full p:panelGrid for administrative purposes for mobile data. resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl renderShowLink @@ -311,7 +235,7 @@ along with this program. If not, see . java.lang.Boolean - showAdminMiniLinks + showAdminDropdownMenu Whether to show administrative links to other pages (default: true). false java.lang.Boolean @@ -412,4 +336,129 @@ along with this program. If not, see . org.mxchange.jcountry.model.data.Country + + inputFaxNumberPanelGrid + This tag renders input fields for creating a fax number. + resources/tags/input/panel_grid/fax_input_panel_grid.tpl + + rendered + Whether this tag is being rendered by JSF engine (default: true). + false + java.lang.Boolean + + + targetController + A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in. + true + + org.mxchange.jcoreee.bean.faces.BaseFacesBean + + + required + Whether the fax number is a required field (default: false). + false + java.lang.Boolean + + + + inputLandLineNumberPanelGrid + This tag renders input fields for creating a land-line number. + resources/tags/input/panel_grid/landline_input_panel_grid.tpl + + rendered + Whether this tag is being rendered by JSF engine (default: true) + false + java.lang.Boolean + + + targetController + A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in. + true + + org.mxchange.jcoreee.bean.faces.BaseFacesBean + + + required + Whether the land-line number is a required field (default: false). + false + java.lang.Boolean + + + + inputMobileNumberPanelGrid + This tag renders input fields for creating a mobile number. + resources/tags/input/panel_grid/mobile_input_panel_grid.tpl + + rendered + Whether this tag is being rendered by JSF engine (default: true). + false + java.lang.Boolean + + + targetController + A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in. + true + + org.mxchange.jcoreee.bean.faces.BaseFacesBean + + + required + Whether the mobile number is a required field (default: false). + false + java.lang.Boolean + + + + outputOpeningTimesDataTable + This tag renders a full p:dataTable for opening times. + resources/tags/opening_times/opening_times_data_table.tpl + + id + An id string for this tag. + true + java.lang.String + + + value + A list of OpeningTime objects. + true + java.util.List + + + widgetVar + Identifier for this widget (e.g. JavaScript). + true + java.lang.String + + + summary + A string or EL code for table attribute of same name. + true + java.lang.String + + + emptyMessage + A string or EL code for a message shown when no row was found. + true + java.lang.String + + + headerMessage + A string or EL code for a message shown above table rows. + true + java.lang.String + + + rows + Rows to show each page. + true + java.lang.Long + + + rendered + Whether this tag is being rendered by JSF engine (default: true). + false + java.lang.Boolean + + -- 2.39.5