Namespace: util

jsf. util

The namespace for JavaServer Faces JavaScript utilities.


(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.

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.
boolean false if any scripts in the chain return false, otherwise returns true