struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Byrne" <den...@dbyrne.net>
Subject Re: [shale-test] explicitly setting render kit id
Date Thu, 23 Mar 2006 17:12:00 GMT
>I'm not sure why this behaves differently between myfaces and the RI but 

It behaves differently because MyFaces and the RI implement getRenderKitId differently.  In
JSF 1.0, UIViewRoot.getRenderKitId was supposed to return "HTML_BASIC" if it had never been
set - in other words, it would never return null.  Both MyFaces and the RI did this.  But
when JSF 1.1 came out, this part of the spec changed.  The RI changed w/ it but MyFaces hasn't
yet.

>I've been able to set the renderKitId and it seems to work on both runtimes, >as you
described above.

Perhaps this explains your comments ...

"It's necessary to explicitly set the kit id because it's lost when using the Sun RI. "

Dennis Byrne











---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message