Hello,
I am trying to understand how to use the invokeOnComponent method (jsf 1.2)
Have a look here and tell me why is says *"invokeOnComponent"* in the
contextcallback and not *invokeContextCallback"*???
*private* UIComponent found = *null*;
*private* *void* doFind(FacesContext context, String clientId) {
context.getViewRoot().invokeOnComponent(context, clientId,
*new* ContextCallback() {
*public* *void* invokeOnComponent(FacesContext context,
UIComponent component) {
found = component;
}
});
}
Is this a typo?? What I am getting wrong here??
Julien.
Here:
http://java.sun.com/javaee/5/docs/api/javax/faces/component/UIComponent.html