dev@javaserverfaces.java.net

Seeking Review: 50 - Supporting Multiple RenderKits

From: Roger Kitain <Roger.Kitain_at_Sun.COM>
Date: Wed, 27 Apr 2005 23:10:04 -0400

Change bundle posted at:

https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=50

One interesting wrinkle...
If you've got an application:

page1.jsp
     <f:view >

page2.jsp
    <f:view renderKitId="CUSTOM">

page1.jsp will default to HTML_BASIC
page2.jsp switches to CUSTOM
The renderKitId is now CUSTOM.
If there is a button on page2.jsp that transfers
control back to page1.jsp, the renederKitId is still CUSTOM.

If an application is going to switch renderkits this way,
they should probably specify the renderKitId attribute in all pages.

-roger