KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > netui > pageflow > internal > InternalConstants


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * $Header:$
17  */

18 package org.apache.beehive.netui.pageflow.internal;
19
20 import org.apache.beehive.netui.pageflow.PageFlowConstants;
21
22 public interface InternalConstants
23 {
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 JavaDoc MESSAGE_IS_EXPRESSION_PREFIX = "NETUI-EXPRESSION:";
29     public static final int MESSAGE_IS_EXPRESSION_PREFIX_LENGTH = MESSAGE_IS_EXPRESSION_PREFIX.length();
30     
31     public static final String JavaDoc ATTR_PREFIX = "_netui:";
32     
33     public static final String JavaDoc FACES_BACKING_ATTR = ATTR_PREFIX + "facesBacking";
34     public static final String JavaDoc BACKING_CLASS_IMPLICIT_OBJECT = "backing";
35
36     public static final String JavaDoc SHARED_FLOW_MODULE_PREFIX = "/-";
37     public static final int SHARED_FLOW_MODULE_PREFIX_LEN = SHARED_FLOW_MODULE_PREFIX.length();
38     public static final String JavaDoc SHARED_FLOW_ROOT_MODULE = "/-webappRoot";
39     
40     public static final String JavaDoc FACES_EXTENSION = "faces";
41     public static final String JavaDoc JSF_EXTENSION = "jsf";
42     public static final String JavaDoc FACES_EXTENSION_DOT = '.' + FACES_EXTENSION;
43     public static final String JavaDoc JSF_EXTENSION_DOT = '.' + JSF_EXTENSION;
44     
45     public static final String JavaDoc INTERNAL_VAR_PREFIX = "_netui:";
46     public static final int ACTION_EXTENSION_LEN = PageFlowConstants.ACTION_EXTENSION.length();
47     public static final String JavaDoc GLOBALAPP_MODULE_CONTEXT_PATH = "/-global";
48     public static final String JavaDoc GLOBALAPP_CLASSNAME = "global.Global";
49     public static final String JavaDoc GLOBALAPP_MEMBER_NAME = "globalApp";
50     public static final String JavaDoc WEBINF_DIR = "/WEB-INF";
51     public static final String JavaDoc BEGIN_ACTION_PATH = "/" + PageFlowConstants.BEGIN_ACTION_NAME;
52     public static final String JavaDoc RETURNING_FORM_ATTR = ATTR_PREFIX + "returningForm";
53     public static final String JavaDoc RETURNING_FROM_NESTING_ATTR = ATTR_PREFIX + "nestedReturning";
54     public static final String JavaDoc CURRENT_JPF_ATTR = ATTR_PREFIX + "curPageFlow";
55     public static final String JavaDoc CURRENT_LONGLIVED_ATTR = ATTR_PREFIX + "curLongLivedModule";
56     public static final String JavaDoc SHARED_FLOW_ATTR_PREFIX = ATTR_PREFIX + "sharedFlow:";
57
58     public static final String JavaDoc NETUI_CONFIG_PATH = "/WEB-INF/beehive-netui-config.xml";
59     
60     public static final String JavaDoc RETURN_ACTION_VIEW_RENDERER_PARAM = ATTR_PREFIX + "returnActionViewRenderer";
61     
62     /**
63      * The prefix for a button or imageButton that has an action.
64      */

65     public static final String JavaDoc ACTION_OVERRIDE_PREFIX = "actionOverride:";
66     
67     public static final String JavaDoc FACES_BACKING_EXTENSION = ".jsfb";
68     public static final String JavaDoc SHARED_FLOW_EXTENSION = ".jpfs";
69     
70     public static final String JavaDoc ANNOTATION_QUALIFIER = "org.apache.beehive.netui.pageflow.annotations.Jpf.";
71 }
72
Popular Tags