KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > formview > FormViewConstants


1 package net.sourceforge.formview;
2
3 /**
4  *
5  * Description : Form View constants.
6  *
7  * @version 1.0.0
8  * @author <a HREF="mailto:angelo.zerr@gmail.com">Angelo ZERR</a>
9  */

10 public class FormViewConstants {
11     
12     // Default State
13
public static final String JavaDoc STATE_CREATE = "CREATE";
14     public static final String JavaDoc STATE_READ = "READ";
15     public static final String JavaDoc STATE_UPDATE = "UPDATE";
16     
17     // Default Behaviour
18
public static final String JavaDoc BEHAVIOUR_READWRITE = "READ-WRITE";
19     public static final String JavaDoc BEHAVIOUR_READONLY = "READ-ONLY";
20     public static final String JavaDoc BEHAVIOUR_INVISIBLE = "INVISIBLE";
21     public static final String JavaDoc BEHAVIOUR_ERROR = "ERROR";
22     
23     // Key of request
24
public static final String JavaDoc REQUEST_FORMVIEW_KEY = "net.sourceforge.formview.REQUEST_FORMVIEW_KEY";
25     public static final String JavaDoc REQUEST_FORMSTATE_KEY = "net.sourceforge.formview.REQUEST_FORMSTATE_KEY";
26     public static final String JavaDoc REQUEST_FORMPERMISSION_KEY = "net.sourceforge.formview.REQUEST_FORMPERMISSION_KEY";
27     
28     /**
29      * Application scope key that <code>FormViewResources</code> is stored under.
30      */

31     public final static String JavaDoc SERVLETCONTEXT_FORMVIEW_RESSOURCES_KEY =
32             "net.sourceforge.formview.SERVLETCONTEXT_FORMVIEW_RESSOURCES_KEY";
33     
34     public static final String JavaDoc ROLEDEF_DEFAULT_NAME = "ROLEDEF_DEFAULT_NAME";
35     public static final String JavaDoc ROLEDEF_OVERLOADED_BY_ROLE = "role";
36     public static final String JavaDoc ROLEDEF_OVERLOADED_BY_FIELD = "field";
37     
38     public final static String JavaDoc MAP_FORMVIEW_DEFAULT_KEY =
39          "net.sourceforge.formview.MAP_FORMVIEW_DEFAULT_KEY";
40
41     public final static String JavaDoc MERGE_WITH_STRUTS_ACTIONERRORS =
42         "net.sourceforge.formview.MERGE_WITH_STRUTS_ACTIONERRORS";
43     
44     
45 }
46
Popular Tags