Hi,
there is also an example-theme in the project
(https://svn.apache.org/repos/asf/myfaces/tobago/branches/tobago-1.0.x/example/tobago-theme-example/)
which overrides the InRenderer.
Regards
Udo
Am 23.06.10 09:45, schrieb Volker Weber:
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)
<extern.hani.abushamma...@volkswagen.de>:
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