This week's book giveaway is in the
General Computing
forum.
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
JSF
Author
Is this a typo in the javadoc? (invokeOnComponent)
Julien Martin
Ranch Hand
Joined: Apr 24, 2004
Posts: 384
posted
Aug 31, 2007 07:11:00
0
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
I agree. Here's the link:
http://aspose.com/file-tools
subject: Is this a typo in the javadoc? (invokeOnComponent)
Similar Threads
Difference between UIComponent getId and getClientId(FacesContext)
Binding: converting from String to Object
please help on this error.thanks
How h:message and h:messages work
JSF--> where to store reference to Stateful Session bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter