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

changeset 74
91d1fc2a3a14
parent 71
dca186d3911f
child 78
bb4c52bf3439
equal deleted inserted replaced
73:672b5003cafe 74:91d1fc2a3a14
34 * Contains all non-local scope constants used by the this application. 34 * Contains all non-local scope constants used by the this application.
35 * <p> 35 * <p>
36 * Constants with (class) local scope are defined in their respective classes. 36 * Constants with (class) local scope are defined in their respective classes.
37 */ 37 */
38 public final class Constants { 38 public final class Constants {
39 /**
40 * The path where the JSP files reside.
41 */
39 public static final String JSP_PATH_PREFIX = "/WEB-INF/jsp/"; 42 public static final String JSP_PATH_PREFIX = "/WEB-INF/jsp/";
40 43
41 public static final String DYN_FRAGMENT_PATH_PREFIX = "/WEB-INF/dynamic_fragments/"; 44 /**
42 45 * The name of the generic JSP page that is displayed after a successful commit.
43 public static final String DYN_FRAGMENT_COMMIT_SUCCESSFUL = "commit-successful"; 46 */
47 public static final String JSP_COMMIT_SUCCESSFUL = "commit-successful";
44 48
45 /** 49 /**
46 * Name for the context parameter specifying the available languages. 50 * Name for the context parameter specifying the available languages.
47 */ 51 */
48 public static final String CTX_ATTR_LANGUAGES = "available-languages"; 52 public static final String CTX_ATTR_LANGUAGES = "available-languages";
81 * Key for the request attribute containing the full path information (servlet path + path info). 85 * Key for the request attribute containing the full path information (servlet path + path info).
82 */ 86 */
83 public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path"); 87 public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path");
84 88
85 /** 89 /**
86 * Key for the name of the fragment which should be rendered. 90 * Key for the name of the page which should be rendered.
87 */ 91 */
88 public static final String REQ_ATTR_FRAGMENT = fqn(AbstractLightPITServlet.class, "fragment"); 92 public static final String REQ_ATTR_CONTENT_PAGE = fqn(AbstractLightPITServlet.class, "content-page");
89 93
90 /** 94 /**
91 * Key for the name of the additional stylesheet used by a module. 95 * Key for the name of the additional stylesheet used by a module.
92 */ 96 */
93 public static final String REQ_ATTR_STYLESHEET = fqn(AbstractLightPITServlet.class, "extraCss"); 97 public static final String REQ_ATTR_STYLESHEET = fqn(AbstractLightPITServlet.class, "extraCss");

mercurial