Coverage Report - org.apache.tapestry.form.FormConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
FormConstants
0%
0/1
N/A
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.form;
 16  
 
 17  
 /**
 18  
  * Constants used by the Form component.
 19  
  * 
 20  
  * @author Howard Lewis Ship
 21  
  * @since 4.0
 22  
  */
 23  0
 public class FormConstants
 24  
 {
 25  
     /**
 26  
      * Normal submit of the form, typically by the user clicking a submit control.
 27  
      */
 28  
 
 29  
     public static final String SUBMIT_NORMAL = "submit";
 30  
 
 31  
     /**
 32  
      * Indicates that the form was cancelled. A form is cancelled on the client side when the
 33  
      * JavaScript function document.<em>form-name</em>.events.cancel() is invoked.
 34  
      */
 35  
 
 36  
     public static final String SUBMIT_CANCEL = "cancel";
 37  
 
 38  
     /**
 39  
      * Indicates that the form was submitted to force a refresh. Most client-side submit listeners
 40  
      * will have been skipped (particularily, those related to validaton). A form is submitted for
 41  
      * refresh on the client side when the JavaScript function document.<em>form-name</em>.events.refresh()
 42  
      * is invoked.
 43  
      */
 44  
     public static final String SUBMIT_REFRESH = "refresh";
 45  
 
 46  
     /**
 47  
      * Query parameter reserved to identify the name of the component that triggered the form
 48  
      * submit. This is primarily used by the {@link org.apache.tapestry.form.LinkSubmit} component.
 49  
      */
 50  
     public static final String SUBMIT_NAME_PARAMETER = "submitname";
 51  
 }