Alien-Web-ExtJS-V3

 view release on metacpan or  search on metacpan

share/docs/source/Action2.html  view on Meta::CPAN

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js"><span id='Ext-form-Action'>/**
</span> * @class Ext.form.Action
 * &lt;p&gt;The subclasses of this class provide actions to perform upon {@link Ext.form.BasicForm Form}s.&lt;/p&gt;
 * &lt;p&gt;Instances of this class are only created by a {@link Ext.form.BasicForm Form} when
 * the Form needs to perform an action such as submit or load. The Configuration options
 * listed for this class are set through the Form's action methods: {@link Ext.form.BasicForm#submit submit},
 * {@link Ext.form.BasicForm#load load} and {@link Ext.form.BasicForm#doAction doAction}&lt;/p&gt;
 * &lt;p&gt;The instance of Action which performed the action is passed to the success
 * and failure callbacks of the Form's action methods ({@link Ext.form.BasicForm#submit submit},
 * {@link Ext.form.BasicForm#load load} and {@link Ext.form.BasicForm#doAction doAction}),
 * and to the {@link Ext.form.BasicForm#actioncomplete actioncomplete} and
 * {@link Ext.form.BasicForm#actionfailed actionfailed} event handlers.&lt;/p&gt;
 */
Ext.form.Action = function(form, options){
    this.form = form;
    this.options = options || {};
};

<span id='Ext-form-Action-static-property-CLIENT_INVALID'>/**
</span> * Failure type returned when client side validation of the Form fails
 * thus aborting a submit action. Client side validation is performed unless
 * {@link #clientValidation} is explicitly set to &lt;tt&gt;false&lt;/tt&gt;.
 * @type {String}
 * @static
 */
Ext.form.Action.CLIENT_INVALID = 'client';
<span id='Ext-form-Action-static-property-SERVER_INVALID'>/**
</span> * &lt;p&gt;Failure type returned when server side processing fails and the {@link #result}'s
 * &lt;tt style=&quot;font-weight:bold&quot;&gt;success&lt;/tt&gt; property is set to &lt;tt&gt;false&lt;/tt&gt;.&lt;/p&gt;
 * &lt;p&gt;In the case of a form submission, field-specific error messages may be returned in the
 * {@link #result}'s &lt;tt style=&quot;font-weight:bold&quot;&gt;errors&lt;/tt&gt; property.&lt;/p&gt;
 * @type {String}
 * @static
 */
Ext.form.Action.SERVER_INVALID = 'server';
<span id='Ext-form-Action-static-property-CONNECT_FAILURE'>/**
</span> * Failure type returned when a communication error happens when attempting
 * to send a request to the remote server. The {@link #response} may be examined to
 * provide further information.
 * @type {String}
 * @static
 */
Ext.form.Action.CONNECT_FAILURE = 'connect';
<span id='Ext-form-Action-static-property-LOAD_FAILURE'>/**
</span> * Failure type returned when the response's &lt;tt style=&quot;font-weight:bold&quot;&gt;success&lt;/tt&gt;
 * property is set to &lt;tt&gt;false&lt;/tt&gt;, or no field values are returned in the response's
 * &lt;tt style=&quot;font-weight:bold&quot;&gt;data&lt;/tt&gt; property.



( run in 1.411 second using v1.01-cache-2.11-cpan-02777c243ea )