org.apache.tapestry.form
Class FormConstants

java.lang.Object
  extended by org.apache.tapestry.form.FormConstants

public class FormConstants
extends Object

Constants used by the Form component.

Since:
4.0
Author:
Howard Lewis Ship

Field Summary
static String SUBMIT_CANCEL
          Indicates that the form was cancelled.
static String SUBMIT_NAME_PARAMETER
          Query parameter reserved to identify the name of the component that triggered the form submit.
static String SUBMIT_NORMAL
          Normal submit of the form, typically by the user clicking a submit control.
static String SUBMIT_REFRESH
          Indicates that the form was submitted to force a refresh.
 
Constructor Summary
FormConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUBMIT_NORMAL

public static final String SUBMIT_NORMAL
Normal submit of the form, typically by the user clicking a submit control.

See Also:
Constant Field Values

SUBMIT_CANCEL

public static final String SUBMIT_CANCEL
Indicates that the form was cancelled. A form is cancelled on the client side when the JavaScript function document.form-name.events.cancel() is invoked.

See Also:
Constant Field Values

SUBMIT_REFRESH

public static final String SUBMIT_REFRESH
Indicates that the form was submitted to force a refresh. Most client-side submit listeners will have been skipped (particularily, those related to validaton). A form is submitted for refresh on the client side when the JavaScript function document.form-name.events.refresh() is invoked.

See Also:
Constant Field Values

SUBMIT_NAME_PARAMETER

public static final String SUBMIT_NAME_PARAMETER
Query parameter reserved to identify the name of the component that triggered the form submit. This is primarily used by the LinkSubmit component.

See Also:
Constant Field Values
Constructor Detail

FormConstants

public FormConstants()


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.