Hello Hani,
since Tobago 1.5 the renderers must be configured in the faces-config.xml
This will be done automatically, when using generated components like
from org.apache.myfaces.tobago.internal.taglib.component.BoxTagDeclaration
I'll add a notice in the migration guild.
Hope that helps.
Regards,
Udo
Am 26.07.13 17:25, schrieb Abushammala, Hani (EXTERN: BERIS):
> Hi,
>
> I`ve developed a component with own renderer class, but the renderer could
> not be called after migration from Tobago 1.0.39 to 1.5.10 .
> I don`t know how I can configure the renderer for the new component in Tobago.
>
> We use in the application an own theme, so I added the renderer class to the
> resource path of the theme, but it doesn`t work now with Tobago 1.5.10.
>
> Log:
> WARN org.apache.myfaces.renderkit.html.HtmlRenderKitImpl - Unsupported
> component-family/renderer-type: DynamicPanelFamily/DynamicPanel
> Jul 26, 2013 5:15:33 PM org.apache.catalina.core.ApplicationContext log
> INFO: No Renderer found for component {Component-Path : [Class:
> org.apache.myfaces.tobago.component.UIViewRoot,ViewId:/test.jsp][Class:
> org.apache.myfaces.tobago.component.UIPage,Id: page][Class:
> org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_1065899994_5][Class:
> org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_1065899994_7][Class:
> org.apache.myfaces.tobago.component.UIPanel,Id:
> j_id_jsp_2134803194_1pc10][Class:
> org.apache.myfaces.tobago.component.UITabGroup,Id: tabGroupRang][Class:
> org.apache.myfaces.tobago.component.UITab,Id:
> j_id_jsp_2134803194_44pc10][Class:
> org.apache.myfaces.tobago.component.UIBox,Id:
> j_id_jsp_2134803194_54pc10][Class:
> org.apache.myfaces.tobago.component.UISheet,Id: sheet][Class:
> org.apache.myfaces.tobago.component.UIColumn,Id: pnPanel1][Class:
> de.volkswagen.prolog.web.components.UIDynamicPanel,Id:
> j_id_jsp_2134803194_87pc10]} (component-family=DynamicPanelFamily,
> renderer-type=DynamicPanel)
> ERROR org.apache.myfaces.tobago.renderkit.TobagoRenderKit - The class which
> was found by the ResourceManager cannot be found or instantiated:
> classname='DynamicPanel'
> WARN javax.faces.component.UIComponentBase - No Renderer found for component
> {Component-Path : [Class:
> org.apache.myfaces.tobago.component.UIViewRoot,ViewId:/test.jsp][Class:
> org.apache.myfaces.tobago.component.UIPage,Id: page][Class:
> org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_1065899994_5][Class:
> org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_1065899994_7][Class:
> org.apache.myfaces.tobago.component.UIPanel,Id:
> j_id_jsp_2134803194_1pc10][Class:
> org.apache.myfaces.tobago.component.UITabGroup,Id: tabGroupRang][Class:
> org.apache.myfaces.tobago.component.UITab,Id:
> j_id_jsp_2134803194_44pc10][Class:
> org.apache.myfaces.tobago.component.UIBox,Id:
> j_id_jsp_2134803194_54pc10][Class:
> org.apache.myfaces.tobago.component.UISheet,Id: sheet][Class:
> org.apache.myfaces.tobago.component.UIColumn,Id: pnPanel1][Class:
> de.volkswagen.prolog.web.components.UIDynamicPanel,Id:
> j_id_jsp_2134803194_87pc10]} (component-family=DynamicPanelFamily,
> renderer-type=DynamicPanel)
> WARN org.apache.myfaces.tobago.internal.component.AbstractUISheet - Found no
> component inside of a UIColumn: column
> id='page:j_id_jsp_2134803194_44pc10:sheet:pnPanel1'. Creating a dummy with
> id='page:j_id_jsp_2134803194_44pc10:sheet:j_id101'!
> WARN org.apache.myfaces.tobago.internal.component.AbstractUISheet - Found no
> component inside of a UIColumn: column
> id='page:j_id_jsp_2134803194_135pc10:sheet2:pnPanel2'. Creating a dummy with
> id='page:j_id_jsp_2134803194_135pc10:sheet2:j_id102'!
> WARN org.apache.myfaces.tobago.layout.PixelMeasure - Not enough space!
> value=0
> WARN org.apache.myfaces.tobago.util.LayoutInfo - Space left after spreading
> : 1262px! clientId='page:j_id_jsp_2134803194_44pc10:sheet'
> WARN org.apache.myfaces.tobago.util.LayoutInfo - Space left after spreading
> : 1262px! clientId='page:j_id_jsp_2134803194_135pc10:sheet2'
> WARN org.apache.myfaces.renderkit.html.HtmlRenderKitImpl - Unsupported
> component-family/renderer-type: DynamicPanelFamily/DynamicPanel
> ERROR org.apache.myfaces.tobago.renderkit.TobagoRenderKit - The class which
> was found by the ResourceManager cannot be found or instantiated:
> classname='DynamicPanel'
> WARN org.apache.myfaces.renderkit.html.HtmlRenderKitImpl - Unsupported
> component-family/renderer-type: DynamicPanelFamily/DynamicPanel
> ERROR org.apache.myfaces.tobago.renderkit.TobagoRenderKit - The class which
> was found by the ResourceManager cannot be found or instantiated:
> classname='DynamicPanel'
> Jul 26, 2013 5:15:33 PM org.apache.catalina.core.ApplicationContext log
> INFO: No Renderer found for component {Component-Path : [Class:
> org.apache.myfaces.tobago.component.UIViewRoot,ViewId:/test.jsp][Class:
> org.apache.myfaces.tobago.component.UIPage,Id: page][Class:
> org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_1065899994_5][Class:
> org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_1065899994_7][Class:
> org.apache.myfaces.tobago.component.UIPanel,Id:
> j_id_jsp_2134803194_1pc10][Class:
> org.apache.myfaces.tobago.component.UITabGroup,Id: tabGroupRang][Class:
> org.apache.myfaces.tobago.component.UITab,Id:
> j_id_jsp_2134803194_44pc10][Class:
> org.apache.myfaces.tobago.component.UIBox,Id:
> j_id_jsp_2134803194_54pc10][Class:
> org.apache.myfaces.tobago.component.UISheet,Id: sheet][Class:
> org.apache.myfaces.tobago.component.UIColumn,Id: pnPanel1][Class:
> de.volkswagen.prolog.web.components.UIDynamicPanel,Id:
> j_id_jsp_2134803194_87pc10]} (component-family=DynamicPanelFamily,
> renderer-type=DynamicPanel)
> .....
>
>
>
> Regards,
> Hani
>
>