pe:masterDetail: Log Warning Unsupported component-family

Community Driven Extensions Project
Post Reply
mdcore
Posts: 11
Joined: 11 Jul 2011, 12:54

08 Jun 2012, 10:40

Hi everyone,

i use the great pe:masterDetail component to do CRUD operations on a view (same as in showcase). It all works fine but i always get a lot of warnings in my log.
I´ve done a lot of search round the web but i can´t find a solution working for me.

The log message(s) looks like this:

Code: Select all

08.06.2012 10:28:32 org.apache.myfaces.renderkit.html.HtmlRenderKitImpl getRenderer
WARNUNG: Unsupported component-family/renderer-type: org.primefaces.extensions.component/org.primefaces.extensions.component.MasterDetailLevel
08.06.2012 10:28:32 javax.faces.component.UIComponentBase getRenderer
WARNUNG: No Renderer found for component {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /pages/admin/user/manage.xhtml][Class: javax.faces.component.html.HtmlBody,Id: j_id_7][Class: javax.faces.component.html.HtmlForm,Id: form][Class: javax.faces.component.html.HtmlPanelGroup,Id: j_id_s][Class: org.primefaces.extensions.component.masterdetail.MasterDetail,Id: masterDetail][Class: org.primefaces.extensions.component.masterdetail.MasterDetailLevel,Id: j_id_v]} (component-family=org.primefaces.extensions.component, renderer-type=org.primefaces.extensions.component.MasterDetailLevel) created from: /pages/admin/user/manage.xhtml at line 20 and column 57
08.06.2012 10:28:33 org.apache.myfaces.renderkit.html.HtmlRenderKitImpl getRenderer
Can anybody give me a hint how to solve it?

My configuration: PE 0.4.0 with Primefaces dependencies running on tomcat 6.0.35 and MyFaces 2.1.7

Thanks in advance!
Daniel

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

08 Jun 2012, 11:10

This is a typically MyFaces output, not only for MasterDetail I think. Mojarra doesn't have such warnings. According to this warning MasterDetailLevel doesn't have a renderer class. That's true and legal.

Thomas (zoigl), I know you use MyFaces, do you have any clue / tip what happens here and how to overcome these warnings? Why does MyFaces logs this at all when a component doesn't have a renderer? This is valid for a lot of components.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

08 Jun 2012, 11:41

I've never seen this error. Could try to place an menu with items in your page and the same error should occur because menuitems does not have a renderer, too. We use menus in our application an i never faces such an warning.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

08 Jun 2012, 11:45

I think I found the problem

Code: Select all

public MasterDetailLevel() {
    setRendererType(DEFAULT_RENDERER);
}
I will try today to remove such constructs for components which don't have any renderers. We will release tomorrow by the way.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

mdcore
Posts: 11
Joined: 11 Jul 2011, 12:54

08 Jun 2012, 11:54

Oleg wrote:I think I found the problem

Code: Select all

public MasterDetailLevel() {
    setRendererType(DEFAULT_RENDERER);
}
I will try today to remove such constructs for components which don't have any renderers. We will release tomorrow by the way.

Great news! Thanks a lot.

@zoigl
i already have a menu with items in other views (without masterDetail) and the warning didn´t appear.

by the way: i´m falling in love with Prime (+ Extension) - but don´t tell my girlfriend :)

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

08 Jun 2012, 11:59

Fixed. Thanks for reporting!
by the way: i'm falling in love with Prime (+ Extension) - but don't tell my girlfriend
Sure, no worries. We are also affected by this issue :-)
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

mdcore
Posts: 11
Joined: 11 Jul 2011, 12:54

08 Jun 2012, 12:03

Perfect!

Thanks from Germany!

mdcore
Posts: 11
Joined: 11 Jul 2011, 12:54

11 Jun 2012, 15:58

just for sake of completeness...

Warnings are gone into nirvana since 0.5.0.

Thanks a lot!

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests