From 3b72156769c32a64e1b545d6f37cf0da8e630666 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 28 Apr 2020 23:03:01 +0200 Subject: [PATCH] Please cherry-pick: - added javax.faces.FACELETS_SKIP_COMMENTS to let JSF +2.1 (2.3 is used anyway) engines ignore commented out JSF tags (and the EL code inside it). With this option, the developer has what he needs, IMO as this allowws temporary removing JSF tags from the component tree as the developer desires. Okay, ui:remove is also around ... MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- web/WEB-INF/web.xml | 472 ++++++++++++++++++++++---------------------- 1 file changed, 241 insertions(+), 231 deletions(-) diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index c181c427..6aa2aa65 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -1,234 +1,244 @@ - An application for handling and sending out applications to companies. - JJobs v1.0 - - Name of this project. - project_title - JJobs - - - PrimeFaces theme - primefaces.THEME - bootstrap - - - Whether PrimeFaces should collect all scripts and bundle it automatically. - primefaces.COLLECT_SCRIPTS - true - - - Refresh period of facelets. - javax.faces.FACELETS_REFRESH_PERIOD - -1 - - - Development mode for WELD, keep disabled unless really needed. Currently it messes up the website. - org.jboss.weld.development - false - - - Generic custom JSF tags library - javax.faces.FACELETS_LIBRARIES - /WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/validators.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml;/WEB-INF/project-links.jsf.taglib.xml - - - Project stage - javax.faces.PROJECT_STAGE - Development - - - Whether the date converter's default timezone is system's timezone. - javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE - true - - - All empty strings should be converted to null. - javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL - true - - - Whether the multi-page registration page or a single registration page is active - is_feature_user_register_multiple_page_enabled - true - - - Whether a user name is required for this application. - is_feature_user_login_require_user_name_enabled - true - - - Whether "resend confirmation link" is enabled. - is_feature_user_resend_confirmation_link_enabled - true - - - Whether registration page is enabled. - is_feature_user_registration_enabled - true - - - Whether the guest menu is enabled/shown to the user. - is_feature_guest_menu_enabled - true - - - Whether the guest's index content is shown - is_feature_guest_index_content_enabled - true - - - Whether recovery of user passwords is enabled. - is_feature_user_password_recovery_enabled - true - - - Whether the personal title is required for using the general contact controller. - is_feature_general_personal_title_enabled - true - - - Whether personal title is required for administrative contact controller. - is_feature_admin_personal_title_enabled - true - - - Whether users are allowed to edit their user data. - is_feature_user_edit_data_enabled - true - - - Whether the user list is accessible and visible. - is_feature_user_list_enabled - true - - - Whether imprint page is enabled. - is_feature_imprint_enabled - true - - - Whether terms page is enabled. - is_feature_terms_enabled - true - - - Whether privacy page is enabled. - is_feature_privacy_enabled - true - - - Feature: Users must change password after login (with current password). Administrators can enforce this. - is_feature_user_must_change_password_enabled - true - - - Whether users are allowed to change their login password. - is_feature_change_user_password_enabled - true - - - Whether users can change their email address. - is_feature_user_must_change_email_address_enabled - true - - - Whether user registration page is in index or own page. - is_feature_user_registration_in_index_enabled - false - - - Whether user can leave both passwords empty on registration. Then a random password will be created. - is_feature_allow_user_registration_empty_password_enabled - false - - - Whether business contacts are used in this project. - is_feature_basic_data_enabled - true - - - Whether company employees are used in this project. Maybe used in conjuction with business contacts only. - is_feature_company_employee_enabled - true - - - Whether the public user profile is enabled. If this option is enabled, the setting "is_feature_user_login_require_username_enabled" must also be enabled as it is mandadory. - is_feature_public_user_profile_enabled - true - - - Whether user names are required for completing registration. - is_feature_user_login_require_username_enabled - true - - - Maximum passwords that must be different. - max_user_password_history - 5 - - - Whether debugging of registration form is enabled. - is_debug_register_enabled - false - - - Whether user names are required for completing registration. - is_user_login_require_user_name - true - - - Minimum password score (default 50 may be to low) - min_user_password_score - 50 - - - Faces Servlet - javax.faces.webapp.FacesServlet - 1 - - - pdf - org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet - - - Faces Servlet - /faces/* - - - tpl - text/plain - - - pdf - /customer/recipt.pdf - - - - 30 - - - - faces/index.xhtml - - - AdminConstraint - - admin - Administrative Area - /faces/admin/* - - - Administrative Area Login - admin - - - - BASIC - file - - - Administrative role - admin - + An application to handle all your receipts and do some calculation with it. + JJobs Application v1.0 + + Name of this project. + project_title + JJobs + + + PrimeFaces theme + primefaces.THEME + bootstrap + + + Whether PrimeFaces should collect all scripts and bundle it automatically. + primefaces.COLLECT_SCRIPTS + true + + + Refresh period of facelets. + javax.faces.FACELETS_REFRESH_PERIOD + -1 + + + Development mode for WELD, keep disabled unless really needed. Currently it messes up the website. + org.jboss.weld.development + false + + + Generic custom JSF tags library + javax.faces.FACELETS_LIBRARIES + /WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/validators.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml;/WEB-INF/project-links.jsf.taglib.xml;;/WEB-INF/product-links.jsf.taglib.xml + + + Project stage + javax.faces.PROJECT_STAGE + Development + + + Whether the date converter's default timezone is system's timezone. + javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE + true + + + All empty strings should be converted to null. + javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL + true + + + Bar-code type for products + product_barcode_type + ean13 + + + Whether the multi-page registration page or a single registration page is active + is_feature_user_register_multiple_page_enabled + true + + + Whether a user name is required for this application. + is_feature_user_login_require_user_name_enabled + true + + + Whether "resend confirmation link" is enabled. + is_feature_user_resend_confirmation_link_enabled + true + + + Whether registration page is enabled. + is_feature_user_registration_enabled + true + + + Whether the guest menu is enabled/shown to the user. + is_feature_guest_menu_enabled + true + + + Whether the guest's index content is shown + is_feature_guest_index_content_enabled + true + + + Whether recovery of user passwords is enabled. + is_feature_user_password_recovery_enabled + true + + + Whether the personal title is required for using the general contact controller. + is_feature_general_personal_title_enabled + true + + + Whether personal title is required for administrative contact controller. + is_feature_admin_personal_title_enabled + true + + + Whether users are allowed to edit their user data. + is_feature_user_edit_data_enabled + true + + + Whether the user list is accessible and visible. + is_feature_user_list_enabled + true + + + Whether imprint page is enabled. + is_feature_imprint_enabled + true + + + Whether terms page is enabled. + is_feature_terms_enabled + true + + + Whether privacy page is enabled. + is_feature_privacy_enabled + true + + + Feature: Users must change password after login (with current password). Administrators can enforce this. + is_feature_user_must_change_password_enabled + true + + + Whether users are allowed to change their login password. + is_feature_change_user_password_enabled + true + + + Whether users can change their email address. + is_feature_user_must_change_email_address_enabled + true + + + Whether user registration page is in index or own page. + is_feature_user_registration_in_index_enabled + false + + + Whether user can leave both passwords empty on registration. Then a random password will be created. + is_feature_allow_user_registration_empty_password_enabled + false + + + Whether business contacts are used in this project. + is_feature_basic_data_enabled + true + + + Whether company employees are used in this project. Maybe used in conjuction with business contacts only. + is_feature_company_employee_enabled + true + + + Whether the public user profile is enabled. If this option is enabled, the setting "is_feature_user_login_require_username_enabled" must also be enabled as it is mandadory. + is_feature_public_user_profile_enabled + true + + + Whether user names are required for completing registration. + is_feature_user_login_require_username_enabled + true + + + Maximum passwords that must be different. + max_user_password_history + 5 + + + Whether debugging of registration form is enabled. + is_debug_register_enabled + false + + + Minimum password score (default 50 may be to low) + min_user_password_score + 50 + + + Type of receipt barcode (see p:barcode) + receipt_barcode_type + codabar + + + Ignore menu items with only comments in it. + javax.faces.FACELETS_SKIP_COMMENTS + true + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + pdf + org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet + + + Faces Servlet + /faces/* + + + tpl + text/plain + + + pdf + /customer/recipt.pdf + + + + 30 + + + + faces/index.xhtml + + + AdminConstraint + + admin + Administrative Area + /faces/admin/* + + + Administrative Area Login + admin + + + + BASIC + file + + + Administrative role + admin + -- 2.39.5