RequestContext is a utility class provided by PrimeFaces with the following features, which come in handy at times:
RequestContext utility class can be used with both AJAX and Non-AJAX requests. We can also use the
requestContext.isAjaxRequest() method to determine whether the current request is an AJAX or Non-AJAX request.
Normally we use the
update attribute to specify the component ID(s) that needs to be updated after an
AJAX request is completed.
We can also update the components using the