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

changeset 74
91d1fc2a3a14
parent 71
dca186d3911f
child 78
bb4c52bf3439
     1.1 --- a/src/main/java/de/uapcore/lightpit/Constants.java	Fri May 22 17:19:09 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/Constants.java	Fri May 22 17:26:27 2020 +0200
     1.3 @@ -36,11 +36,15 @@
     1.4   * Constants with (class) local scope are defined in their respective classes.
     1.5   */
     1.6  public final class Constants {
     1.7 +    /**
     1.8 +     * The path where the JSP files reside.
     1.9 +     */
    1.10      public static final String JSP_PATH_PREFIX = "/WEB-INF/jsp/";
    1.11  
    1.12 -    public static final String DYN_FRAGMENT_PATH_PREFIX = "/WEB-INF/dynamic_fragments/";
    1.13 -
    1.14 -    public static final String DYN_FRAGMENT_COMMIT_SUCCESSFUL = "commit-successful";
    1.15 +    /**
    1.16 +     * The name of the generic JSP page that is displayed after a successful commit.
    1.17 +     */
    1.18 +    public static final String JSP_COMMIT_SUCCESSFUL = "commit-successful";
    1.19  
    1.20      /**
    1.21       * Name for the context parameter specifying the available languages.
    1.22 @@ -83,9 +87,9 @@
    1.23      public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path");
    1.24  
    1.25      /**
    1.26 -     * Key for the name of the fragment which should be rendered.
    1.27 +     * Key for the name of the page which should be rendered.
    1.28       */
    1.29 -    public static final String REQ_ATTR_FRAGMENT = fqn(AbstractLightPITServlet.class, "fragment");
    1.30 +    public static final String REQ_ATTR_CONTENT_PAGE = fqn(AbstractLightPITServlet.class, "content-page");
    1.31  
    1.32      /**
    1.33       * Key for the name of the additional stylesheet used by a module.

mercurial