38 public final class Constants { |
38 public final class Constants { |
39 public static final String JSP_PATH_PREFIX = "/WEB-INF/jsp/"; |
39 public static final String JSP_PATH_PREFIX = "/WEB-INF/jsp/"; |
40 |
40 |
41 public static final String DYN_FRAGMENT_PATH_PREFIX = "/WEB-INF/dynamic_fragments/"; |
41 public static final String DYN_FRAGMENT_PATH_PREFIX = "/WEB-INF/dynamic_fragments/"; |
42 |
42 |
|
43 public static final String DYN_FRAGMENT_COMMIT_SUCCESSFUL = "commit-successful"; |
43 |
44 |
44 /** |
45 /** |
45 * Name for the context parameter specifying the available languages. |
46 * Name for the context parameter specifying the available languages. |
46 */ |
47 */ |
47 public static final String CTX_ATTR_LANGUAGES = "available-languages"; |
48 public static final String CTX_ATTR_LANGUAGES = "available-languages"; |
75 * Key for the request attribute containing the sub menu list. |
76 * Key for the request attribute containing the sub menu list. |
76 */ |
77 */ |
77 public static final String REQ_ATTR_SUB_MENU = fqn(AbstractLightPITServlet.class, "subMenu"); |
78 public static final String REQ_ATTR_SUB_MENU = fqn(AbstractLightPITServlet.class, "subMenu"); |
78 |
79 |
79 /** |
80 /** |
|
81 * Key for the request attribute containing the base href. |
|
82 */ |
|
83 public static final String REQ_ATTR_BASE_HREF = fqn(AbstractLightPITServlet.class, "base_href"); |
|
84 |
|
85 /** |
80 * Key for the request attribute containing the full path information (servlet path + path info). |
86 * Key for the request attribute containing the full path information (servlet path + path info). |
81 */ |
87 */ |
82 public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path"); |
88 public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path"); |
83 |
89 |
84 /** |
90 /** |
89 /** |
95 /** |
90 * Key for the name of the additional stylesheet used by a module. |
96 * Key for the name of the additional stylesheet used by a module. |
91 */ |
97 */ |
92 public static final String REQ_ATTR_STYLESHEET = fqn(AbstractLightPITServlet.class, "extraCss"); |
98 public static final String REQ_ATTR_STYLESHEET = fqn(AbstractLightPITServlet.class, "extraCss"); |
93 |
99 |
|
100 /** |
|
101 * Key for a location the page shall redirect to. |
|
102 * Will be used in a meta element. |
|
103 */ |
|
104 public static final String REQ_ATTR_REDIRECT_LOCATION = fqn(AbstractLightPITServlet.class, "redirectLocation"); |
94 |
105 |
95 /** |
106 /** |
96 * Key for the current language selection within the session. |
107 * Key for the current language selection within the session. |
97 */ |
108 */ |
98 public static final String SESSION_ATTR_LANGUAGE = fqn(AbstractLightPITServlet.class, "language"); |
109 public static final String SESSION_ATTR_LANGUAGE = fqn(AbstractLightPITServlet.class, "language"); |