You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by he...@dnbnor.no on 2007/04/26 07:28:12 UTC
Find what component a generated id is
Hi
I am having trouble when having 2 (Vertical) PanelNavigation2 components on a page. When I hit a menu item in the second one I get an error during rendering of the response:
Intermediate identifier _id44 in search expression _id44:nav1 identifies a UIComponent that is not a NamingContainer
Now _id44 is of not that easy to figure out what is so I would like to be able to find which faces component it maps to.
I seem to remember that there is a setting you set to have MyFaces output what/where it is in the renderingphase. Anybody know what this setting looks like.
Hermod
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email.
This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Re: Find what component a generated id is
Posted by Mike Kienenberger <mk...@gmail.com>.
FacesTraces maybe?
On 4/26/07, Simon Kitching <si...@rhe.co.nz> wrote:
> I seem to remember at some time in the past getting a complete dump of
> the tree structure at the end of each request in the logfile. Can't
> remember what I did to make that happen though...
>
> Andrew Robinson wrote:
> > If you are using facelets, setup the ui:debug, it will show you the
> > entire component tree. Also, you can put a break point in the encode
> > begin of a component and then use the debugger to inspect the
> > component tree. Or write a custom phase listener that prints the
> > component tree with IDs to the console in the before render phase.
> >
> > On 4/25/07, hermod.opstvedt@dnbnor.no <he...@dnbnor.no> wrote:
> >> Hi
> >>
> >> I am having trouble when having 2 (Vertical) PanelNavigation2
> >> components on a page. When I hit a menu item in the second one I get
> >> an error during rendering of the response:
> >>
> >> Intermediate identifier _id44 in search expression _id44:nav1
> >> identifies a UIComponent that is not a NamingContainer
> >>
> >> Now _id44 is of not that easy to figure out what is so I would like to
> >> be able to find which faces component it maps to.
> >>
> >> I seem to remember that there is a setting you set to have MyFaces
> >> output what/where it is in the renderingphase. Anybody know what this
> >> setting looks like.
> >>
> >> Hermod
> >> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> >> * * *
> >>
> >> This email with attachments is solely for the use of the individual or
> >> entity to whom it is addressed. Please also be aware that the DnB NOR
> >> Group
> >> cannot accept any payment orders or other legally binding
> >> correspondence with
> >> customers as a part of an email.
> >>
> >> This email message has been virus checked by the anti virus programs used
> >> in the DnB NOR Group.
> >>
> >> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> >> * * *
> >>
>
>
Re: Find what component a generated id is
Posted by Simon Kitching <si...@rhe.co.nz>.
I seem to remember at some time in the past getting a complete dump of
the tree structure at the end of each request in the logfile. Can't
remember what I did to make that happen though...
Andrew Robinson wrote:
> If you are using facelets, setup the ui:debug, it will show you the
> entire component tree. Also, you can put a break point in the encode
> begin of a component and then use the debugger to inspect the
> component tree. Or write a custom phase listener that prints the
> component tree with IDs to the console in the before render phase.
>
> On 4/25/07, hermod.opstvedt@dnbnor.no <he...@dnbnor.no> wrote:
>> Hi
>>
>> I am having trouble when having 2 (Vertical) PanelNavigation2
>> components on a page. When I hit a menu item in the second one I get
>> an error during rendering of the response:
>>
>> Intermediate identifier _id44 in search expression _id44:nav1
>> identifies a UIComponent that is not a NamingContainer
>>
>> Now _id44 is of not that easy to figure out what is so I would like to
>> be able to find which faces component it maps to.
>>
>> I seem to remember that there is a setting you set to have MyFaces
>> output what/where it is in the renderingphase. Anybody know what this
>> setting looks like.
>>
>> Hermod
>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>> * * *
>>
>> This email with attachments is solely for the use of the individual or
>> entity to whom it is addressed. Please also be aware that the DnB NOR
>> Group
>> cannot accept any payment orders or other legally binding
>> correspondence with
>> customers as a part of an email.
>>
>> This email message has been virus checked by the anti virus programs used
>> in the DnB NOR Group.
>>
>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>> * * *
>>
Re: Find what component a generated id is
Posted by Andrew Robinson <an...@gmail.com>.
If you are using facelets, setup the ui:debug, it will show you the
entire component tree. Also, you can put a break point in the encode
begin of a component and then use the debugger to inspect the
component tree. Or write a custom phase listener that prints the
component tree with IDs to the console in the before render phase.
On 4/25/07, hermod.opstvedt@dnbnor.no <he...@dnbnor.no> wrote:
> Hi
>
> I am having trouble when having 2 (Vertical) PanelNavigation2 components on a page. When I hit a menu item in the second one I get an error during rendering of the response:
>
> Intermediate identifier _id44 in search expression _id44:nav1 identifies a UIComponent that is not a NamingContainer
>
> Now _id44 is of not that easy to figure out what is so I would like to be able to find which faces component it maps to.
>
> I seem to remember that there is a setting you set to have MyFaces output what/where it is in the renderingphase. Anybody know what this setting looks like.
>
> Hermod
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the DnB NOR Group
> cannot accept any payment orders or other legally binding correspondence with
> customers as a part of an email.
>
> This email message has been virus checked by the anti virus programs used
> in the DnB NOR Group.
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>