Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<html xmlns:javaee="http://java.sun.com/xml/ns/javaee">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>ajax
         (VDL Documentation)
         
      </title>
      <meta name="keywords" content="$tagname">
      <link rel="stylesheet" type="text/css" href="../css/stylesheet.css" title="Style">
   </head><script>
                function asd()
                {
                parent.document.title="ajax (VDL Documentation)";
                }
            </script><body bgcolor="white" onload="asd();"><a name="navbar_top"></a><table border="0" width="100%" cellpadding="1" cellspacing="0">
         <tr>
            <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><a NAME="navbar_top_firstrow"></a><table BORDER="0" CELLPADDING="0" CELLSPACING="3">
                  <tr ALIGN="center" VALIGN="top">
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<font CLASS="NavBarFont1Rev">&nbsp;Tag&nbsp;</font>&nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>
                        &nbsp;
                        
                     </td>
                  </tr>
               </table>
            </td>
            <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em></em></td>
         </tr>
         <tr>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2"></font></td>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
                  &nbsp;
                  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>
                  &nbsp;
                  &nbsp;
                  <a href="ajax.html" target="_top"><b>NO FRAMES</b></a>
                  &nbsp;
                  <script></script><noscript><a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a></noscript></font></td>
         </tr>
      </table>
      <hr>
      <h2><font size="-1">a4j</font><br>
         Tag
         ajax
      </h2>
      <hr><p> The &lt;a4j:ajax&gt; behavior allows Ajax capability to be added to a non-Ajax component. The non-Ajax component must
      implement the ClientBehaviorHolder interface for all the event attributes that support behavior rendering. </p> @author Anton
      Belevich<br><p></p>
      <hr>
      <table border="1" cellpadding="3" cellspacing="0" width="100%">
         <tr bgcolor="#CCCCFF" class="TableHeadingColor">
            <td colspan="2"><font size="+2"><b>Tag Information</b></font></td>
         </tr>
         <tr>
            <td>Handler Id</td>
            <td>org.ajax4jsf.behavior.Ajax</td>
         </tr>
         <tr>
            <td>Handler Class</td>
            <td>org.richfaces.view.facelets.html.AjaxHandler</td>
         </tr>
      </table><br><p></p>
      <table border="1" cellpadding="3" cellspacing="0" width="100%">
         <tr bgcolor="#CCCCFF" class="TableHeadingColor">
            <td colspan="5"><font size="+2"><b>Attributes</b></font></td>
         </tr>
         <tr>
            <td><b>Name</b></td>
            <td><b>Required</b></td>
            <td><b>Type</b></td>
            <td><b>Description</b></td>
         </tr>
         <tr valign="top">
            <td>bypassUpdates</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>If "true", after process validations phase it skips updates of model beans on a force render response. It can be used for
               validating components input
            </td>
         </tr>
         <tr valign="top">
            <td>data</td>
            <td>false</td>
            <td><code>java.lang.Object</code></td>
            <td>Serialized (on default with JSON) data passed to the client by a developer on an AJAX request. It's accessible via "event.data"
               syntax. Both primitive types and complex types such as arrays and collections can be serialized and used with data
            </td>
         </tr>
         <tr valign="top">
            <td>disabled</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>If "true", do not initiate an ajax request when the associated event is observed</td>
         </tr>
         <tr valign="top">
            <td>event</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Name of JavaScript event property (click, change, etc.) of parent component that triggers the behavior. If the event attribute
               is not defined, the behavior is triggered on the event that normally provides interaction behavior for the parent component
            </td>
         </tr>
         <tr valign="top">
            <td>execute</td>
            <td>false</td>
            <td><code>java.util.Collection</code></td>
            <td>Ids of components that will participate in the "execute" portion of the Request Processing Lifecycle. Can be a single id,
               a space or comma separated list of Id's, or an EL Expression evaluating to an array or Collection. Any of the keywords "@this",
               "@form", "@all", "@none", "@region" may be specified in the identifier list. Some components make use of additional keywords
            </td>
         </tr>
         <tr valign="top">
            <td>immediate</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners
               and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.
            </td>
         </tr>
         <tr valign="top">
            <td>limitRender</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>If "true", render only those ids specified in the "render" attribute, forgoing the render of the auto-rendered panels</td>
         </tr>
         <tr valign="top">
            <td>listener</td>
            <td>false</td>
            <td><code>javax.el.MethodExpression</code></td>
            <td>Method expression referencing a method that will be called when an AjaxBehaviorEvent has been broadcast for the listener.</td>
         </tr>
         <tr valign="top">
            <td>onbeforedomupdate</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called after the ajax response comes back, but before the DOM is updated</td>
         </tr>
         <tr valign="top">
            <td>onbeforesubmit</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called before the AJAX request is submitted</td>
         </tr>
         <tr valign="top">
            <td>onbegin</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called before an ajax request.</td>
         </tr>
         <tr valign="top">
            <td>oncomplete</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called after the DOM is updated</td>
         </tr>
         <tr valign="top">
            <td>onerror</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called when an error has occurred during Ajax communications</td>
         </tr>
         <tr valign="top">
            <td>queueId</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Identify the name of the destination queue</td>
         </tr>
         <tr valign="top">
            <td>render</td>
            <td>false</td>
            <td><code>java.util.Collection</code></td>
            <td>Ids of components that will participate in the "render" portion of the Request Processing Lifecycle. Can be a single id, a
               space or comma separated list of Id's, or an EL Expression evaluating to an array or Collection. Any of the keywords "@this",
               "@form", "@all", "@none", "@region" may be specified in the identifier list. Some components make use of additional keywords
            </td>
         </tr>
         <tr valign="top">
            <td>status</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>ID of the request status component</td>
         </tr>
      </table><br><p></p><a name="navbar_bottom"></a><table border="0" width="100%" cellpadding="1" cellspacing="0">
         <tr>
            <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><a NAME="navbar_bottom_firstrow"></a><table BORDER="0" CELLPADDING="0" CELLSPACING="3">
                  <tr ALIGN="center" VALIGN="top">
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<font CLASS="NavBarFont1Rev">&nbsp;Tag&nbsp;</font>&nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>
                        &nbsp;
                        
                     </td>
                  </tr>
               </table>
            </td>
            <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em></em></td>
         </tr>
         <tr>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2"></font></td>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
                  &nbsp;
                  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>
                  &nbsp;
                  &nbsp;
                  <a href="ajax.html" target="_top"><b>NO FRAMES</b></a>
                  &nbsp;
                  <script></script><noscript><a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a></noscript></font></td>
         </tr>
      </table>
      <hr><small><i>
            Output Generated by
            <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation
               Generator</a>.
            </i></small></body>
</html>
New to GrepCode? Check out our FAQ X