Namespace jsf.util
The namespace for JavaServer Faces JavaScript utilities.
Defined in: jsf.js.
Constructor Attributes | Constructor Name and Description |
---|---|
The namespace for JavaServer Faces JavaScript utilities.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
jsf.util.chain(source, event)
A varargs function that invokes an arbitrary number of scripts. |
Method Detail
<static>
jsf.util.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:
- 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.
- Returns:
- boolean
false
if any scripts in the chain returnfalse
, otherwise returnstrue