2009/05/20 - Apache Shale has been retired.

For more information, please explore the Attic.

View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to you under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  
18  package org.apache.shale.view.faces;
19  
20  import org.apache.shale.view.ViewController;
21  
22  
23  /***
24   * <p>Manifest constants related to Shale view support, which are specific
25   * to the internal implementation and are thus should not be directly
26   * referenced by applications.  Because they are predominantly required only
27   * within the current package, the constants are declared package private
28   * unless outside access is necessary.</p>
29   */
30  public final class FacesConstants {
31  
32  
33      // ------------------------------------------------------------ Constructors
34  
35  
36      /***
37       * <p>Private constructor to avoid instantiation.</p>
38       */
39      private FacesConstants() { }
40  
41  
42      // ------------------------------------------------------ Manifest Constants
43  
44  
45      /***
46       * <p>Request scope attribute under which a <code>java.util.List</code>
47       * of exceptions accumulated during the current request processing lifecycle
48       * are accumulated.  If there is no such <code>List</code> present, then
49       * no exceptions have been accumulated for the current request.</p>
50       */
51      public static final String EXCEPTIONS_LIST =
52        "org$apache$shale$view$EXCEPTIONS_LIST";
53  
54  
55      /***
56       * <p>Application scope attribute under which the
57       * {@link ViewControllerCallbacks} instance for this application
58       * is stored.</p>
59       */
60      public static final String VIEW_CALLBACKS =
61        "org$apache$shale$view$VIEW_CALLBACKS";
62  
63  
64      /***
65       * <p>Request scope attribute under which a <code>List</code>
66       * containing all {@link ViewController}s that have been initialized
67       * for the current request are stored.</p>
68       */
69      public static final String VIEWS_INITIALIZED =
70        "org$apache$shale$view$VIEWS_INITIALIZED";
71  
72  
73      /***
74       * <p>Request scope attribute under which a <code>Boolean.TRUE</code>
75       * flag is stored if this request is a postback.</p>
76       */
77      public static final String VIEW_POSTBACK =
78        "org$apache$shale$view$VIEW_POSTBACK";
79  
80  
81      /***
82       * <p>Request scope attribute under which the managed bean name of the
83       * {@link ViewController} for the view that will actually be rendered
84       * (if any) is stored.</p>
85       */
86      static final String VIEW_NAME_RENDERED =
87        "org$apache$shale$view$VIEW_NAME_RENDERED";
88  
89  
90  }