myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Concini <>
Subject help with renderer implementation
Date Wed, 01 Jul 2009 18:37:39 GMT
I'm currently working on implementing the renderers for UIOutcomeTarget 
for the JSF 2.0 spec and need some help in figuring out how the builder 
is performing the code generation for other components so I can then 
create my own. 

So far, I've written the following classes for 
org.apache.myfaces.shared_impl.renderkit.html to handle the 
HtmlOutcomeTargetRendererBase - parent class to handle common actions 
for both buttons and links (e.g. calling into getBookmarkableURL, etc)
HtmlOutcomeTargetLinkRendererBase - bookmarable link renderer
HtmlOutcomeTargetButtonRendererBase - bookmarkable button renderer

What I need some assistance with is the builder plugin work.  I see 
several potential places where I'd need to implement code, but its hard 
to tell what is really necessary, what might be generated in addition to 
the javax.faces.component.html classes, and what may be remnants of 
older versions of myfaces.

There are builder xml files:

annotated impl files:

and there are also tag related classes:

Is there someone who has worked on this before who could help me out 
with how to do this?  Is there a step by step documented somewhere?  I 
did some searches on the myfaces wiki and was unable to find anything 
that was much help. Any help would be much appreciated.


View raw message