View Javadoc

1   /*
2    * $Id: Constants.java 376841 2006-02-10 21:01:28Z husted $
3    *
4    * Copyright 1999,2004 The Apache Software Foundation.
5    *
6    * Licensed under the Apache License, Version 2.0 (the "License");
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    *
10   *      http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  package org.apache.struts.taglib.html;
19  
20  
21  /***
22   * Manifest constants for this package.
23   */
24  public class Constants {
25      /***
26       * The name of this package.
27       */
28      public static final String Package = "org.apache.struts.taglib.html";
29  
30      /***
31       * The attribute key for the bean our form is related to.
32       */
33      public static final String BEAN_KEY = Package + ".BEAN";
34  
35      /***
36       * The property under which a Cancel button press is reported.
37       */
38      public static final String CANCEL_PROPERTY = Package + ".CANCEL";
39  
40      /***
41       * The property under which a Cancel button press is reported, if the
42       * Cancel button is rendered as an image.
43       */
44      public static final String CANCEL_PROPERTY_X = Package + ".CANCEL.x";
45  
46      /***
47       * The attribute key for the form tag itself.
48       */
49      public static final String FORM_KEY = Package + ".FORM";
50  
51      /***
52       * The attribute key for the select tag itself.
53       */
54      public static final String SELECT_KEY = Package + ".SELECT";
55  
56      /***
57       * The property under which a transaction token is reported.
58       */
59      public static final String TOKEN_KEY = Package + ".TOKEN";
60  }