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 public class UifConstants {
24 public static final String CONTROLLER_METHOD_DISPATCH_PARAMETER_NAME = "methodToCall";
25 public static final String DEFAULT_MODEL_NAME = "KualiForm";
26 public static final String COMPONENT_MODEL_NAME = "Component";
27 public static final String DEFAULT_VIEW_NAME = "default";
28 public static final String COMPONENT_ID_PREFIX = "u";
29 public static final String SUFFIX_SEPARATOR = "_";
30
31 public static final String DEFAULT_THEMES_DIRECTORY = "/themes";
32 public static final String DEFAULT_IMAGES_DIRECTORY = "images";
33 public static final String DEFAULT_SCRIPTS_DIRECTORY = "scripts";
34 public static final String DEFAULT_STYLESHEETS_DIRECTORY = "stylesheets";
35 public static final String THEME_DERIVED_PROPERTY_FILE = "theme-derived.properties";
36 public static final String THEME_CSS_FILES = "themeCssFiles";
37 public static final String THEME_JS_FILES = "themeJsFiles";
38 public static final String THEME_DEV_JS_FILES = "devJsIncludes";
39 public static final String THEME_LESS_FILES = "themeLessFiles";
40
41 public static final String SPRING_VIEW_ID = "/krad/WEB-INF/ftl/uifRender";
42 public static final String SPRING_REDIRECT_ID = "/krad/WEB-INF/ftl/redirect";
43 public static final String REDIRECT_PREFIX = "redirect:";
44
45 public static final String EL_PLACEHOLDER_PREFIX = "@{";
46 public static final String EL_PLACEHOLDER_SUFFIX = "}";
47 public static final String NO_BIND_ADJUST_PREFIX = "#form.";
48 public static final String DEFAULT_PATH_BIND_ADJUST_PREFIX = "#dp.";
49 public static final String FIELD_PATH_BIND_ADJUST_PREFIX = "#fp.";
50 public static final String LINE_PATH_BIND_ADJUST_PREFIX = "#lp.";
51 public static final String NODE_PATH_BIND_ADJUST_PREFIX = "#np.";
52 public static final String STRING_TEMPLATE_PARAMETER_PLACEHOLDER = "@";
53
54 public static final String SPACE = " ";
55
56 public static final String REQUEST_FORM = "requestForm";
57
58 public static final String BLOCKUI_NAVOPTS = "navigation";
59 public static final String BLOCKUI_REFRESHOPTS = "refresh";
60
61 public static final String VALIDATE_VIEWS_ONBUILD = "validate.views.onbuild";
62
63 public static final String MESSAGE_VIEW_ID = "Uif-MessageView";
64 public static final String SESSION_TIMEOUT_VIEW_ID = "Uif-SessionTimeoutView";
65 public static final String LOGGED_OUT_VIEW_ID = "Uif-LoggedOutView";
66 public static final String GROUP_VALIDATION_DEFAULTS_MAP_ID = "Uif-GroupValidationMessages-DataDefaults";
67 public static final String FIELD_VALIDATION_DEFAULTS_MAP_ID = "Uif-FieldValidationMessages-DataDefaults";
68 public static final String ACTION_DEFAULTS_MAP_ID = "Uif-Action-DataDefaults";
69 public static final String REQUIRED_INDICATOR_ID = "Uif-RequiredIndicator";
70 public static final String REQUIRED_NEXT_STATE_INDICATOR_ID = "Uif-RequiredIndicator-ForNextState";
71 public static final String REFERER = "Referer";
72 public static final String NO_RETURN = "";
73
74 public static final String EXPORT_FILE_NAME = "export.xml";
75 public static final String KUALI_FORM_ATTR = "KualiForm";
76
77 public static final String ICON_ONLY_PLACEMENT = "ICON_ONLY";
78 public static final String PROPERTY_EDITOR_REGISTRY = "rice.krad.uif.propertyEditorRegistry";
79
80 public static enum ReadOnlyListTypes {
81 DELIMITED, BREAK, OL, UL
82 }
83
84 public static enum Position {
85 BOTTOM, LEFT, RIGHT, TOP
86 }
87
88 public static enum Order {
89 FIRST, LINE_FIRST, NEXT_INPUT, SELF
90 }
91
92 public static enum NavigationType {
93 VERTICAL_MENU, HORIZONTAL_TABS
94 }
95
96 public static enum Orientation {
97 HORIZONTAL, VERTICAL
98 }
99
100 public static enum ViewType {
101 DEFAULT, DOCUMENT, INQUIRY, LOOKUP, MAINTENANCE, INCIDENT, TRANSACTIONAL;
102 }
103
104 public static enum ControlType {
105 CHECKBOX, CHECKBOXGROUP, FILE, GROUP, HIDDEN, RADIOGROUP, SELECT,
106 TEXTAREA, TEXT, USER
107 }
108
109 public static enum WorkflowAction {
110 SAVE, ROUTE, BLANKETAPPROVE, APPROVE, DISAPPROVE, CANCEL, FYI, ACKNOWLEDGE, COMPLETE, SENDADHOCREQUESTS, RECALL
111 }
112
113 public static enum SuperUserWorkflowAction {
114 TAKEACTION, APPROVE, DISAPPROVE
115 }
116
117
118
119
120 public enum AjaxReturnTypes {
121 UPDATEPAGE("update-page"), UPDATECOMPONENT("update-component"), REDIRECT("redirect"),
122 UPDATEVIEW("update-view"), UPDATENONE("update-none"), DISPLAYLIGHTBOX("display-lightbox"),
123 UPDATEDIALOG("update-dialog");
124
125 private String key;
126
127 AjaxReturnTypes(String key) {
128 this.key = key;
129 }
130
131 public String getKey() {
132 return key;
133 }
134
135 public void setKey(String key) {
136 this.key = key;
137 }
138 }
139
140 public static enum WindowTargets {
141 _blank, _self, _parent, _top
142 }
143
144 public static enum DialogDismissOption {
145 IMMEDIATE, PRESUBMIT, REQUEST
146 }
147
148 public enum WizardAction {
149 NONE(0), BACK(-1), CONTINUE(1);
150
151 private int step;
152
153 WizardAction(int step) {
154 this.step = step;
155 }
156
157 public int getStep() {
158 return step;
159 }
160
161 public void setStep(int step) {
162 this.step = step;
163 }
164 }
165
166 public static class ControllerMappings {
167 public static final String EXPORT = "export";
168 }
169
170 public static class MethodToCallNames {
171 public static final String NAVIGATE = "navigate";
172 public static final String START = "start";
173 public static final String SAVE = "save";
174 public static final String SEARCH = "search";
175 public static final String CLOSE = "close";
176 public static final String CLOSE_EDIT_LINE_DIALOG = "closeEditLineDialog";
177 public static final String ADD_LINE = "addLine";
178 public static final String DELETE_LINE = "deleteLine";
179 public static final String REFRESH = "refresh";
180 public static final String CANCEL = "cancel";
181 public static final String RETRIEVE_EDIT_LINE_DIALOG = "retrieveEditLineDialog";
182 public static final String SESSION_TIMEOUT = "sessionTimeout";
183 public static final String TABLE_JSON = "tableJsonRetrieval";
184 public static final String TABLE_DATA = "tableDataRetrieval";
185 public static final String TABLE_XML = "tableXmlRetrieval";
186 public static final String INQUIRY_XML = "inquiryXmlRetrieval";
187 public static final String TABLE_CSV = "tableCsvRetrieval";
188 public static final String TABLE_XLS = "tableXlsRetrieval";
189 public static final String DISPLAY_SUPER_USER_DOCUMENT = "displaySuperUserDocument";
190 }
191
192 public static class ActionEvents {
193 public static final String ADD_LINE = "addLine";
194 public static final String ADD_BLANK_LINE = "addBlankLine";
195 public static final String EDIT_LINE = "editLine";
196 }
197
198 public static class LayoutComponentOptions {
199 public static final String COLUMN_SPAN = "colSpan";
200 public static final String ROW_SPAN = "rowSpan";
201 }
202
203 public static class RowSelection {
204 public static final String ALL = "all";
205 public static final String ODD = "odd";
206 public static final String EVEN = "even";
207 }
208
209 public static class IdSuffixes {
210 public static final String ACTION = "_act";
211 public static final String ADD_LINE = "_add";
212 public static final String CONTROL = "_control";
213 public static final String ATTRIBUTE = "_attribute";
214 public static final String COLUMN = "_c";
215 public static final String COLUMN_SORTS = "_columnSorts";
216 public static final String COMPARE = "_comp";
217 public static final String CONSTRAINT = "_constraint";
218 public static final String DELETE_LINE = "_del";
219 public static final String DETAIL_LINK = "_detLink";
220 public static final String DETAIL_GROUP = "_detGroup";
221 public static final String DIALOG_GROUP = "_dialogGroup";
222 public static final String EDIT_DETAIL_BUTTON = "_editDetButton";
223 public static final String EDIT_DETAIL_GROUP = "_editDetGroup";
224 public static final String DIRECT_INQUIRY = "_directinquiry";
225 public static final String DISCLOSURE_CONTENT = "_disclosureContent";
226 public static final String ERRORS = "_errors";
227 public static final String INSTRUCTIONAL = "_instructional";
228 public static final String LINE = "_line";
229 public static final String LABEL = "_label";
230 public static final String FIELDSET = "_fieldset";
231 public static final String SUB = "_sub";
232 public static final String SUGGEST = "_suggest";
233 public static final String QUICK_FINDER = "_quickfinder";
234 public static final String SPAN = "_span";
235 public static final String TAB = "_tab";
236 public static final String HEADER_WRAPPER = "_headerWrapper";
237 public static final String HEADER_UPPER_GROUP = "_headerUpperGroup";
238 public static final String HEADER_RIGHT_GROUP = "_headerRightGroup";
239 public static final String HEADER_LOWER_GROUP = "_headerLowerGroup";
240 public static final String HELP_WRAPPER = "_helpWrapper";
241 public static final String HELP = "_help";
242 }
243
244 public static class ViewPhases {
245 public static final String INITIALIZE = "INITIALIZE";
246 public static final String APPLY_MODEL = "APPLY_MODEL";
247 public static final String FINALIZE = "FINALIZE";
248 public static final String RENDER = "RENDER";
249 public static final String PRE_PROCESS = "PRE_PROCESS";
250 }
251
252 public static class ViewStatus {
253 public static final String CACHED = "X";
254 public static final String CREATED = "C";
255 public static final String INITIALIZED = "I";
256 public static final String MODEL_APPLIED = "M";
257 public static final String FINAL = "F";
258 public static final String RENDERED = "R";
259 }
260
261 public static class PostMetadata {
262 public static final String INPUT_FIELD_ATTRIBUTE_QUERY = "attributeQuery";
263 public static final String INPUT_FIELD_SUGGEST = "suggest";
264 public static final String INPUT_FIELD_SUGGEST_QUERY = "suggestQuery";
265 public static final String INPUT_FIELD_IS_UPPERCASE = "isUppercase";
266 public static final String LABEL = "label";
267 public static final String PATH = "path";
268 public static final String SIMPLE_CONSTRAINT = "simpleConstraint";
269 public static final String VALID_CHARACTER_CONSTRAINT = "validCharacterConstraint";
270 public static final String CASE_CONSTRAINT = "caseConstraint";
271 public static final String MUST_OCCUR_CONSTRAINTS = "mustOccurConstraints";
272 public static final String PREREQ_CONSTSTRAINTS = "prerequisiteConstraints";
273 public static final String BINDING_PATH = "bindingPath";
274 public static final String BINDING_INFO = "bindingInfo";
275 public static final String ADD_LINE_BINDING_INFO = "addLineBindingInfo";
276 public static final String ADD_LINE_PLACEMENT = "addLinePlacement";
277 public static final String BASE_ID = "BASE_ID";
278 public static final String COLL_DISPLAY_START = "displayStart";
279 public static final String COLL_DISPLAY_LENGTH = "displayLength";
280 public static final String COLL_LABEL = "collectionLabel";
281 public static final String COLL_LOOKUP_FIELD_CONVERSIONS = "collectionLookup.fieldConversions";
282 public static final String COLL_OBJECT_CLASS = "collectionObjectClass";
283 public static final String DUPLICATE_LINE_PROPERTY_NAMES = "duplicateLinePropertyNames";
284 public static final String DUPLICATE_LINE_LABEL_STRING = "duplicateLineLabelString";
285 public static final String RESET_DATA_ON_REFRESH = "resetDataOnRefresh";
286 public static final String STATE_MAPPING = "stateMapping";
287 public static final String STATE_OBJECT_BINDING_PATH = "stateObjectBindingPath";
288 public static final String SUGGEST = "suggest";
289 public static final String QUICKFINDER_FOCUS_ID = "quickfinderFocusId";
290 public static final String QUICKFINDER_JUMP_TO_ID = "quickfinderJumpToId";
291 public static final String QUICKFINDER_CALLBACK_METHOD_TO_CALL = "quickfinderCallbackMethodToCall";
292 public static final String QUICKFINDER_CALLBACK_METHOD = "quickfinderCallbackMethod";
293 public static final String QUICKFINDER_CALLBACK_CONTEXT = "quickfinderCallbackContext";
294 public static final String QUICKFINDER_CALLBACK_CONTEXT_PROPERTY_LINE_INDEX = "lineIndex";
295 public static final String FILTERABLE_LOOKUP_CRITERIA = "filterableLookupCriteria";
296 }
297
298 public static class LookupCriteriaPostMetadata {
299 public static final String COMPONENT_ID = "componentId";
300 public static final String DISABLE_WILDCARDS_AND_OPERATORS = "disableWildcardsAndOperators";
301 public static final String HIDDEN = "hidden";
302 public static final String REQUIRED = "required";
303 public static final String SECURE_VALUE = "secureValue";
304 public static final String VALID_CHARACTERS_CONSTRAINT = "validCharactersConstraint";
305 }
306
307 public static class ContextVariableNames {
308 public static final String COLLECTION_GROUP = "collectionGroup";
309 public static final String CONFIG_PROPERTIES = "ConfigProperties";
310 public static final String COMPONENT = "component";
311 public static final String CONSTANTS = "Constants";
312 public static final String DOCUMENT_ENTRY = "DocumentEntry";
313 public static final String INDEX = "index";
314 public static final String IS_ADD_LINE = "isAddLine";
315 public static final String LINE = "line";
316 public static final String LINE_SUFFIX = "lineSuffix";
317 public static final String READONLY_LINE = "readOnlyLine";
318 public static final String MANAGER = "manager";
319 public static final String NODE = "node";
320 public static final String NODE_PATH = "nodePath";
321 public static final String PARENT = "parent";
322 public static final String THEME_IMAGES = "ThemeImages";
323 public static final String UIF_CONSTANTS = "UifConstants";
324 public static final String VIEW = "view";
325 public static final String VIEW_HELPER = "ViewHelper";
326 public static final String PARENT_LINE = "parentLine";
327 public static final String WIZARD = "wizard";
328 public static final String USER_SESSION = "userSession";
329 }
330
331 public static class TableToolsKeys {
332 public static final String AASORTING = "aaSorting";
333 public static final String BAUTO_TYPE = "bAutoType";
334 public static final String BPROCESSING = "bProcessing";
335 public static final String BSERVER_SIDE = "bServerSide";
336 public static final String SDOM = "sDom";
337 public static final String CELL_CLASS = "sClass";
338 public static final String MDATA = "mDataProp";
339 public static final String LANGUAGE = "oLanguage";
340 public static final String EMPTY_TABLE = "sEmptyTable";
341 public static final String AO_COLUMNS = "aoColumns";
342 public static final String AO_COLUMN_DEFS = "aoColumnDefs";
343 public static final String SORT_SKIP_ROWS = "aiSortingSkipRows";
344 public static final String SORT_DATA_TYPE = "sSortDataType";
345 public static final String SORTABLE = "bSortable";
346 public static final String TARGETS = "aTargets";
347 public static final String VISIBLE = "bVisible";
348 public static final String SORT_TYPE = "sType";
349 public static final String TABLE_SORT = "bSort";
350 public static final String SAJAX_SOURCE = "sAjaxSource";
351 public static final String FOOTER_CALLBACK = "fnFooterCallback";
352 public static final String AA_DATA = "aaData";
353 public static final String DEFER_RENDER = "bDeferRender";
354 public static final String SDOWNLOAD_SOURCE = "sDownloadSource";
355 public static final String SERVER_PARAMS = "fnServerParams";
356 }
357
358 public static class TableToolsValues {
359 public static final String DOM_TEXT = "dom-text";
360 public static final String DOM_SELECT = "dom-select";
361 public static final String DOM_CHECK = "dom-checkbox";
362 public static final String DOM_RADIO = "dom-radio";
363
364
365
366 public static final String NUMERIC = "numeric";
367 public static final String STRING = "string";
368 public static final String DATE = "kuali_date";
369 public static final String PERCENT = "kuali_percent";
370 public static final String CURRENCY = "kuali_currency";
371 public static final String TIMESTAMP = "kuali_timestamp";
372
373 public static final String FALSE = "false";
374 public static final String TRUE = "true";
375
376 public static final int ADD_ROW_DEFAULT_INDEX = 0;
377 public static final String JSON_TEMPLATE = "components/element/dataTablesJson.ftl";
378 }
379
380 public static class TableLayoutValues {
381 public static final int ACTIONS_COLUMN_LEFT_INDEX = 1;
382 public static final int ACTIONS_COLUMN_RIGHT_INDEX = -1;
383 }
384
385 public static class PageRequest {
386 public static final String PREV = "prev";
387 public static final String NEXT = "next";
388 public static final String FIRST = "first";
389 public static final String LAST = "last";
390 public static final String PAGE_NUMBER = "pageNumber";
391 }
392
393 public static class TabOptionKeys {
394 public static final String ACTIVE = "active";
395 }
396
397 public static class TitleAppendTypes {
398 public static final String DASH = "dash";
399 public static final String PARENTHESIS = "parenthesis";
400 public static final String REPLACE = "replace";
401 public static final String NONE = "none";
402 }
403
404 public static class ComponentProperties {
405 public static final String HEADER_TEXT = "headerText";
406 public static final String DEFAULT_VALUE = "defaultValue";
407 public static final String DEFAULT_VALUES = "defaultValues";
408 }
409
410 public static class UrlParams {
411 public static final String ACTION_EVENT = "actionEvent";
412 public static final String FORM_KEY = "formKey";
413 public static final String VIEW_ID = "viewId";
414 public static final String PAGE_ID = "pageId";
415 public static final String HISTORY = "history";
416 public static final String LAST_FORM_KEY = "lastFormKey";
417 public static final String LOGIN_USER = "__login_user";
418 }
419
420 public static class Messages {
421 public static final String VALIDATION_MSG_KEY_PREFIX = "validation.";
422 public static final String STATE_PREFIX = "validation.statePrefix";
423 public static final String PROPERTY_NAME_PREFIX = "validation.propertyNamePrefix";
424 }
425
426 public static class MessageKeys {
427 public static final String LOOKUP_RESULT_MESSAGES = "LookupResultMessages";
428 public static final String QUERY_DATA_NOT_FOUND = "query.dataNotFound";
429 public static final String OPTION_ALL = "option.all";
430 }
431
432 public static class ClientSideVariables {
433 public static final String KRAD_IMAGE_LOCATION = "kradImageLocation";
434 public static final String KRAD_SCRIPT_CLEANUP = "scriptCleanup";
435 public static final String KRAD_URL = "kradUrl";
436 public static final String APPLICATION_URL = "applicationUrl";
437 }
438
439 public static class RefreshCallerTypes {
440 public static final String LOOKUP = "LOOKUP";
441 public static final String MULTI_VALUE_LOOKUP = "MULTI_VALUE_LOOKUP";
442 public static final String QUESTION = "QUESTION";
443 }
444
445 public static class RefreshStatus {
446 public static final String ERROR = "ERROR";
447 }
448
449 public static final class HistoryFlow {
450 public static final String HISTORY_MANAGER = "historyManager";
451 public static final String FLOW = "flow";
452 public static final String START = "start";
453 public static final String RETURN_TO_START = "returnToStart";
454 public static final String SEPARATOR = "@@";
455 }
456
457 public static final class RoleTypes {
458 public static final String ACTION = "Action";
459 public static final String CONTROL = "Control";
460 public static final String DATA_SCRIPT = "dataScript";
461 public static final String INPUT_FIELD = "InputField";
462 public static final String GROUP = "Group";
463 public static final String GROUP_TOTAL = "groupTotal";
464 public static final String TOTAL = "total";
465 public static final String TOTALS_BLOCK = "totalsBlock";
466 public static final String PAGE = "Page";
467 public static final String PAGE_TOTAL = "pageTotal";
468 public static final String ROW_GROUPING = "RowGrouping";
469 public static final String VIEW = "View";
470 }
471
472 public static final class DataAttributes {
473 public static final String TYPE = "type";
474 public static final String ROLE = "role";
475 public static final String REQ_INDICATOR = "req_indicator";
476 public static final String ONCLICK = "onClick";
477 public static final String SUBMIT_DATA = "submit_data";
478 public static final String HAS_MESSAGES = "has_messages";
479 public static final String SERVER_MESSAGES = "server_messages";
480 public static final String VALIDATION_MESSAGES = "validation_messages";
481 public static final String ACTION_DEFAULTS = "action_defaults";
482 public static final String GROUP_VALIDATION_DEFAULTS = "group_validation_defaults";
483 public static final String FIELD_VALIDATION_DEFAULTS = "field_validation_defaults";
484 public static final String MESSAGES_FOR = "messages_for";
485 public static final String PARENT = "parent";
486 public static final String SUMMARIZE = "summarize";
487 public static final String DISPLAY_MESSAGES = "displayMessages";
488 public static final String CLOSEABLE = "closeable";
489 public static final String COLLAPSE_FIELD_MESSAGES = "collapseFieldMessages";
490 public static final String DISPLAY_LABEL = "displayLabel";
491 public static final String SHOW_PAGE_SUMMARY_HEADER = "showPageSummaryHeader";
492 public static final String DISPLAY_HEADER_SUMMARY = "displayHeaderSummary";
493 public static final String IS_TABLE_COLLECTION = "isTableCollection";
494 public static final String HAS_OWN_MESSAGES = "hasOwnMessages";
495 public static final String PAGE_LEVEL = "pageLevel";
496 public static final String FORCE_SHOW = "forceShow";
497 public static final String SECTIONS = "sections";
498 public static final String ORDER = "order";
499 public static final String RETURN = "return";
500 public static final String SERVER_ERRORS = "serverErrors";
501 public static final String SERVER_WARNINGS = "serverWarnings";
502 public static final String SERVER_INFO = "serverInfo";
503 public static final String VIGNORE = "vignore";
504 public static final String TOTAL = "total";
505 public static final String SKIP_TOTAL = "skip_total";
506 public static final String LABEL = "label";
507 public static final String GROUP = "group";
508 public static final String LABEL_FOR = "label_for";
509 public static final String CONTROL_FOR = "control_for";
510 public static final String ADD_CONTROLS = "add_controls";
511 public static final String EDIT_CONTROLS = "edit_controls";
512 public static final String HEADER_FOR = "header_for";
513 public static final String STICKY = "sticky";
514 public static final String STICKY_FOOTER = "sticky_footer";
515 public static final String DETAILS_DEFAULT_OPEN = "details_default_open";
516 public static final String RENDER_DETAILS_EDIT = "render_details_edit";
517 public static final String TAB_FOR = "tabfor";
518 public static final String CHECKED = "checked";
519 public static final String ENTER_KEY = "enter_key";
520 public static final String DEFAULT_ENTER_KEY_ACTION = "default_enter_key_action";
521 public static final String DISMISS = "dismiss";
522 public static final String DISMISS_DIALOG_OPTION = "dismissdialogoption";
523 public static final String DISMISS_RESPONSE = "response";
524 public static final String DIALOG_RESPONSE_HANDLER = "response_handler";
525 public static final String DIALOG_SHOW_HANDLER = "show_handler";
526 public static final String DIALOG_HIDE_HANDLER = "hide_handler";
527 public static final String INLINE_EDIT = "inline_edit";
528 public static final String DETACHED = "detached";
529 }
530
531 public static final String JS_REGEX_SPECIAL_CHARS = new String("$[\\^.|?*+()");
532
533 public static final class ActionDataAttributes {
534 public static final String AJAX_SUBMIT = "ajaxSubmit";
535 public static final String CONFIRM_DIALOG_ID = "confirmDialogId";
536 public static final String CONFIRM_PROMPT_TEXT = "confirm_prompttext";
537 public static final String SUCCESS_CALLBACK = "successCallback";
538 public static final String ERROR_CALLBACK = "errorCallback";
539 public static final String PRE_SUBMIT_CALL = "preSubmitCall";
540 public static final String LOADING_MESSAGE = "loadingMessage";
541 public static final String DISABLE_BLOCKING = "disableBlocking";
542 public static final String AJAX_RETURN_TYPE = "ajaxReturnType";
543 public static final String REFRESH_ID = "refreshId";
544 public static final String VALIDATE = "validate";
545 public static final String DIRTY_ON_ACTION = "dirtyOnAction";
546 public static final String CLEAR_DIRTY = "clearDirtyOnAction";
547 public static final String PERFORM_DIRTY_VALIDATION = "performDirtyValidation";
548 public static final String FOCUS_ID = "focusId";
549 public static final String JUMP_TO_ID = "jumpToId";
550 public static final String JUMP_TO_NAME = "jumpToName";
551 public static final String FIELDS_TO_SEND = "fieldsToSend";
552 }
553
554 public static final class AriaAttributes {
555 public static final String VALUE_NOW = "valuenow";
556 public static final String VALUE_MAX = "valuemax";
557 public static final String VALUE_MIN = "valuemin";
558 public static final String VALUE_TEXT = "valuetext";
559 }
560
561 public static final class AriaRoles {
562 public static final String PROGRESS_BAR = "progressbar";
563 }
564
565 public static final class HtmlAttributeValues {
566 public static final String TARGET_BLANK = "_blank";
567 }
568
569 public static final class CaseConstraintOperators {
570 public static final String HAS_VALUE = "has_value";
571 public static final String EQUALS = "equals";
572 public static final String GREATER_THAN_EQUAL = "greater_than_equal";
573 public static final String LESS_THAN_EQUAL = "less_than_equal";
574 public static final String NOT_EQUAL = "not_equal";
575 public static final String NOT_EQUALS = "not_equals";
576 public static final String GREATER_THAN = "greater_than";
577 public static final String LESS_THAN = "less_than";
578 }
579
580 public static final class JsFunctions {
581 public static final String COLLECTION_LINE_CHANGED = "collectionLineChanged";
582 public static final String SHOW_LOOKUP_DIALOG = "showLookupDialog";
583 public static final String HANDLE_SERVER_DIALOG_RESPONSE = "handleServerDialogResponse";
584 public static final String INITIALIZE_VIEW_STATE = "initializeViewState";
585 public static final String INITIALIZE_SESSION_TIMERS = "initializeSessionTimers";
586 public static final String REDIRECT = "redirect";
587 public static final String SET_CONFIG_PARM = "setConfigParam";
588 public static final String SET_VALUE = "setValue";
589 public static final String SHOW_GROWL = "showGrowl";
590 public static final String SHOW_EDIT_LINE_DIALOG = "showEditLineDialog";
591 public static final String SHOW_DIALOG = "showDialog";
592 public static final String VALIDATE_ADD_LINE = "validateAddLine";
593 public static final String VALIDATE_LINE = "validateLine";
594 public static final String WRITE_CURRENT_PAGE_TO_SESSION = "writeCurrentPageToSession";
595 }
596
597 public static final String EVENT_NAMESPACE = "uif";
598
599 public static final String BOX_LAYOUT_HORIZONTAL_ITEM_CSS = "uif-boxLayoutHorizontalItem";
600 public static final String BOX_LAYOUT_VERTICAL_ITEM_CSS = "uif-boxLayoutVerticalItem";
601
602 public static final class ConfigProperties {
603 public static final String KRAD_IMAGES_URL = "krad.externalizable.images.url";
604 public static final String KRAD_URL = "krad.url";
605 }
606
607 public static final class FileExtensions {
608 public static final String CSS = ".css";
609 public static final String JS = ".js";
610 public static final String MIN = ".min";
611 public static final String LESS = ".less";
612 }
613
614 public static final class WrapperTags {
615 public static final String DIV = "div";
616 public static final String SPAN = "span";
617 public static final String P = "p";
618 public static final String MAIN = "main";
619 public static final String SECTION = "section";
620 public static final String HEADER = "header";
621 public static final String FOOTER = "footer";
622 public static final String NAV = "nav";
623 }
624
625 public static final class MultiFileUploadOptions {
626 public static final String URL = "url";
627 public static final String ACCEPT_FILE_TYPES = "acceptFileTypes";
628 public static final String MIN_SIZE = "minFileSize";
629 public static final String MAX_SIZE = "maxFileSize";
630 }
631
632 public static final class KimLink {
633 public static final String PRINCIPAL_ID = "principalId";
634 public static final String PRINCIPAL_NAME = "principalName";
635 public static final String ROLE_ID = "id";
636 public static final String ROLE_NAME = "name";
637 public static final String ROLE_NAMESPACE_CODE = "namespaceCode";
638 public static final String GROUP_ID = "id";
639 public static final String GROUP_NAME = "name";
640 public static final String GROUP_NAMESPACE_CODE = "namespaceCode";
641 public static final String BLANK_LINK = " ";
642 }
643 }