Class: queue

queue

new queue()

RichFaces Queue API container
Source:

Members

<static, constant> DEFAULT_QUEUE_ID :string

Type:
  • string
Source:

Methods

<static> clear()

Remove all QueueEntry from the queue
Source:

<static> getSize() → {number}

Get current queue size
Source:
Returns:
size of items in the queue
Type
number

<static> isEmpty() → {boolean}

Check if queue is empty
Source:
Returns:
returns true if queue is empty
Type
boolean

<static> push(source, event, options)

Create and push QueueEntry to the queue for ajax requests
Parameters:
Name Type Argument Description
source string | DOMElement The DOM element or an id that triggered this ajax request
event object <optional>
The DOM event that triggered this ajax request
options object <optional>
The set name/value pairs that can be sent as request parameters to control client and/or server side request processing
Source:

<static> submitFirst()

Extract and submit first QueueEntry in the queue if QueueEntry is ready to submit
Source: