com.jsftoolkit.doc.CustomRendererCode.wiki.txt,v Maven / Gradle / Ivy
Go to download
The core classes for the JSF Toolkit Component Framework. Includes all
framework base and utility classes as well as component
kick-start/code-generation and registration tools.
Also includes some classes for testing that are reused in other projects.
They cannot be factored out into a separate project because they are
referenced by the tests and they reference this code (circular
dependence).
The newest version!
head 1.4;
access;
symbols;
locks
noah:1.4; strict;
comment @# @;
1.4
date 2007.04.23.02.38.15; author noah; state Exp;
branches;
next 1.3;
1.3
date 2007.04.23.01.34.41; author noah; state Exp;
branches;
next 1.2;
1.2
date 2007.04.10.18.27.56; author noah; state Exp;
branches;
next 1.1;
1.1
date 2007.04.10.18.27.25; author noah; state Exp;
branches;
next ;
desc
@Automatically Versioned Wiki File
@
1.4
log
@Automatic Check-In of Wiki File
@
text
@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^].@
1.3
log
@Automatic Check-In of Wiki File
@
text
@d1 1
a1 1
The best resource for extending ^HtmlRenderer^ is the [javadoc/com/jsftoolkit/base/render/HtmlRenderer.html javadoc]. Only configuration related information is discussed here.
@
1.2
log
@Automatic Check-In of Wiki File
@
text
@d1 11
a11 1
== Registering a Different Renderer ==
@
1.1
log
@Automatic Check-In of Wiki File
@
text
@d1 1
a1 1
== Registering a different Renderer ==
@