Top Description Methods
javax.faces.component

public Interface ContextCallback

Known Direct Implementers
com.sun.faces.component.search.SearchExpressionHandlerImpl.ResolveClientIdCallback, com.sun.faces.component.search.SearchExpressionHandlerImpl.ResolveClientIdsCallback, com.sun.faces.component.search.SearchExpressionHandlerImpl.ResolveComponentCallback, com.sun.faces.component.search.SearchExpressionHandlerImpl.ResolveComponentsCallback
Imports
javax.faces.context.FacesContext

A simple callback interace that enables taking action on a specific UIComponent (either facet or child) in the view while preserving any contextual state for that component instance in the view.

Method Summary

Modifier and TypeMethod and Description
public void
invokeContextCallback(FacesContext
the FacesContext for this request.
context
,
UIComponent
the UIComponent that was located by clientId by a call to UIComponent#invokeOnComponent.
target
)

This method will be called by an implementation of UIComponent#invokeOnComponent and must be passed the component with the clientId given as an argument to invokeOnComponent.

Method Detail

invokeContextCallbackback to summary
public void invokeContextCallback(FacesContext context, UIComponent target)

This method will be called by an implementation of UIComponent#invokeOnComponent and must be passed the component with the clientId given as an argument to invokeOnComponent. At the point in time when this method is called, the argument target is guaranteed to be in the proper state with respect to its ancestors in the View.

Parameters
context:FacesContext

the FacesContext for this request.

target:UIComponent

the UIComponent that was located by clientId by a call to UIComponent#invokeOnComponent.