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

changeset 47
57cfb94ab99f
parent 45
cc7f082c5ef3
child 50
2a90d105edec
     1.1 --- a/src/main/java/de/uapcore/lightpit/Constants.java	Wed May 13 21:46:26 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/Constants.java	Thu May 14 22:48:01 2020 +0200
     1.3 @@ -40,6 +40,7 @@
     1.4  
     1.5      public static final String DYN_FRAGMENT_PATH_PREFIX = "/WEB-INF/dynamic_fragments/";
     1.6  
     1.7 +    public static final String DYN_FRAGMENT_COMMIT_SUCCESSFUL = "commit-successful";
     1.8  
     1.9      /**
    1.10       * Name for the context parameter specifying the available languages.
    1.11 @@ -77,6 +78,11 @@
    1.12      public static final String REQ_ATTR_SUB_MENU = fqn(AbstractLightPITServlet.class, "subMenu");
    1.13  
    1.14      /**
    1.15 +     * Key for the request attribute containing the base href.
    1.16 +     */
    1.17 +    public static final String REQ_ATTR_BASE_HREF = fqn(AbstractLightPITServlet.class, "base_href");
    1.18 +
    1.19 +    /**
    1.20       * Key for the request attribute containing the full path information (servlet path + path info).
    1.21       */
    1.22      public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path");
    1.23 @@ -91,6 +97,11 @@
    1.24       */
    1.25      public static final String REQ_ATTR_STYLESHEET = fqn(AbstractLightPITServlet.class, "extraCss");
    1.26  
    1.27 +    /**
    1.28 +     * Key for a location the page shall redirect to.
    1.29 +     * Will be used in a meta element.
    1.30 +     */
    1.31 +    public static final String REQ_ATTR_REDIRECT_LOCATION = fqn(AbstractLightPITServlet.class, "redirectLocation");
    1.32  
    1.33      /**
    1.34       * Key for the current language selection within the session.

mercurial