[prev in list] [next in list] [prev in thread] [next in thread]
List: myfaces-user
Subject: Re: Annoying INFO Message: Unable to find component
From: "Craig McClanahan" <craigmcc () apache ! org>
Date: 2006-02-28 8:23:17
Message-ID: f8b39ace0602280023m710e6d8dl10e4e972bc942e98 () mail ! gmail ! com
[Download RAW message or body]
On 2/28/06, Martin Marinschek <martin.marinschek@gmail.com> wrote:
>
> That's due to the interaction of JSP and JSF.
>
> On the first pass (=first access of a page, on subsequent ones this is
> not a problem), the component-tree get's created while going through
> the JSP-page. Now if a component doesn't render it's children, the
> first children (=your label) doesn't know that the next children
> (=your input) will be created.
BTW, this is one of the many things that works *much* better in a JSF 1.2world.
Craig
regards,
>
> Martin
>
> On 2/28/06, Mike Duffy <mduffy_lists@yahoo.com> wrote:
> > I've Googled on this for about two hours, hoping to find a solution.
> >
> > It seems that this is a very old issue that once started out as an
> error, but was changed to an
> > info message.
> >
> > Martin Marinschek closed MYFACES-261:
> > http://www.archivum.info/dev@myfaces.apache.org/2005-06/msg00047.html
> >
> > Basic question: If the component id is clearly referenced in the
> <h:outputLabel
> > for="componentID"..., why can't the component be found? This seems like
> it is a bug.
> >
> > Mike
> >
> >
> >
> > --- Volker Weber <users.myfaces@weber-oldenburg.de> wrote:
> >
> > > Hi Mike,
> > >
> > > Mike Duffy wrote:
> > > > I am seeing an annoying INFO message for every JSP that contains a
> JSF component:
> > > >
> > > > INFO [RendererUtils] Unable to find component 'projectTypeValue'
> (calling findComponent on
> > > > component 'selectProjectTypeIssueType:_idJsp74'). We'll try to
> return a guessed client-id
> > > anyways
> > > > - this will be a problem if you put the referenced component into a
> different
> > > naming-container. If
> > > > this is the case, you can always use the full client-id.
> > > >
> > > > The component name seems to be based on the backing bean parameter,
> not the id.
> > > >
> > > > I've tried using variations of the "full client-id", using
> formname:componentParameter, etc.
> > > > Nothing seems to work.
> > >
> > > not sure, but try an 'absolute' clientId starting with a colon
> > > e.g. ":formname:componentParameter"
> > >
> > > Regards,
> > > Volker
> > >
> > > >
> > > > Any suggestions?
> > > >
> > > > Also, can someone please send an example of exactly what a "full
> client-id" is? Does the
> > > > component id need to be related to the component paramaeter value?
> > > >
> > > > Thx.
> > > >
> > > > Mike
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Tired of spam? Yahoo! Mail has the best spam protection around
> > > > http://mail.yahoo.com
> > > >
> > >
> > > --
> > > Don't answer to From: address!
> > > Mail to this account are droped if not recieved via mailinglist.
> > > To contact me direct create the mail address by
> > > concatenating my forename to my senders domain.
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
[Attachment #3 (text/html)]
<br><br><div><span class="gmail_quote">On 2/28/06, <b class="gmail_sendername">Martin \
Marinschek</b> <<a \
href="mailto:martin.marinschek@gmail.com">martin.marinschek@gmail.com</a>> \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> That's due to the \
interaction of JSP and JSF.<br><br>On the first pass (=first access of a page, on \
subsequent ones this is<br>not a problem), the component-tree get's created while \
going through<br>the JSP-page. Now if a component doesn't render it's children, the \
<br>first children (=your label) doesn't know that the next children<br>(=your input) \
will be created.</blockquote><div><br>BTW, this is one of the many things that works \
*much* better in a JSF 1.2 world. <br><br>Craig<br> </div><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">regards,<br><br>Martin<br><br>On 2/28/06, Mike Duffy \
<<a href="mailto:mduffy_lists@yahoo.com"> mduffy_lists@yahoo.com</a>> \
wrote:<br>> I've Googled on this for about two hours, hoping to find a \
solution.<br>><br>> It seems that this is a very old issue that once started \
out as an error, but was changed to an <br>> info message.<br>><br>> Martin \
Marinschek closed MYFACES-261:<br>> <a \
href="http://www.archivum.info/dev@myfaces.apache.org/2005-06/msg00047.html">http://www.archivum.info/dev@myfaces.apache.org/2005-06/msg00047.html
</a><br>><br>> Basic question: If the component id is clearly \
referenced in the <h:outputLabel<br>> for="componentID"..., why can't \
the component be found? This seems like it is a bug.<br>><br>> Mike \
<br>><br>><br>><br>> --- Volker Weber <<a \
href="mailto:users.myfaces@weber-oldenburg.de">users.myfaces@weber-oldenburg.de</a>> \
wrote:<br>><br>> > Hi Mike,<br>> ><br>> > Mike Duffy wrote: \
<br>> > > I am seeing an annoying INFO message for every JSP that contains a \
JSF component:<br>> > ><br>> > > INFO [RendererUtils] \
Unable to find component 'projectTypeValue' (calling findComponent on <br>> > \
> component 'selectProjectTypeIssueType:_idJsp74'). We'll try to return a guessed \
client-id<br>> > anyways<br>> > > - this will be a problem if you put \
the referenced component into a different <br>> > naming-container. If<br>> \
> > this is the case, you can always use the full client-id.<br>> > \
><br>> > > The component name seems to be based on the backing bean \
parameter, not the id. <br>> > ><br>> > > I've tried using \
variations of the "full client-id", using formname:componentParameter, \
etc.<br>> > > Nothing seems to work.<br>> ><br>> > not sure, but \
try an 'absolute' clientId starting with a colon <br>> > e.g. \
":formname:componentParameter"<br>> ><br>> > Regards,<br>> \
> Volker<br>> ><br>> > ><br>> > > Any \
suggestions?<br>> > ><br>> > > Also, can someone please send an \
example of exactly what a "full client-id" is? Does the <br>> \
> > component id need to be related to the component paramaeter value?<br>> \
> ><br>> > > Thx.<br>> > ><br>> > > Mike<br>> \
> ><br>> > > __________________________________________________ \
<br>> > > Do You Yahoo!?<br>> > > Tired of spam? Yahoo! \
Mail has the best spam protection around<br>> > > <a \
href="http://mail.yahoo.com">http://mail.yahoo.com</a><br>> > ><br>> > \
<br>> > --<br>> > Don't answer to From: address!<br>> > Mail to \
this account are droped if not recieved via mailinglist.<br>> > To contact me \
direct create the mail address by<br>> > concatenating my forename to my \
senders domain. <br>> ><br>><br>><br>> \
__________________________________________________<br>> Do You Yahoo!?<br>> \
Tired of spam? Yahoo! Mail has the best spam protection around<br>> <a \
href="http://mail.yahoo.com"> \
http://mail.yahoo.com</a><br>><br><br><br>--<br><br><a \
href="http://www.irian.at">http://www.irian.at</a><br><br>Your JSF powerhouse \
-<br>JSF Consulting, Development and<br>Courses in English and \
German<br><br>Professional Support for Apache MyFaces <br></blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic