The most important bit of advice is to ignore
everything in o.a.m.t.ui.*, which is all an obsolete-style
of code that is going away bit-by-bit.  For rendering, you'll
want to check out o.a.m.t.renderkit.core.xhtml.

The important base classes are:
 org.apache.myfaces.trinidad.render.CoreRenderer
 org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer

and PanelLabelAndMessageRenderer is also in "core.xhtml".
The superclasses

Another important detail is that if you're mucking with
renderers, you shouldn't just build in your IDE, test
in a webpage, and declare victory.  You need to run
the Maven build, which will run a renderkit test that
will point out what output has changed, if any.
This is important for making sure that your change
has had exactly the intended effects, and no
unintended effects:

http://wiki.apache.org/myfaces/Trinidad_RenderKit_test_framework

There's a lot more specifics (and, honestly, a lot of cleanup
I'm hoping to get to do someday);  any specific questions?
If you're just modifying a renderer (instead of writing a new
one), it should be fairly straightforward.

-- Adam


On 4/19/07, Chris Hane <[EMAIL PROTECTED]> wrote:

I want to make some minor changes to the CSS that is outputted.  Where
should I start my learning for the Rendering classes that are used by
Trinidad.  If someone could give a 30 second overview on how Renderers are
constructed in Trinidad that would be great.

My first project is:
https://issues.apache.org/jira/browse/ADFFACES-451

While someone else will probably do this quicker/better than I, the best
way to learn is to do and this is an itch I need to scratch.

Thanks,
Chris....

Reply via email to