DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38294>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38294





------- Additional Comments From [EMAIL PROTECTED]  2006-02-25 09:08 -------
OK Sean, I figured it out.

The problem here is that shale does not explicitly set the renderKitId on the 
view.  It consequently returns null, and there is no way for 
MockFacesContext.getRenderKit() to return a renderKit.  

If you use MyFaces impl (as I am sure you have been doing), 
UIViewRoot.getRenderKitId() will *never* return null; it will instead return 
the default renderkit id.  This is what the RI 1.0 javadocs say to do.

http://java.sun.com/javaee/javaserverfaces/1.0/docs/api/javax/faces/component/UI
ViewRoot.html#getRenderKitId()

However, if you are using the RI, which is what I have been using, 
getRenderKitId() will return null if renderKitId has not been explicitly set. 
This is what the javadocs for the 1.1 impl say to do. 

http://java.sun.com/javaee/javaserverfaces/1.1/docs/api/javax/faces/component/UI
ViewRoot.html#getRenderKitId()

So this is not only a bug in Shale, it is a bug in MyFaces impl.  Who's the 
man ;)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to