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

changeset 45
cc7f082c5ef3
parent 34
824d4042c857
child 47
57cfb94ab99f
equal deleted inserted replaced
44:835dd169642a 45:cc7f082c5ef3
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 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 JSPF_PATH_PREFIX = "/WEB-INF/jspf/";
42
43 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/";
44 42
45 43
46 /** 44 /**
47 * Name for the context parameter specifying the available languages. 45 * Name for the context parameter specifying the available languages.
62 * Name for the context parameter optionally specifying a database dialect. 60 * Name for the context parameter optionally specifying a database dialect.
63 */ 61 */
64 public static final String CTX_ATTR_DB_DIALECT = "db-dialect"; 62 public static final String CTX_ATTR_DB_DIALECT = "db-dialect";
65 63
66 /** 64 /**
67 * Key for the request attribute containing the class name of the currently dispatching module.
68 */
69 public static final String REQ_ATTR_MODULE_CLASSNAME = fqn(AbstractLightPITServlet.class, "moduleClassname");
70
71 /**
72 * Key for the request attribute containing the {@link LightPITModule} information of the currently dispatching module. 65 * Key for the request attribute containing the {@link LightPITModule} information of the currently dispatching module.
73 */ 66 */
74 public static final String REQ_ATTR_MODULE_INFO = fqn(AbstractLightPITServlet.class, "moduleInfo"); 67 public static final String REQ_ATTR_MODULE_INFO = fqn(AbstractLightPITServlet.class, "moduleInfo");
75 68
76 /** 69 /**
77 * Key for the request attribute containing the menu list. 70 * Key for the request attribute containing the menu list.
78 */ 71 */
79 public static final String REQ_ATTR_MENU = fqn(AbstractLightPITServlet.class, "mainMenu"); 72 public static final String REQ_ATTR_MENU = fqn(AbstractLightPITServlet.class, "mainMenu");
73
74 /**
75 * Key for the request attribute containing the sub menu list.
76 */
77 public static final String REQ_ATTR_SUB_MENU = fqn(AbstractLightPITServlet.class, "subMenu");
80 78
81 /** 79 /**
82 * Key for the request attribute containing the full path information (servlet path + path info). 80 * Key for the request attribute containing the full path information (servlet path + path info).
83 */ 81 */
84 public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path"); 82 public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path");

mercurial