]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/WEB-INF/web.xml
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / web.xml
index 5a768a25598b18dcf15f39c1ee02691b8f5c1a61..bca788446b555a0963a189dfcbec057bc3e1a32e 100644 (file)
@@ -3,43 +3,68 @@
     <description>An application for handling and sending out applications to companies.</description>
     <display-name>JJobs v1.0</display-name>
     <context-param>
-        <description>Project stage.</description>
-        <param-name>javax.faces.PROJECT_STAGE</param-name>
-        <param-value>Development</param-value>
+        <description>Name of this project.</description>
+        <param-name>project_title</param-name>
+        <param-value>JJobs</param-value>
     </context-param>
     <context-param>
-        <description>Whether the multi-page registration page or a single registration page is active</description>
-        <param-name>is_feature_user_register_multiple_page_enabled</param-name>
-        <param-value>true</param-value>
+        <description>Primefaces theme</description>
+        <param-name>primefaces.THEME</param-name>
+        <param-value>bootstrap</param-value>
     </context-param>
     <context-param>
-        <description>Whether a user name is required for this application.</description>
-        <param-name>is_feature_user_name_required_enabled</param-name>
+        <description>Whether PrimeFaces should collect all scripts and bundle it automatically.</description>
+        <param-name>primefaces.COLLECT_SCRIPTS</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
-        <description>Whether "resend confirmation link" is enabled.</description>
-        <param-name>is_feature_user_resend_confirmation_link_enabled</param-name>
+        <description>Refresh perioid of facelets.</description>
+        <param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name>
+        <param-value>-1</param-value>
+    </context-param>
+    <context-param>
+        <description>State saving method</description>
+        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+        <param-value>client</param-value>
+    </context-param>
+    <context-param>
+        <description>Development mode for WELD, keep disabled unless really needed. Currently it messes up the website.</description>
+        <param-name>org.jboss.weld.development</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
-        <description>Whether default timezone is set from system's timezone</description>
+        <description>Generic custom JSF tags library</description>
+        <param-name>javax.faces.FACELETS_LIBRARIES</param-name>
+        <param-value>/WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml;/WEB-INF/project-links.jsf.taglib.xml</param-value>
+    </context-param>
+    <context-param>
+        <description>Project stage</description>
+        <param-name>javax.faces.PROJECT_STAGE</param-name>
+        <param-value>Development</param-value>
+    </context-param>
+    <context-param>
+        <description>Whether the date converter's default timezone is system's timezone.</description>
         <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
-        <description>Whether the guest menu is enabled/shown to the user.</description>
-        <param-name>is_feature_guest_menu_enabled</param-name>
+        <description>All empty strings should be converted to null.</description>
+        <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
-        <description>Whether recovery of user passwords is enabled.</description>
-        <param-name>is_feature_user_password_recovery_enabled</param-name>
+        <description>Whether the multi-page registration page or a single registration page is active</description>
+        <param-name>is_feature_user_register_multiple_page_enabled</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
-        <description>Wether the gender is required for using the general contact controller.</description>
-        <param-name>is_feature_general_gender_enabled</param-name>
+        <description>Whether a user name is required for this application.</description>
+        <param-name>is_feature_user_login_require_user_name_enabled</param-name>
+        <param-value>true</param-value>
+    </context-param>
+    <context-param>
+        <description>Whether "resend confirmation link" is enabled.</description>
+        <param-name>is_feature_user_resend_confirmation_link_enabled</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
         <param-value>true</param-value>
     </context-param>
     <context-param>
-        <description>Wether the gender is required for using the general contact controller.</description>
-        <param-name>is_feature_general_gender_enabled</param-name>
+        <description>Whether the personal title is required for using the general contact controller.</description>
+        <param-name>is_feature_general_personal_title_enabled</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
-        <description>Whether gender is required for administrative contact controller.</description>
-        <param-name>is_feature_admin_gender_enabled</param-name>
+        <description>Whether personal title is required for administrative contact controller.</description>
+        <param-name>is_feature_admin_personal_title_enabled</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
         <param-value>true</param-value>
     </context-param>
     <context-param>
