KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > blandware > atleap > webapp > util > core > WebappConstants


1 /*
2  * Copyright 2004 Blandware (http://www.blandware.com)
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 package com.blandware.atleap.webapp.util.core;
17
18 /**
19  * <p>Constants used throughout web application</p>
20  * <p><a HREF="WebappConstants.java.htm"><i>View Source</i></a></p>
21  *
22  * @author Sergey Zubtcovskii <a HREF="mailto:sergey.zubtcovskii@blandware.com">&lt;sergey.zubtcovskii@blandware.com&gt;</a>
23  * @version $Revision: 1.48 $ $Date: 2006/03/26 11:47:36 $
24  */

25 public class WebappConstants {
26
27     /**
28      * Maximum length of value of application resource's value
29      */

30     public static final int HTML_TEXT_FIELD_MAX_LENGTH = 252;
31     /**
32      * Context key under which root section of site map is saved
33      */

34     public static final String JavaDoc SITE_MAP_KEY = "com.blandware.atleap.SITE_MAP";
35
36     /**
37      * Context key under which <code>Boolean.TRUE</code> is saved if site edit mode is enabled.
38      * If attribute under this key is null, it means that edit mode is disabled
39      */

40     public static final String JavaDoc SITE_EDIT_MODE_ENABLED_KEY = "com.blandware.atleap.SITE_EDIT_MODE_ENABLED";
41
42     /**
43      * Context key under which URL to redirect to is saved
44      */

45     public static final String JavaDoc REDIRECT_URL_KEY = "com.blandware.atleap.REDIRECT_URL";
46
47     /**
48      * Context key under which current path is stored (e.g. in list of pages)
49      */

50     public static final String JavaDoc CURRENT_PATH_KEY = "com.blandware.atleap.CURRENT_PATH";
51
52     /**
53      * Context key under which current path for the list of content resources is stored
54      */

55     public static final String JavaDoc CONTENT_RESOURCES_CURRENT_PATH_KEY = "com.blandware.atleap.CONTENT_RESOURCES_CURRENT_PATH";
56
57     /**
58      * Context key under which current path on the list of content pages is stored
59      */

60     public static final String JavaDoc CONTENT_PAGES_CURRENT_PATH_KEY = "com.blandware.atleap.CONTENT_PAGES_CURRENT_PATH";
61
62     /**
63      * Context key under which current path on the list of action pages is stored
64      */

65     public static final String JavaDoc ACTION_PAGES_CURRENT_PATH_KEY = "com.blandware.atleap.ACTION_PAGES_CURRENT_PATH";
66
67     /**
68      * Context key under which current path on the list of application resources is stored
69      */

70     public static final String JavaDoc APPLICATION_RESOURCES_CURRENT_PATH_KEY = "com.blandware.atleap.APPLICATION_RESOURCES_CURRENT_PATH";
71
72     /**
73      * Context key under which current path on the list of actions is stored
74      */

75     public static final String JavaDoc ACTIONS_LIST_CURRENT_PATH_KEY = "com.blandware.atleap.ACTIONS_LIST_CURRENT_PATH";
76
77     /**
78      * Context key under which current path in the list of files is saved
79      */

80     public static final String JavaDoc BROWSER_FILES_CURRENT_PATH_KEY = "com.blandware.atleap.browser.FILES_CURRENT_PATH";
81
82     /**
83      * Context key under which current path in the list of images is saved
84      */

85     public static final String JavaDoc BROWSER_IMAGES_CURRENT_PATH_KEY = "com.blandware.atleap.browser.IMAGES_CURRENT_PATH";
86
87     /**
88      * Context key, under which locale suffix, used in browser is saved
89      */

90     public static final String JavaDoc BROWSER_LOCALE_SUFFIX_KEY = "com.blandware.atleap.browser.BROWSER_LOCALE_SUFFIX";
91
92     /**
93      * Context key under which current path in the list of documents is saved
94      */

95     public static final String JavaDoc BROWSER_DOCUMENTS_CURRENT_PATH_KEY = "com.blandware.atleap.browser.DOCUMENTS_CURRENT_PATH";
96
97     /**
98      * Context key under which current path on the list of definitions is stored
99      */

100     public static final String JavaDoc DEFINITIONS_LIST_CURRENT_PATH_KEY = "com.blandware.atleap.DEFINITIONS_LIST_CURRENT_PATH";
101
102     /**
103      * Context key under which value of content field is saved
104      */

105     public static final String JavaDoc CONTENT_FIELD_VALUE_KEY = "com.blandware.atleap.CONTENT_FIELD_VALUE";
106
107     /**
108      * Context key under which merged values of content field values is saved
109      */

110     public static final String JavaDoc CONTENT_FIELD_VALUES_MERGED_KEY = "com.blandware.atleap.CONTENT_FIELD_VALUES_MERGED";
111
112     /**
113      * Session attribute name to store FormFile object
114      */

115     public static final String JavaDoc UPLOAD_CONTENT_RESOURCE_FORM_KEY = "com.blandware.atleap.UPLOAD_CONTENT_RESOURCE_FORM";
116
117     /**
118      * Name of grid that displays list of Struts actions
119      */

120     public static final String JavaDoc ACTIONS_GRID = "actionsGrid";
121
122     /**
123      * Name of grid that displays list of Tiles definitions
124      */

125     public static final String JavaDoc DEFINITIONS_GRID = "definitionsGrid";
126
127     /**
128      * Name of grid that displays list of search result hits
129      */

130     public static final String JavaDoc HITS_GRID = "hitsGrid";
131
132     /**
133      * Name of grid that displays list of content pages
134      */

135     public static final String JavaDoc CONTENT_PAGES_GRID = "contentPagesGrid";
136
137     /**
138      * Name of grid that displays list of action pages
139      */

140     public static final String JavaDoc ACTION_PAGES_GRID = "actionPagesGrid";
141
142     /**
143      * Name of grid that displays list of application resources
144      */

145     public static final String JavaDoc APPLICATION_RESOURCES_GRID = "applicationResourcesGrid";
146
147     /**
148      * Name of grid that displays list of content resources
149      */

150     public static final String JavaDoc CONTENT_RESOURCES_GRID = "contentResourcesGrid";
151
152     /**
153      * Name of grid that displays list of content locales
154      */

155     public static final String JavaDoc CONTENT_LOCALES_GRID = "contentLocalesGrid";
156
157     /**
158      * Name of grid that displays list of images
159      */

160     public static final String JavaDoc BROWSE_IMAGES_GRID = "browseImagesGrid";
161
162     /**
163      * Name of grid that displays list of documents
164      */

165     public static final String JavaDoc BROWSE_DOCUMENTS_GRID = "browseDocumentsGrid";
166
167     /**
168      * Name of grid that displays list of files
169      */

170     public static final String JavaDoc BROWSE_FILES_GRID = "browseFilesGrid";
171
172     /**
173      * Name of grid that displays list of action pages
174      */

175     public static final String JavaDoc BROWSER_ACTION_PAGES_GRID = "browseAPGrid";
176
177     /**
178      * Name of grid that displays list of content pages
179      */

180     public static final String JavaDoc BROWSER_CONTENT_PAGES_GRID = "browseCPGrid";
181
182     /**
183      * Name of grid that displays list of content pages
184      */

185     public static final String JavaDoc BROWSER_LINKABLE_ITEMS_GRID = "browseLIGrid";
186
187     /**
188      * Name of iterator in images grid that displays images
189      */

190     public static final String JavaDoc BROWSER_IMAGES_ITERATOR = "imagesIterator";
191
192     /**
193      * Context key, under which parent ID is stored
194      */

195     public static final String JavaDoc MENU_ITEM_PARENT_ID_KEY = "com.blandware.atleap.MENU_ITEM_PARENT_ID";
196
197     /**
198      * Context kye under which menu item's owner ID is stored
199      */

200     public static final String JavaDoc MENU_ITEM_OWNER_ID_KEY = "com.blandware.atleap.MENU_ITEM_OWNER_ID";
201
202     /**
203      * Context key, under which list of parents is stored
204      */

205     public static final String JavaDoc MENU_ITEM_PARENTS_LIST_KEY = "com.blandware.atleap.MENU_ITEM_PARENTS_LIST";
206
207     /**
208      * Context key under which layout definition is stored
209      */

210     public static final String JavaDoc LAYOUT_DEFINITION_KEY = "com.blandware.atleap.LAYOUT_DEFINITION";
211
212     /**
213      * Context key under which owner ID is saved
214      */

215     public static final String JavaDoc OWNER_ID_KEY = "com.blandware.atleap.OWNER_ID";
216
217     /**
218      * Context key under which info about owner is saved
219      */

220     public static final String JavaDoc OWNER_INFO_KEY = "com.blandware.atleap.OWNER_INFO";
221
222     /**
223      * Context key under which content field ID is saved
224      */

225     public static final String JavaDoc CONTENT_FIELD_ID_KEY = "com.blandware.atleap.CONTENT_FIELD_ID";
226
227     /**
228      * Context key under which content field is saved
229      */

230     public static final String JavaDoc CONTENT_FIELD_KEY = "com.blandware.atleap.CONTENT_FIELD";
231
232     /**
233      * Context key under which content page ID is saved
234      */

235     public static final String JavaDoc CONTENT_PAGE_ID_KEY = "com.blandware.atleap.CONTENT_PAGE_ID";
236
237     /**
238      * Context key under which action page ID is saved
239      */

240     public static final String JavaDoc ACTION_PAGE_ID_KEY = "com.blandware.atleap.ACTION_PAGE_ID";
241
242     /**
243      * Context key under which key of application resource is saved
244      */

245     public static final String JavaDoc APPLICATION_RESOURCE_KEY_KEY = "com.blandware.atleap.APPLICATION_RESOURCE_KEY";
246
247
248     /**
249      * Context key under which layout ID is saved
250      */

251     public static final String JavaDoc LAYOUT_ID_KEY = "com.blandware.atleap.LAYOUT_PAGE_ID";
252
253     /**
254      * Context key under which content resource ID is saved
255      */

256     public static final String JavaDoc CONTENT_RESOURCE_ID_KEY = "com.blandware.atleap.CONTENT_RESOURCE_ID";
257
258     /**
259      * ID of linked object to display references
260      */

261     public static final String JavaDoc LINKED_OBJECT_ID_KEY = "com.blandware.atleap.LINKED_OBJECT_ID";
262
263     /**
264      * Type of linked object to display references
265      */

266     public static final String JavaDoc LINKED_OBJECT_TYPE_KEY = "com.blandware.atleap.LINKED_OBJECT_TYPE";
267
268     /**
269      * Context key under which user name is saved
270      */

271     public static final String JavaDoc USER_NAME_KEY = "com.blandware.atleap.USER_NAME";
272
273     /**
274      * Context key under which role name is saved
275      */

276     public static final String JavaDoc ROLE_NAME_KEY = "com.blandware.atleap.ROLE_NAME";
277
278     /**
279      * Context key under which group name is saved
280      */

281     public static final String JavaDoc GROUP_NAME_KEY = "com.blandware.atleap.GROUP_NAME";
282
283     /**
284      * Context key under which menu item ID is saved
285      */

286     public static final String JavaDoc MENU_ITEM_ID_KEY = "com.blandware.atleap.MENU_ITEM_ID";
287
288     /**
289      * Context key under which content locale identifier is stored
290      */

291     public static final String JavaDoc CONTENT_LOCALE_IDENTIFIER_KEY = "com.blandware.atleap.CONTENT_LOCALE_IDENTIFIER";
292
293     /**
294      * Context key under which ID of some HTML input tag is stored
295      */

296     public static final String JavaDoc HTML_INPUT_TAG_ID_KEY = "com.blandware.atleap.HTML_INPUT_TAG_ID";
297
298     /**
299      * Context key under which ID of mail template is stored
300      */

301     public static final String JavaDoc MAIL_TEMPLATE_ID_KEY = "com.blandware.atleap.MAIL_TEMPLATE_ID";
302
303     /**
304      * Context key under which merged body of mail template is stored
305      */

306     public static final String JavaDoc MAIL_TEMPLATE_MERGED_BODY_KEY = "com.blandware.atleap.MAIL_TEMPLATE_MERGED_BODY";
307
308     /**
309      * Context key under which new mime type of document are stored
310      */

311     public static final String JavaDoc CONTENT_DOCUMENT_NEW_MIMETYPE_KEY = "com.blandware.atleap.CONTENT_DOCUMENT_NEW_MIMETYPE_KEY";
312
313     /**
314      * Context key under which new size of document are stored
315      */

316     public static final String JavaDoc CONTENT_DOCUMENT_NEW_SIZE_KEY = "com.blandware.atleap.CONTENT_DOCUMENT_NEW_SIZE_KEY";
317
318     /**
319      * Context key under which new file name of document are stored
320      */

321     public static final String JavaDoc CONTENT_DOCUMENT_NEW_FILENAME_KEY = "com.blandware.atleap.CONTENT_DOCUMENT_NEW_FILENAME_KEY";
322
323     /**
324      * Context key under which new summary of document are stored
325      */

326     public static final String JavaDoc CONTENT_DOCUMENT_NEW_SUMMARY_KEY = "com.blandware.atleap.CONTENT_DOCUMENT_NEW_SUMMARY_KEY";
327
328     /**
329      * Context key under which new mime type of file are stored
330      */

331     public static final String JavaDoc CONTENT_FILE_NEW_MIMETYPE_KEY = "com.blandware.atleap.CONTENT_FILE_NEW_MIMETYPE_KEY";
332
333     /**
334      * Context key under which new size of file are stored
335      */

336     public static final String JavaDoc CONTENT_FILE_NEW_SIZE_KEY = "com.blandware.atleap.CONTENT_FILE_NEW_SIZE_KEY";
337
338     /**
339      * Context key under which new file name of file are stored
340      */

341     public static final String JavaDoc CONTENT_FILE_NEW_FILENAME_KEY = "com.blandware.atleap.CONTENT_FILE_NEW_FILENAME_KEY";
342
343     /**
344      * Context key under which some non-null value is stored if and only if
345      * some mime-type is stored in context for new file (even if this mime-type
346      * is null)
347      */

348     public static final String JavaDoc CONTENT_FILE_NEW_MIMETYPE_IS_SET_KEY = "com.blandware.atleap.CONTENT_FILE_NEW_MIMETYPE_IS_SET_KEY";
349
350     /**
351      * Context key under which new mime type of image are stored
352      */

353     public static final String JavaDoc CONTENT_IMAGE_NEW_MIMETYPE_KEY = "com.blandware.atleap.CONTENT_IMAGE_NEW_MIMETYPE_KEY";
354
355     /**
356      * Context key under which new size of image are stored
357      */

358     public static final String JavaDoc CONTENT_IMAGE_NEW_SIZE_KEY = "com.blandware.atleap.CONTENT_IMAGE_NEW_SIZE_KEY";
359
360     /**
361      * Context key under which new file name of image are stored
362      */

363     public static final String JavaDoc CONTENT_IMAGE_NEW_FILENAME_KEY = "com.blandware.atleap.CONTENT_IMAGE_NEW_FILENAME_KEY";
364
365     /**
366      * Context key under which new width of image are stored
367      */

368     public static final String JavaDoc CONTENT_IMAGE_NEW_WIDTH_KEY = "com.blandware.atleap.CONTENT_IMAGE_NEW_WIDTH_KEY";
369
370     /**
371      * Context key under which new height of image are stored
372      */

373     public static final String JavaDoc CONTENT_IMAGE_NEW_HEIGHT_KEY = "com.blandware.atleap.CONTENT_IMAGE_NEW_HEIGHT_KEY";
374     /**
375      * ============================ C O L L E C T I O N S =========================
376      */

377
378     /**
379      * Collection of content locales presented in application
380      */

381     public static final String JavaDoc CONTENT_LOCALES_COLLECTION_KEY = "com.blandware.atleap.CONTENT_LOCALES_COLLECTION";
382
383     /**
384      * Collection of languages
385      */

386     public static final String JavaDoc LANGUAGES_COLLECTION_KEY = "com.blandware.atleap.LANGUAGES_COLLECTION";
387
388     /**
389      * Collection of links to for switching locales
390      */

391     public static final String JavaDoc SWITCH_LOCALE_LINKS_COLLECTION_KEY = "com.blandware.atleap.SWITCH_LOCALE_LINKS_COLLECTION";
392
393     /**
394      * Collection of layouts presented in application
395      */

396     public static final String JavaDoc LAYOUT_COLLECTION_KEY = "com.blandware.atleap.LAYOUT_COLLECTION";
397
398     /**
399      * Collection of Struts Actions
400      */

401     public static final String JavaDoc ACTIONS_LIST_COLLECTION_KEY = "com.blandware.atleap.ACTION_COLLECTION";
402
403     /**
404      * Collection of Tiles definitions
405      */

406     public static final String JavaDoc DEFINITIONS_LIST_COLLECTION_KEY = "com.blandware.atleap.DEFINITION_COLLECTION";
407
408     /**
409      * Collection of search result hits
410      */

411     public static final String JavaDoc HIT_COLLECTION_KEY = "com.blandware.atleap.HIT_COLLECTION";
412
413     /**
414      * Collection of content pages
415      */

416     public static final String JavaDoc CONTENT_PAGES_COLLECTION_KEY = "com.blandware.atleap.CONTENT_PAGES_COLLECTION";
417
418     /**
419      * Collection of action pages
420      */

421     public static final String JavaDoc ACTION_PAGES_COLLECTION_KEY = "com.blandware.atleap.ACTION_PAGES_COLLECTION";
422
423     /**
424      * Collection of application resources
425      */

426     public static final String JavaDoc APPLICATION_RESOURCES_COLLECTION_KEY = "com.blandware.atleap.APPLICATION_RESOURCES_COLLECTION";
427
428     /**
429      * Collection of action page URLs without locale suffix
430      */

431     public static final String JavaDoc ACTION_PAGE_URLS_COLLECTION_KEY = "com.blandware.atleap.ACTION_PAGE_URLS_COLLECTION";
432
433     /**
434      * Collection of content page URLs without locale suffix
435      */

436     public static final String JavaDoc CONTENT_PAGE_URLS_COLLECTION_KEY = "com.blandware.atleap.CONTENT_PAGE_URLS_COLLECTION";
437
438     /**
439      * Collection of content resources
440      */

441     public static final String JavaDoc CONTENT_RESOURCES_COLLECTION_KEY = "com.blandware.atleap.CONTENT_RESOURCES_COLLECTION";
442
443     /**
444      * Collection of page folders
445      */

446     public static final String JavaDoc FOLDERS_COLLECTION_KEY = "com.blandware.atleap.PAGE_FOLDERS_COLLECTION";
447
448     /**
449      * Collection of images for browsing
450      */

451     public static final String JavaDoc BROWSER_IMAGES_COLLECTION_KEY = "com.blandware.atleap.browser.IMAGES_COLLECTION";
452
453     /**
454      * Collection of documents for browsing
455      */

456     public static final String JavaDoc BROWSER_DOCUMENTS_COLLECTION_KEY = "com.blandware.atleap.browser.DOCUMENTS_COLLECTION";
457
458     /**
459      * Collection of files for browsing
460      */

461     public static final String JavaDoc BROWSER_FILES_COLLECTION_KEY = "com.blandware.atleap.browser.FILES_COLLECTION";
462
463     /**
464      * Collection of linkable items for browsing
465      */

466     public static final String JavaDoc BROWSER_LINKABLE_ITEMS_COLLECTION_KEY = "com.blandware.atleap.browser.LINKABLE_ITEMS_COLLECTION";
467
468     /**
469      * Collection of content resource types
470      */

471     public static final String JavaDoc RESOURCE_TYPES_COLLECTION_KEY = "com.blandware.atleap.CONTENT_RESOURCE_TYPES_COLLECTION";
472
473     /**
474      * Collection of field identifiers
475      */

476     public static final String JavaDoc CONTENT_FIELD_IDENTIFIERS_COLLECTION_KEY = "com.blandware.atleap.CONTENT_FIELD_IDENTIFIERS_COLLECTION";
477
478     /**
479      * Context key under which available variables of mail template is stored
480      */

481     public static final String JavaDoc MAIL_TEMPLATE_AVAIALABLE_VARIABLES_KEY = "com.blandware.atleap.MAIL_TEMPLATE_AVAIALABLE_VARIABLES";
482
483     /**
484      * Collection of search result hits
485      */

486     public static final String JavaDoc SEARCH_HITS_COLLECTION_KEY = "com.blandware.atleap.SEARCH_HITS_COLLECTION";
487
488     /**
489      * Collection of linked content field values
490      */

491     public static final String JavaDoc LINKED_CONTENT_FIELD_VALUES_COLLECTION_KEY = "com.blandware.atleap.LINKED_CONTENT_FIELD_VALUES_COLLECTION";
492
493     /**
494      * Collection of content field values
495      */

496     public static final String JavaDoc CONTENT_FIELD_VALUES_COLLECTION_KEY = "com.blandware.atleap.CONTENT_FIELD_VALUES_COLLECTION";
497
498     /**
499      * Collection of linked menu items
500      */

501     public static final String JavaDoc LINKED_MENU_ITEMS_COLLECTION_KEY = "com.blandware.atleap.LINKED_MENU_ITEMS_COLLECTION";
502
503     /**
504      * Stored previous search query
505      */

506     public static final String JavaDoc SEARCH_QUERY_KEY = "com.blandware.atleap.SEARCH_QUERY";
507
508     /**
509      * Value to mark URl must be domain relative
510      */

511     public static final int URL_TYPE_DOMAIN_RELATIVE = 0;
512     /**
513      * Value to mark URl must be context relative
514      */

515     public static final int URL_TYPE_CONTEXT_RELATIVE = 1;
516     /**
517      * Value to mark URL must be module relative
518      */

519     public static final int URL_TYPE_MODULE_RELATIVE = 2;
520
521     /**
522      * Context key under which action errors are saved
523      */

524     public static final String JavaDoc ERROR_KEY = "com.blandware.atleap.ACTION_ERRORS";
525
526     /**
527      * Context key under which action messages are saved
528      */

529     public static final String JavaDoc MESSAGE_KEY = "com.blandware.atleap.ACTION_MESSAGES";
530
531     /**
532      * Prefix for all content pages URIs
533      */

534     public static final String JavaDoc CONTENT_PAGES_URI_PREFIX = "/pages";
535
536     /**
537      * Name of global property that holds max summary size of document
538      */

539     public static final String JavaDoc DOCUMENT_SUMMARY_SIZE_KEY = "document.summary.size";
540
541     /**
542      * Name of global property that holds number of elements displayed on each page of grid
543      */

544     public static final String JavaDoc GRID_PAGE_SIZE = "grid.page.size";
545
546     /**
547      * Context key under which list of values provided with checked boxes is saved
548      */

549     public static final String JavaDoc CONTENT_FIELD_VALUE_SELECTED_LOCALES_KEY = "com.blandware.atleap.CONTENT_FIELD_VALUE_SELECTED_IDS";
550
551     /**
552      * Flag to signal that some action has already been submitted (to prevent double click, instead of transactions)
553      */

554     public static final String JavaDoc CONTENT_FIELD_VALUE_SUBMITTED_ACTION_KEY = "com.blandware.atleap.CONTENT_FIELD_VALUE_SUBMITTED_ACTION_KEY";
555
556     /**
557      * Flag to signal that some action has already been submitted (to prevent double click, instead of transactions)
558      */

559     public static final String JavaDoc MAIL_TEMPLATE_SUBMITTED_ACTION_KEY = "com.blandware.atleap.MAIL_TEMPALTE_SUBMITTED_ACTION_KEY";
560
561     /**
562      * Context key, under which number of locales available in system is saved
563      */

564     public static final String JavaDoc AVAILABLE_LOCALES_LIST_SIZE_KEY = "com.blandware.atleap.AVAILABLE_LOCALES_LIST_SIZE";
565
566     /**
567      * The global property to identify the time (in seconds) to max age of content page response for browser cache
568      */

569     public static final String JavaDoc CACHE_CONTENTPAGE_MAXAGE_PROPERTY = "cache.contentPage.maxAge";
570
571     /**
572      * The global property to identify the time (in seconds) to max age of resource response for browser cache
573      */

574     public static final String JavaDoc CACHE_RESOURCE_MAXAGE_PROPERTY = "cache.resource.maxAge";
575
576     /**
577      * Path where default context menu JSP is stored
578      */

579     public static final String JavaDoc DEFAULT_CONTEXT_MENU_JSP = "/WEB-INF/pages/core/contextMenu.jsp";
580
581     /**
582      * Name of global property, storing value of WYSIWYG editor's type
583      */

584     public static final String JavaDoc GLOBAL_PROPERTY_WYSIWYG_EDITOR_TYPE = "wysiwyg.editor.type";
585
586     /**
587      * Context key under which list of items provided with checked boxes is saved
588      */

589     public static final String JavaDoc MENU_ITEM_SELECTED_IDS_KEY = "com.blandware.atleap.MENU_ITEM_SELECTED_IDS";
590
591     /**
592      * Context key under which visibility mode (visible/invisible/heritable) for
593      * selected menu items is saved
594      */

595     public static final String JavaDoc MENU_ITEM_VISIBILITY_MODE_FOR_SELECTED_KEY = "com.blandware.atleap.MENU_ITEM_VISIBILITY_MODE_FOR_SELECTED";
596
597     /**
598      * Context key under which owner ID for selected menu items is saved
599      */

600     public static final String JavaDoc MENU_ITEM_OWNER_ID_FOR_SELECTED_KEY = "com.blandware.atleap.MENU_ITEM_OWNER_ID_MODE_FOR_SELECTED";
601
602     /**
603      * Context key under which positions for menu items are saved
604      */

605     public static final String JavaDoc MENU_ITEM_POSITIONS_KEY = "com.blandware.atleap.MENU_ITEM_POSITIONS";
606
607     /**
608      * Context key under which set of context menus is stored
609      */

610     public static final String JavaDoc CONTEXT_MENUS_KEY = "com.blandware.atleap.CONTEXT_MENUS";
611
612     /**
613      * Context key under which encoding used to determined document encoding is
614      * stored
615      */

616     public static final String JavaDoc CONTENT_DOCUMENT_ENCODING_KEY = "com.blandware.atleap.CONTENT_DOCUMENT_ENCODING";
617
618     /**
619      * Context key under which content page form bean is stored
620      */

621     public static final String JavaDoc CONTENT_PAGE_FORM_KEY = "com.blandware.atleap.CONTENT_PAGE_FORM";
622
623     /**
624      * Context key under which action page form bean is stored
625      */

626     public static final String JavaDoc ACTION_PAGE_FORM_KEY = "com.blandware.atleap.ACTION_PAGE_FORM";
627
628     /**
629      * Context key under which content resource form bean is stored
630      */

631     public static final String JavaDoc CONTENT_RESOURCE_FORM_KEY = "com.blandware.atleap.CONTENT_RESOURCE_FORM";
632
633     /**
634      * Context key under which URI of page or content resource is stored
635      */

636     public static final String JavaDoc LINKED_OBJECT_NEW_URI_KEY = "com.blandware.atleap.LINKED_OBJECT_NEW_URI";
637
638     /**
639      * Context key under which content locale of page or content resource is stored
640      */

641     public static final String JavaDoc LINKED_OBJECT_CONTENT_LOCALE_ID_KEY = "com.blandware.atleap.LINKED_OBJECT_CONTENT_LOCALE_ID";
642
643     /**
644      * Context key under which charset of page or content resource is stored
645      */

646     public static final String JavaDoc LINKED_OBJECT_CHARSET_KEY = "com.blandware.atleap.LINKED_OBJECT_CHARSET";
647
648     /**
649      * Context key under which width of image is stored
650      */

651     public static final String JavaDoc LINKED_OBJECT_WIDTH_KEY = "com.blandware.atleap.LINKED_OBJECT_WIDTH";
652
653     /**
654      * Context key under which height of image is stored
655      */

656     public static final String JavaDoc LINKED_OBJECT_HEIGHT_KEY = "com.blandware.atleap.LINKED_OBJECT_HEIGHT";
657
658     /**
659      * Context key under which redirect url for linked objects page is stored
660      */

661     public static final String JavaDoc LINKED_OBJECTS_REDIRECT_URL_KEY = "com.blandware.atleap.LINKED_OBJECTS_BACK_ACTION";
662
663     /**
664      * Context key under which delete action for linked objects page is stored
665      */

666     public static final String JavaDoc LINKED_OBJECTS_DELETE_ACTION_KEY = "com.blandware.atleap.LINKED_OBJECTS_DELETE_ACTION";
667
668     /**
669      * Context key under which update action for linked objects page is stored
670      */

671     public static final String JavaDoc LINKED_OBJECTS_UPDATE_ACTION_KEY = "com.blandware.atleap.LINKED_OBJECTS_UPDATE_ACTION";
672
673     /**
674      * Default style classes for context menu items: regular item, highlighted
675      * item, disabled item and highlighted disabled item
676      */

677     public static final String JavaDoc CONTEXT_MENU_ITEM_STYLE_CLASS = "contextMenuItem";
678     public static final String JavaDoc HIGHLIGHTED_CONTEXT_MENU_ITEM_STYLE_CLASS = "highlightedContextMenuItem";
679     public static final String JavaDoc DISABLED_CONTEXT_MENU_ITEM_STYLE_CLASS = "disabledContextMenuItem";
680     public static final String JavaDoc HIGHLIGHTED_DISABLED_CONTEXT_MENU_ITEM_STYLE_CLASS = "highlightedDisabledContextMenuItem";
681
682     /**
683      * Context key under which an object will be stored which will allow to
684      * determine if 'back' button was pressed.
685      */

686     public static final String JavaDoc BACK_KEY = "com.blandware.atleap.action.BACK";
687
688     /**
689      * Context key under which a flag is stored which indicates whether a
690      * checkbox which checks all checkboxes needs to be ckecked
691      */

692     public static final String JavaDoc SELECT_ALL_LOCALES_CHECKBOX_IS_CHECKED = "com.blandware.atleap.contentLocale.SELECT_ALL_LOCALES_CHECKBOX_IS_CHECKED";
693 }
694
Popular Tags