1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kns.uif; |
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | 0 | public class UifConstants { |
25 | |
private static final long serialVersionUID = 3935664282036793486L; |
26 | |
|
27 | |
public static final String CONTROLLER_METHOD_DISPATCH_PARAMETER_NAME = "methodToCall"; |
28 | |
|
29 | |
public static final String DEFAULT_MODEL_NAME = "KualiForm"; |
30 | |
public static final String DEFAULT_VIEW_NAME = "default"; |
31 | |
public static final String SPRING_VIEW_ID = "ApplicationView"; |
32 | |
|
33 | 0 | public static class Position { |
34 | |
public static final String BOTTOM = "BOTTOM"; |
35 | |
public static final String LEFT = "LEFT"; |
36 | |
public static final String RIGHT = "RIGHT"; |
37 | |
public static final String TOP = "TOP"; |
38 | |
} |
39 | |
|
40 | 0 | public static class NavigationType { |
41 | |
public static final String VERTICAL_MENU = "VERTICAL_MENU"; |
42 | |
public static final String HORIZONTAL_TABS = "HORIZONTAL_TABS"; |
43 | |
} |
44 | |
|
45 | 0 | public static class Orientation { |
46 | |
public static final String HORIZONTAL = "HORIZONTAL"; |
47 | |
public static final String VERTICAL = "VERTICAL"; |
48 | |
} |
49 | |
|
50 | 0 | public static class MessageType { |
51 | |
public static final String NORMAL = "NORMAL"; |
52 | |
public static final String SUMMARY = "SUMMARY"; |
53 | |
public static final String CONSTRAINT = "CONSTRAINT"; |
54 | |
public static final String REQUIRED = "REQUIRED"; |
55 | |
} |
56 | |
|
57 | 0 | public static class ViewType { |
58 | |
public static final String DEFAULT = "DEFAULT"; |
59 | |
public static final String INQUIRY = "INQUIRY"; |
60 | |
public static final String LOOKUP = "LOOKUP"; |
61 | |
public static final String MAINTENANCE = "MAINTENANCE"; |
62 | |
public static final String TRANSACTIONAL = "TRANSACTIONAL"; |
63 | |
} |
64 | |
|
65 | |
|
66 | 0 | public static class ViewTypeParameterNames { |
67 | |
public static final String NAME = "name"; |
68 | |
public static final String DATA_OBJECT_CLASS_NAME = "dataObjectClassName"; |
69 | |
} |
70 | |
|
71 | 0 | public static class MethodToCallNames { |
72 | |
public static final String NAVIGATE = "navigate"; |
73 | |
public static final String START = "start"; |
74 | |
public static final String SAVE = "save"; |
75 | |
public static final String SEARCH = "search"; |
76 | |
public static final String CLOSE = "close"; |
77 | |
public static final String ADD_LINE = "addLine"; |
78 | |
public static final String DELETE_LINE = "deleteLine"; |
79 | |
public static final String REFRESH = "refresh"; |
80 | |
} |
81 | |
|
82 | 0 | public static class LayoutComponentOptions { |
83 | |
public static final String COLUMN_SPAN = "colSpan"; |
84 | |
public static final String ROW_SPAN = "rowSpan"; |
85 | |
} |
86 | |
|
87 | 0 | public static class IdSuffixes { |
88 | |
public static final String ADD_LINE = "_addLine"; |
89 | |
public static final String ATTRIBUTE = "_attribute"; |
90 | |
public static final String CONSTRAINT = "_constraint"; |
91 | |
public static final String DIV = "_div"; |
92 | |
public static final String ERRORS = "_errors"; |
93 | |
public static final String LABEL = "_label"; |
94 | |
public static final String SUMMARY = "_summary"; |
95 | |
public static final String QUICK_FINDER = "_quickfinder"; |
96 | |
} |
97 | |
|
98 | 0 | public static class ViewPhases { |
99 | |
public static final String INITIALIZE = "INITIALIZE"; |
100 | |
public static final String APPLY_MODEL = "APPLY_MODEL"; |
101 | |
public static final String FINALIZE = "FINALIZE"; |
102 | |
} |
103 | |
|
104 | 0 | public static class ViewStatus { |
105 | |
public static final String CREATED = "C"; |
106 | |
public static final String INITIALIZED = "I"; |
107 | |
public static final String FINAL = "F"; |
108 | |
} |
109 | |
|
110 | |
public static final String EL_PLACEHOLDER_PREFIX = "@{"; |
111 | |
public static final String EL_PLACEHOLDER_SUFFIX = "}"; |
112 | |
public static final String EL_CONDITIONAL_PROPERTY_PREFIX = "conditional"; |
113 | |
|
114 | 0 | public static class ContextVariableNames { |
115 | |
public static final String CONFIG_PROPERTIES = "ConfigProperties"; |
116 | |
public static final String COMPONENT = "component"; |
117 | |
public static final String CONSTANTS = "Constants"; |
118 | |
public static final String INDEX = "index"; |
119 | |
public static final String LINE = "line"; |
120 | |
public static final String MANAGER = "manager"; |
121 | |
public static final String PARENT = "parent"; |
122 | |
public static final String VIEW = "view"; |
123 | |
} |
124 | |
|
125 | 0 | public static class TableToolsKeys{ |
126 | |
public static final String SDOM = "sDom"; |
127 | |
public static final String LANGUAGE = "oLanguage"; |
128 | |
public static final String EMPTY_TABLE = "sEmptyTable"; |
129 | |
public static final String AO_COLUMNS = "aoColumns"; |
130 | |
public static final String SORT_SKIP_ROWS = "aiSortingSkipRows"; |
131 | |
public static final String SORT_DATA_TYPE = "sSortDataType"; |
132 | |
public static final String SORTABLE = "bSortable"; |
133 | |
public static final String SORT_TYPE = "sType"; |
134 | |
public static final String TABLE_SORT = "bSort"; |
135 | |
} |
136 | |
|
137 | 0 | public static class TableToolsValues{ |
138 | |
public static final String DOM_TEXT = "dom-text"; |
139 | |
public static final String NUMERIC = "numeric"; |
140 | |
public static final String DATE = "kuali_date"; |
141 | |
public static final int ADD_ROW_DEFAULT_INDEX = 0; |
142 | |
} |
143 | |
} |