JBoss.orgCommunity Documentation

Chapter 7. Processing management

7.1. <a4j:queue>
7.1.1. Basic usage
7.1.2. Delaying requests
7.1.3. Duplicate responses
7.1.4. Queue scopes
7.1.5. <a4j:queue> client-side events
7.1.6. Reference data
7.1.7. <a4j:attachQueue>
7.2. <a4j:log>
7.2.1. Basic usage
7.2.2. Log monitoring
7.2.3. Reference data
7.2.4. Style classes and skin parameters
7.3. <a4j:status>
7.3.1. Customizing the text
7.3.2. Specifying a region
7.3.3. JavaScript API
7.3.4. Reference data

This chapter covers those components that manage the processing of information, requests, and updates.

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

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.

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

The <a4j:log> component is intended primarily for debugging during development. However it is still possible to style the component if desired.

Table 7.1. Style classes (selectors) and corresponding skin parameters

Class (selector)Skin ParametersMapped CSS properties
.rf-log

This class defines styles for the log.

generalTextColor

color

.rf-log-popup

This class defines styles for the log when it appears as a pop-up.

No skin parameters.
.rf-log-popup-cnt

This class defines styles for the content of the log pop-up.

No skin parameters.
.rf-log-inline

This class defines styles for the log when it appears in-line.

No skin parameters.
.rf-log-contents

This class defines styles for the log contents.

No skin parameters.
.rf-log-entry-lbl

This class defines styles for a label in the log.

No skin parameters.
.rf-log-entry-lbl-debug

This class defines styles for the debug label in the log.

No skin parameters.
.rf-log-entry-lbl-info

This class defines styles for the information label in the log.

No skin parameters.
.rf-log-entry-lbl-warn

This class defines styles for the warning label in the log.

No skin parameters.
.rf-log-entry-lbl-error

This class defines styles for the error label in the log.

No skin parameters.
.rf-log-entry-msg

This class defines styles for a message in the log.

No skin parameters.
.rf-log-entry-msg-debug

This class defines styles for the debug message in the log.

No skin parameters.
.rf-log-entry-msg-info

This class defines styles for the information message in the log.

No skin parameters.
.rf-log-entry-msg-warn

This class defines styles for the warning message in the log.

No skin parameters.
.rf-log-entry-msg-error

This class defines styles for the error message in the log.

No skin parameters.
.rf-log-entry-msg-xml

This class defines styles for an XML message in the log.

No skin parameters.

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.

The <a4j:status> component monitors the status of the region relevant to where it is placed.

However, if identified with the name attribute, the <a4j:status> component can monitor any Ajax component or behavior. Use the status attribute on the Ajax component or behavior to reference the name identifier of the <a4j:status> component.