List Info

Thread: Is this a typo in the javadoc? (invokeOnComponent)




Is this a typo in the javadoc? (invokeOnComponent)
user name
2007-08-31 08:13:14
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
Re: Is this a typo in the javadoc? (invokeOnComponent)
user name
2007-08-31 09:01:54
Yep, that's a typo.

On 8/31/07, Julien Martin < balteogmail.com">balteogmail.com> wrote:
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;
&nbsp;
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

Re: Is this a typo in the javadoc? (invokeOnComponent)
user name
2007-08-31 09:05:52
Do we report it?
J.

2007/8/31, Simon Lessard < simon.lessard.3gmail.com">simon.lessard.3gmail.com>:
Yep, that's a typo.


On 8/31/07, Julien Martin < balteogmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> balteogmail.com> wrote:
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;
&nbsp;
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


Re: Is this a typo in the javadoc? (invokeOnComponent)
user name
2007-08-31 09:07:55
send a mail to RI-dev list, I am 100% sure, Ryan will fix it
asap.

On 8/31/07, Julien Martin <balteogmail.com> wrote:
> Do we report it?
> J.
>
> 2007/8/31, Simon Lessard <simon.lessard.3gmail.com>:
> > Yep, that's a typo.
> >
> >
> >
> > On 8/31/07, Julien Martin < balteogmail.com> wrote:
> > > 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/ap
i/javax/faces/component/UIComponent.html
> >
> >
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matth
iaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: Is this a typo in the javadoc? (invokeOnComponent)
user name
2007-08-31 09:20:09
Can you please do it if you have the time. I haven't been able to figure out the email address for the list...
Julien.

2007/8/31, Matthias Wessendorf < matzewapache.org"> matzewapache.org>:
send a mail to RI-dev list, I am 100% sure, Ryan will fix it asap.

On 8/31/07, Julien Martin < balteogmail.com">balteogmail.com> wrote:
>; Do we report it?
> J.
>
&gt; 2007/8/31, Simon Lessard < simon.lessard.3gmail.com"> simon.lessard.3gmail.com>:
> > Yep, that's a typo.
> >
> >
> >
> > On 8/31/07, Julien Martin < balteogmail.com">balteogmail.com> wrote:
&gt; > > 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
&gt; > > void invokeOnComponent(FacesContext context,
&gt; > > UIComponent component) {
> > > found = component;
> > >
> > >
> > >
> > > }
> > > });
> > > }
> > >
> > >
> > >
> > > Is this a typo?? What I am getting wrong here??
>; > >
> > > Julien.
&gt; > >
>; > > Here:
> > >
> > >
> http://java.sun.com/javaee/5/docs/api/javax/faces/component/UIComponent.html
> >
> >
>
>


--
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: Is this a typo in the javadoc? (invokeOnComponent)
user name
2007-08-31 09:22:46
hi ryan,

looks like there is a typo in the Java Doc, see the thread.

thx,
matthias

On 8/31/07, Matthias Wessendorf <matzewapache.org> wrote:
> send a mail to RI-dev list, I am 100% sure, Ryan will
fix it asap.
>
> On 8/31/07, Julien Martin <balteogmail.com> wrote:
> > Do we report it?
> > J.
> >
> > 2007/8/31, Simon Lessard <simon.lessard.3gmail.com>:
> > > Yep, that's a typo.
> > >
> > >
> > >
> > > On 8/31/07, Julien Martin < balteogmail.com> wrote:
> > > > 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/ap
i/javax/faces/component/UIComponent.html
> > >
> > >
> >
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matth
iaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matth
iaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: Is this a typo in the javadoc? (invokeOnComponent)
user name
2007-08-31 09:42:38
thanks

2007/8/31, Matthias Wessendorf < matzewapache.org">matzewapache.org>:
hi ryan,

looks like there is a typo in the Java Doc, see the thread.

thx,
matthias

On 8/31/07, Matthias Wessendorf < matzewapache.org">matzewapache.org> wrote:
>; send a mail to RI-dev list, I am 100% sure, Ryan will fix it asap.
&gt;
> On 8/31/07, Julien Martin < balteogmail.com">balteogmail.com> wrote:
>; > Do we report it?
> > J.
> >
> > 2007/8/31, Simon Lessard < simon.lessard.3gmail.com"> simon.lessard.3gmail.com>:
> > > Yep, that's a typo.
> > >
> > >
> > >
> > > On 8/31/07, Julien Martin < balteogmail.com">balteogmail.com > wrote:
>; > > > 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,
&gt; > > > UIComponent component) {
> > > > found = component;
> > > >
>; > > >
> > > >
> > > > }
> > > > });
> > > > }
> > > >
> > > >
> > > >
> > > > Is this a typo?? What I am getting wrong here??
&gt; > > >
> > > > Julien.
&gt; > > >
> > > > Here:
> > > >
> > > >
> > http://java.sun.com/javaee/5/docs/api/javax/faces/component/UIComponent.html
> > >
> > >
> >
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
&gt; blog: http://matthiaswessendorf.wordpress.com/
&gt; mail: matzew-at-apache-dot-org
>


--
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )