Namespace: util

faces.util

The namespace for Jakarta Faces JavaScript utilities.
Source:

Methods

(static) chain(source, event)

A varargs function that invokes an arbitrary number of scripts. If any script in the chain returns false, the chain is short-circuited and subsequent scripts are not invoked. Any number of scripts may specified after the event argument.

Parameters:
Name Type Description
source The DOM element that triggered this Ajax request, or an id string of the element to use as the triggering element.
event The DOM event that triggered this Ajax request. The event argument is optional.
Source:
Returns:
boolean false if any scripts in the chain return false, otherwise returns true