a4j


XML Syntax:
     <anyxmlelement xmlns:a4j="http://richfaces.org/a4j" />

Represents core Ajax functionality, and page wide Ajax controls and utility components.

Tag Library Information
Display Name Ajax4JSF
Short Name a4j
URI http://richfaces.org/a4j
 

Tag Summary
actionListener No Description
ajax

The <a4j:ajax> 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.

@author Anton Belevich
attachQueue

The <a4j:attachQueue> behavior is used together with a <a4j:queue> component to further customize queuing for particular components and behaviors. The <a4j:attachQueue> behavior can override the scope-wide queue settings for an individual component, or attach specific requests to a queue.

@author Nick Belaevski
commandButton

The <a4j:commandButton> component is similar to the JavaServer Faces (JSF) <h:commandButton> component, but additionally includes Ajax support.

@author Nick Belaevski
commandLink

The <a4j:commandLink> component is similar to the JavaServer Faces (JSF) <h:commandLink> component, except that it includes plugged-in Ajax behavior.

@author Nick Belaevski
jsFunction

The <a4j:jsFunction> component performs Ajax requests directly from JavaScript code and retrieves server-side data. The server-side data is returned in JavaScript Object Notation (JSON) format prior to the execution of any JavaScript code defined using the "oncomplete" attribute.

@author asmirnov@exadel.com
log

The <a4j:log> component generates JavaScript that opens a debug window, logging application information such as requests, responses, and DOM changes.

@author Nick Belaevski
mediaOutput

The <a4j:mediaOutput> component is used for generating images, video, sounds, and other resources defined on the fly.

@author shura
outputPanel

The <a4j:outputPanel> component is used to group together components in to update them as a whole, rather than having to specify the components individually.

@author asmirnov@exadel.com

param

The <a4j:param> behavior combines the functionality of the JavaServer Faces (JSF) components <f:param> and <f:actionListener>.

@author shura, alexsmirnov
poll

The <a4j:poll> component allows periodical sending of Ajax requests to the server. It is used for repeatedly updating a page at specific time intervals.

@author shura
push

The <a4j:push> component performs real-time updates on the client side from events triggered at the server side. The events are pushed out to the client through the RichFaces messaging queue (which is bound to Java Messaging Service - JMS). When the <a4j:push> component is triggered by a server event, it can in turn cause Ajax updates and changes.

@author Nick Belaevski @author Lukas Fryc
queue

The <a4j:queue> component manages the JSF queue of Ajax requests. It provides additional options for a finer control of request processing.

@author Nick Belaevski
region

The <a4j:region> component specifies a part of the JSF component tree to be processed on the server. The region causes all the a4j and rich Ajax controls to execute: decoding, validating, and updating the model. The region causes these components to execute even if not explicitly declared. As such, processing areas can more easily be marked using a declarative approach.

Regions can be nested, in which case only the parent region of the component initiating the request will be processed.

@author Nick Belaevski
repeat

The non-visual <a4j:repeat> component is used to iterate through a data model. The component renders child content for every iteration according to the current object data.

@author Nick Belaevski
status

The <a4j:status> component displays the status of current Ajax requests. The status can be either in progress, complete, or an error is shown after a failed request.

@author Nick Belaevski
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.