Another question.

How can i configure another renderer for the tobago component like the sheet 
component. 

Any ideas or solutions?

Regards,
Hani

-----Ursprüngliche Nachricht-----
Von: Abushammala, Hani (EXTERN: FTP) 
[mailto:extern.hani.abushamma...@volkswagen.de] 
Gesendet: Montag, 21. Juni 2010 09:52
An: MyFaces Discussion
Betreff: [Tobago] calling of renderer class

Hi,

I`ve developed a component to create a dynamic panel with a renderer
class, but the renderer could not be called. The rendering works if the
compoent class renders the output stream. 
I don`t know how i can configure the renderer for the new component in
tobago.


faces-config.xml:

      <component>
        <description>The dynamic panel component.</description>
        <display-name>DynamicPanel</display-name>
        <!-- The name for registering the component. -->
        <component-type>extn.DynamicPanel</component-type>
        <!-- The implementation class. -->
        <component-class>web.components.UIDynamicPanel</component-class>
        <component-extension>
            <renderer-type>extn.DynamicPanelRenderer</renderer-type>
        </component-extension>
    </component>
  
    <render-kit>
        <renderer>
            <description>Renderer for DynamicPanel.</description>
            <component-family>extn.DynamicPanelFamily</component-family>
            <renderer-type>extn.DynamicPanelRenderer</renderer-type>
 
<renderer-class>web.components.DynamicPanelRenderer</renderer-class>
        </renderer>
    </render-kit>


Regards,
Hani



Reply via email to