]> 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 63afe9e777c28b8db9674c1b34a0e802a5ef290a..d471bb7b8da293dd228449d7770f9c94733c0d49 100644 (file)
@@ -2,15 +2,35 @@
 <web-app version="3.1" 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-app_3_1.xsd">
     <description>An application for handling and sending out applications to companies.</description>
     <display-name>JJobs v1.0</display-name>
+    <context-param>
+        <description>Name of this project.</description>
+        <param-name>project_title</param-name>
+        <param-value>JJobs</param-value>
+    </context-param>
+    <context-param>
+        <description>Primefaces theme</description>
+        <param-name>primefaces.THEME</param-name>
+        <param-value>bootstrap</param-value>
+    </context-param>
+    <context-param>
+        <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>server</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>false</param-value>
+        <param-value>true</param-value>
     </context-param>
     <context-param>
         <description>Generic custom JSF tags library</description>
         <param-name>javax.faces.FACELETS_LIBRARIES</param-name>
-        <param-value>/WEB-INF/widgets.jsf.taglib.xml</param-value>
+        <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-value>false</param-value>
     </context-param>
     <context-param>
-        <description>Whether user can leave both passwords empty on registration.</description>
+        <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>
         <param-name>is_feature_basic_company_data_enabled</param-name>
         <param-value>true</param-value>
     </context-param>
+    <context-param>
+        <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-name>max_user_password_history</param-name>