Iterates over all immediate children of the given node and returns the concatenated content (node value
)
of each such child node. For the document itself, the node value is null
.
For text, comment, and CDATA nodes, the node value
is the (text) content of the node.
For attribute nodes, the value of the attribute is used.
An HTML node for which to retrieve the content.
The content of all immediate child nodes, concatenated together.
Gets a selector to resolve all forms which needs to be updated with a new ViewState. This is required in portlets as the DOM contains forms of multiple JSF views / applications.
The closest form of the request source.
The portlet parameter prefix.
The selector for the forms, or null
when no forms need to be updated.
Resolves the URL which should be used for the POST request. For portlets, a different URL is used.
The closest form of the request source.
The POST url.
Get source ID from settings.
containing source ID.
The source ID from settings or null
if settings does not contain a source.
Is this script an AJAX request?
the JS script to check
true
if this script contains an AJAX request
Checks whether the component ID from the provided widget equals the source ID from the provided settings.
of the component to check for being the source.
containing source ID.
true
if the component ID from the provided widget equals the source ID from the
provided settings.
Checks whether one of component's triggers equals the source ID from the provided settings.
of the component to check for being the source.
containing source ID.
flag to check if the trigger must exist
true
if if one of component's triggers equals the source ID from the provided settings.
Updates the HTML body
element of the current document with the content received from an AJAX request.
The content of the changeset that was returned by an AJAX request.
Updates an element with the given ID by applying a change set that was returned by an AJAX request. This involves replacing the HTML content of the element with the new content.
ID of the element that is to be updated.
The new content of the changeset as returned by an AJAX request.
Optional XHR request with pfSettings
or pfArgs
with further
data, such as which forms should be updated.
Updates the main hidden input element for each form.
Name of the hidden form input element, usually the same as the form.
Value to set on the hidden input element.
Optional XHR request with pfSettings
or pfArgs
with further
data, such as which forms should be updated.
Updates the HTML head
element of the current document with the content received from an AJAX request.
The content of the changeset that was returned by an AJAX request.
Generated using TypeDoc
The class for the object with the AJAX utility methods, used for handling and working with AJAX requests and updates.