![JAR search and dependency download from the Maven repository](/logo.png)
com.jsftoolkit.doc.CustomRendererCode.wiki.txt Maven / Gradle / Ivy
The best resource for extending ^HtmlRenderer^ is the [javadoc/com/jsftoolkit/base/renderer/HtmlRenderer.html javadoc]. Only configuration related information is discussed here.
== Registering a Non-Generated Renderer ==
You register a different renderer the same way you register a different component class (see [[ComponentInfo]], particularly the ^REGISTER_RENDERER^ property).
You can register any class that extends ^javax.faces.Renderer^, however all generated renderers extend ^[[HtmlRenderer]]^.
=== Filling in Custom Created ^ComponentInfo^ ===
Supposing you want to have all of your renderers extend a subclass of ^[[HtmlRenderer]]^. You can still benefit from the templates in your custom generation process. See [javadoc/com/jsftoolkit/gen/TemplateComponentGenerator.html#fillIn(com.jsftoolkit.gen.info.ComponentInfo,%20java.lang.String) ^fillIn^] on [[javadoc/com/jsftoolkit/gen/TemplateComponentGenerator.html ^TemplateComponentGenerator^].
© 2015 - 2025 Weber Informatics LLC | Privacy Policy