-        <description>Whether users must change password after login (with current password). Administrators can enforce this.</description>
+        <description>Feature: Users must change password after login (with current password). Administrators can enforce this.</description>
         <param-name>is_feature_user_must_change_password_enabled</param-name>
         <param-value>true</param-value>
     </context-param>
         <param-value>false</param-value>
     </context-param>
     <context-param>
-        <description>Whether the can change email address.</description>
-        <param-name>is_feature_user_change_email_address_enabled</param-name>
-        <param-value>true</param-value>
+        <description>Whether user can leave both passwords empty on registration. Then a random password will be created.</description>
+        <param-name>is_feature_allow_user_registration_empty_password_enabled</param-name>
+        <param-value>false</param-value>
     </context-param>
     <context-param>
-        <description>Whether the public user profile is enabled.</description>
-        <param-name>is_public_profile_enabled</param-name>
+        <description>Whether business contacts are used in this project.</description>
+        <param-name>is_feature_basic_company_data_enabled</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
-        <description>Minimum password score (default 50 may be to low)</description>
-        <param-name>min_user_password_score</param-name>
-        <param-value>50</param-value>
+        <description>Whether company employees are used in this project. Maybe used in conjuction with business contacts only.</description>
+        <param-name>is_feature_company_employee_enabled</param-name>
+        <param-value>true</param-value>
     </context-param>
     <context-param>
         <description>Maximum passwords that must be different.</description>
         <param-value>false</param-value>
     </context-param>
     <context-param>
-        <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
+        <description>Whether the public user profile is enabled. If this option is enabled, the setting "is_user_login_require_user_name" must also be enabled as it is mandadory.</description>
+        <param-name>is_public_profile_enabled</param-name>
+        <param-value>true</param-value>
+    </context-param>
+    <context-param>
+        <description>Whether user names are required for completing registration.</description>
+        <param-name>is_user_login_require_user_name</param-name>
         <param-value>true</param-value>
     </context-param>
+    <context-param>
+        <description>Minimum password score (default 50 may be to low)</description>
+        <param-name>min_user_password_score</param-name>
+        <param-value>50</param-value>
+    </context-param>
     <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
+    <servlet>
+        <servlet-name>pdf</servlet-name>
+        <servlet-class>org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet</servlet-class>
+    </servlet>
     <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>/faces/*</url-pattern>
     </servlet-mapping>
+    <mime-mapping>
+        <extension>tpl</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <servlet-mapping>
+        <servlet-name>pdf</servlet-name>
+        <url-pattern>/customer/recipt.pdf</url-pattern>
+    </servlet-mapping>
     <session-config>
         <session-timeout>
             30
         </session-timeout>
-        <cookie-config>
-            <http-only>true</http-only>
-        </cookie-config>
     </session-config>
     <welcome-file-list>
         <welcome-file>faces/index.xhtml</welcome-file>
         <display-name>AdminConstraint</display-name>
         <web-resource-collection>
             <web-resource-name>admin</web-resource-name>
-            <description>Administrative area</description>
+            <description>Administrative Area</description>
             <url-pattern>/faces/admin/*</url-pattern>
         </web-resource-collection>
         <auth-constraint>
-            <description>Admin authentication</description>
+            <description>Administrative Area Login</description>
             <role-name>admin</role-name>
         </auth-constraint>
     </security-constraint>
-    <mime-mapping>
-        <extension>tpl</extension>
-        <mime-type>text/plain</mime-type>
-    </mime-mapping>
     <login-config>
         <auth-method>BASIC</auth-method>
         <realm-name>file</realm-name>
     </login-config>
     <security-role>
-        <description>Administrativre rule</description>
+        <description>Administrative role</description>
         <role-name>admin</role-name>
     </security-role>
 </web-app>