Hi Hani,
the easiest way to overwrite a Renderer is to put your own int the
tobago-resource-path into your application.
e.g. if you use the speyside theme put your renderer, which must be
named SheetRenderer, into the package
<tobago-resource-path>/html/standard/speyside/tag/
Regards,
Volker
2010/6/21 Abushammala, Hani (EXTERN: FTP)
<[email protected]>:
> 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:[email protected]]
> 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
>
>
>
>
--
inexso - information exchange solutions GmbH
Bismarckstraße 13 | 26122 Oldenburg
Tel.: +49 441 4082 356 |
FAX: +49 441 4082 355 | www.inexso.de