Modified the code to support MyFaces 1.2 + Mojarra 1.2 implementation

4 views
Skip to first unread message

Jihoon Kim

unread,
Sep 24, 2008, 2:08:52 AM9/24/08
to JSF-Flex
Modified the code to create MXMLRenderKitFactoryImplWrapper.java file
during build time for different implementation [i.e. MyFaces or
Mojarra]. Thinking whether to use composition design pattern for this
as done with an another class
and loading the implementation file during runtime, will consider this
change over the weekend.

Thanks!

Jihoon Kim

unread,
Sep 24, 2008, 11:39:02 PM9/24/08
to JSF-Flex
Quick update :

Made the change in MXMLResponseWriterImpl and
MXMLResponseStatemanagerImpl by using composition design pattern. One
thing to note is that MXMLRenderKitFactoryImplWrapper Java file is
still created during build time due to its need to extend
RenderKitFactoryImpl of Mojarra implementation. Meaning
Mojarra adds the HTML_BASIC renderkit within its constructor, but
MXMLRenderKitFactoryImplWrapper must intercept that addition to allow
MXML_BASIC
to render HTML_BASIC renderers. Will clean up the code over the
weekend.

Thanks!
Reply all
Reply to author
Forward
0 new messages