01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: *
17: * $Header:$
18: */
19: package org.apache.beehive.netui.pageflow.internal;
20:
21: import org.apache.beehive.netui.pageflow.PageFlowConstants;
22:
23: public interface InternalConstants {
24: /**
25: * The page flow compiler generates this message key when the message is actually an expression for us to evaluate
26: * at runtime.
27: */
28: public static final String MESSAGE_IS_EXPRESSION_PREFIX = "NETUI-EXPRESSION:";
29: public static final int MESSAGE_IS_EXPRESSION_PREFIX_LENGTH = MESSAGE_IS_EXPRESSION_PREFIX
30: .length();
31:
32: public static final String ATTR_PREFIX = "_netui:";
33:
34: public static final String FACES_BACKING_ATTR = ATTR_PREFIX
35: + "facesBacking";
36: public static final String BACKING_CLASS_IMPLICIT_OBJECT = "backing";
37:
38: public static final String SHARED_FLOW_MODULE_PREFIX = "/-";
39: public static final int SHARED_FLOW_MODULE_PREFIX_LEN = SHARED_FLOW_MODULE_PREFIX
40: .length();
41: public static final String SHARED_FLOW_ROOT_MODULE = "/-webappRoot";
42:
43: public static final String FACES_EXTENSION = "faces";
44: public static final String JSF_EXTENSION = "jsf";
45: public static final String FACES_EXTENSION_DOT = '.' + FACES_EXTENSION;
46: public static final String JSF_EXTENSION_DOT = '.' + JSF_EXTENSION;
47:
48: public static final String INTERNAL_VAR_PREFIX = "_netui:";
49: public static final int ACTION_EXTENSION_LEN = PageFlowConstants.ACTION_EXTENSION
50: .length();
51: public static final String GLOBALAPP_MODULE_CONTEXT_PATH = "/-global";
52: public static final String GLOBALAPP_CLASSNAME = "global.Global";
53: public static final String GLOBALAPP_MEMBER_NAME = "globalApp";
54: public static final String WEBINF_DIR = "/WEB-INF";
55: public static final String BEGIN_ACTION_PATH = "/"
56: + PageFlowConstants.BEGIN_ACTION_NAME;
57: public static final String RETURNING_FORM_ATTR = ATTR_PREFIX
58: + "returningForm";
59: public static final String RETURNING_FROM_NESTING_ATTR = ATTR_PREFIX
60: + "nestedReturning";
61: public static final String CURRENT_JPF_ATTR = ATTR_PREFIX
62: + "curPageFlow";
63: public static final String CURRENT_LONGLIVED_ATTR = ATTR_PREFIX
64: + "curLongLivedModule";
65: public static final String SHARED_FLOW_ATTR_PREFIX = ATTR_PREFIX
66: + "sharedFlow:";
67: public static final String SAVED_PREVIOUS_PAGE_INFO_ATTR = ATTR_PREFIX
68: + "savedPrevPageInfo";
69:
70: public static final String NETUI_CONFIG_PATH = "/WEB-INF/beehive-netui-config.xml";
71:
72: public static final String RETURN_ACTION_VIEW_RENDERER_PARAM = ATTR_PREFIX
73: + "returnActionViewRenderer";
74:
75: /**
76: * The prefix for a button or imageButton that has an action.
77: */
78: public static final String ACTION_OVERRIDE_PREFIX = "actionOverride:";
79:
80: public static final String FACES_BACKING_EXTENSION = ".jsfb";
81: public static final String SHARED_FLOW_EXTENSION = ".jpfs";
82:
83: public static final String ANNOTATION_QUALIFIER = "org.apache.beehive.netui.pageflow.annotations.Jpf.";
84: }
|