>From: "Dennis Byrne" <[EMAIL PROTECTED]> 

> >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. 
> 

Oh, now it all makes sense.  The AbstractJsfTestCase doesn't use a mock
UIViewRoot.  I don't see why we wouldn't want to set the renderkit there.

root.setRenderKitId(RenderKitFactory.HTML_BASIC_RENDER_KIT);


> >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 ... 
> 

Yes, I see said the blind man as he picked up the hammer and saw. 


Gary

> "It's necessary to explicitly set the kit id because it's lost when using the 
> Sun RI. " 
> 
> Dennis Byrne 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 

Reply via email to