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