|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
TapestryConstants.java | - | - | 0% | 0% |
|
1 |
// Copyright 2005 The Apache Software Foundation
|
|
2 |
//
|
|
3 |
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4 |
// you may not use this file except in compliance with the License.
|
|
5 |
// You may obtain a copy of the License at
|
|
6 |
//
|
|
7 |
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8 |
//
|
|
9 |
// Unless required by applicable law or agreed to in writing, software
|
|
10 |
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12 |
// See the License for the specific language governing permissions and
|
|
13 |
// limitations under the License.
|
|
14 |
|
|
15 |
package org.apache.tapestry;
|
|
16 |
|
|
17 |
/**
|
|
18 |
* @author Howard M. Lewis Ship
|
|
19 |
* @since 4.0
|
|
20 |
*/
|
|
21 |
public class TapestryConstants |
|
22 |
{ |
|
23 |
/**
|
|
24 |
* The name ("Home") of the default page presented when a user first accesses the application.
|
|
25 |
*
|
|
26 |
* @see org.apache.tapestry.engine.HomeService
|
|
27 |
* @deprecated To be removed in 4.1.
|
|
28 |
*/
|
|
29 |
|
|
30 |
public static final String HOME_PAGE = "Home"; |
|
31 |
|
|
32 |
/**
|
|
33 |
* The name ("Exception") of the page used for reporting exceptions.
|
|
34 |
* <p>
|
|
35 |
* Such a page must have a writable JavaBeans property named 'exception' of type
|
|
36 |
* <code>java.lang.Throwable</code>.
|
|
37 |
*
|
|
38 |
* @deprecated To be removed in 4.1.
|
|
39 |
*/
|
|
40 |
|
|
41 |
public static final String EXCEPTION_PAGE = "Exception"; |
|
42 |
|
|
43 |
/**
|
|
44 |
* The name ("StaleLink") of the page used for reporting stale links.
|
|
45 |
* <p>
|
|
46 |
* The page must implement a writeable JavaBeans proeprty named 'message' of type
|
|
47 |
* <code>String</code>.
|
|
48 |
*/
|
|
49 |
|
|
50 |
public static final String STALE_LINK_PAGE = "StaleLink"; |
|
51 |
|
|
52 |
/**
|
|
53 |
* The name ("StaleSession") of the page used for reporting state sessions.
|
|
54 |
*/
|
|
55 |
|
|
56 |
public static final String STALE_SESSION_PAGE = "StaleSession"; |
|
57 |
|
|
58 |
/**
|
|
59 |
* Name of the cookie written to the client web browser to identify the locale.
|
|
60 |
*/
|
|
61 |
|
|
62 |
public static final String LOCALE_COOKIE_NAME = "org.apache.tapestry.locale"; |
|
63 |
|
|
64 |
/**
|
|
65 |
* Name of the meta data property used as a default for page class names.
|
|
66 |
*/
|
|
67 |
|
|
68 |
public static final String PAGE_CLASS_NAME = "org.apache.tapestry.default-page-class"; |
|
69 |
|
|
70 | 0 |
private TapestryConstants()
|
71 |
{ |
|
72 |
} |
|
73 |
} |
|