Main Menu

JSF Tip #32 - Override a JSF Renderer

Say you have a problem with how a particular component renders and you want to do it a bit different. Well in JSF that is not a problem there is a hook-in that you can use to override how a renderer does it rendering. The sample below shows you how to do it.

You will have to do 2 things.

1. Register your own renderer for a given renderer type
2. Implement your own renderer.