src/main/java/de/uapcore/lightpit/Constants.java

changeset 47
57cfb94ab99f
parent 45
cc7f082c5ef3
child 50
2a90d105edec
--- a/src/main/java/de/uapcore/lightpit/Constants.java	Wed May 13 21:46:26 2020 +0200
+++ b/src/main/java/de/uapcore/lightpit/Constants.java	Thu May 14 22:48:01 2020 +0200
@@ -40,6 +40,7 @@
 
     public static final String DYN_FRAGMENT_PATH_PREFIX = "/WEB-INF/dynamic_fragments/";
 
+    public static final String DYN_FRAGMENT_COMMIT_SUCCESSFUL = "commit-successful";
 
     /**
      * Name for the context parameter specifying the available languages.
@@ -77,6 +78,11 @@
     public static final String REQ_ATTR_SUB_MENU = fqn(AbstractLightPITServlet.class, "subMenu");
 
     /**
+     * Key for the request attribute containing the base href.
+     */
+    public static final String REQ_ATTR_BASE_HREF = fqn(AbstractLightPITServlet.class, "base_href");
+
+    /**
      * Key for the request attribute containing the full path information (servlet path + path info).
      */
     public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path");
@@ -91,6 +97,11 @@
      */
     public static final String REQ_ATTR_STYLESHEET = fqn(AbstractLightPITServlet.class, "extraCss");
 
+    /**
+     * Key for a location the page shall redirect to.
+     * Will be used in a meta element.
+     */
+    public static final String REQ_ATTR_REDIRECT_LOCATION = fqn(AbstractLightPITServlet.class, "redirectLocation");
 
     /**
      * Key for the current language selection within the session.

mercurial